Application and Application Pool doesn't delete on uninstallation

Aug 4, 2015 at 10:12 AM
my installer create web application under some parent web site, create apppool for this application.
"First version" of my installer was made not from template and on uninstallation it removed files, web application and apppool from the box.

Now I switched to Managed Setup - Custom Dialog project and on uninstallation it deletes only files. :(

How to make it delete web application and app pool?
Coordinator
Aug 4, 2015 at 1:01 PM
Managed Setup (ManagedProject) has nothing to do with the deployment logic. Managed Setup only controls the integration of the MSI and GUI. Whereas the deployment algorithm is fully controlled by MSI.

If you have two MSIs behaving differently you need to compare them and see what causes the difference. The easiest way to do this is to compare the WXS files that were used to produce MSIs. You will need to set PreserverTemporaryFiles to true in order to collect WXS files.