Currently I'm doing something like this:
Now, how do I add/update the "files collection" to create a shortcut for a file that is already included? Any easy way? Thanks.
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.