Hi All,
I am trying to find examples of how to use WIxSharp (managed code interface to Wix) to install a website and associate AppPool.
The steps I want to achieve are:
1. If the website exists in IIS 6, delete it.
2. If the AppPool exists in IIS 6, delete it.
3. Delete the application artifacts from the destination directory.
4. Copy the new application artifacts to the destination directory.
5. Create the AppPool.
6. Create the Website, linking it to the AppPool.
I have achieved this in MSBuild but that is not as useful as an MSI. Hence I am trying to "rewrite" the above in WixSharp syntax.
WixSharp apparently supports WIXIISExtension but Google has not yeilded any examples yet.
How would I code the above in WixSharp?
Thank you all in advance. Much appreciated.
Andrew