Quantcast
Channel: wixsharp Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1354

New Post: Updating files that are already included for the install

$
0
0
Currently I'm doing something like this:
        wixProject.SourceBaseDir = @"C:\projects\MyProject";
        string targetPath = @"%ProgramFiles%\MyCompany\MyProduct";

        Files files = new Files(wixProject.SourceBaseDir + @"\*.*");

        Dir rootDir = new Dir(targetPath, files);
        wixProject.Dirs = new[] { rootDir };
...this allows me to include all the files in the MSI easily.
Now, how do I add/update the "files collection" to create a shortcut for a file that is already included? Any easy way? Thanks.

Viewing all articles
Browse latest Browse all 1354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>