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

New Post: How to specify the specific installation directory

$
0
0
Hi,
string Path=@"%ProgramFiles%\MyCompany\MyProduct;
//string Path=@"D:\MyCompany\MyProduct;

 var project = new Project("MyProduct",
                              new Dir(Path,
                                  new Files(@"D:\DeployFolder\*.*")));
 Compiler.BuildMsi(project);
Note: "DeployFolder" contain many folder and subfolder.

This Code Works fine but when i change the "Path" to "D:\MyCompany\MyProduct" then it deploy only the first folder file and create a folder name called "D:\ABSOLUTEPATH" and deploy remaining files in this folder.

How can i solve this issue ?

Viewing all articles
Browse latest Browse all 1354

Trending Articles



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