My installer works now. Thanks.
Just 2 notes:
Thank you again for your support.
Just 2 notes:
- In the new version when I set the project.LicenseFile the project does not compile
- I cannot define 2 virtual directories in the same way, in my project
ManagedProject project =
new ManagedProject("MyProject",
new Dir("MyFirstFolder",
new WixSharp.File(Path.Combine(FilesPath, @"WebApi1\Global.asax"),
new IISVirtualDir
{
Name = "MyWebApp1",
AppName = "MyWebApp1",
WebSite = new WebSite("DefaultWebSite", "*:80", "Default Web Site")
}),
new Dir("MySecondFolder",
new WixSharp.File(Path.Combine(FilesPath, @"WebApi2\Global.asax"),
new IISVirtualDir
{
Name = "MyWebApp2",
AppName = "MyWebApp2",
WebSite = new WebSite("DefaultWebSite", "*:80", "Default Web Site")
}
These are not show stoppers, just I wanted to let you know.Thank you again for your support.