Hi,
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 ?
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 ?