That should be the default behavior - i.e. your IIS website/service should be uninstalled when the main setup is uninstalled.
If possible, could you please create a sample project that reproduces this and forward it to me (either here or by email at support at advancedinstaller dot com)?
If you can not do that, please forward me the following resources:
- a copy of your .AIP file
- a download link for the setup built with the said AIP file
- some details about the scenario that could be useful
My scenario is as follows , so could you please explain how the service in iis will be uninstalled?
I use Advanced Installer to create my .exe. The application allows a user to define via winforms a name for a service by entering a value in a text box. They then click on a button to install. It goes ahead and creates the service in IIS and the same name for the Application Pool.
So if I go ahead and uninstall my app by clicking on Remove in the Maintenance screen, how will it know to remove the service in IIS ?
I thought it was created using our support for IIS.
In that case, you should generate a custom behavior for your EXE to remove the service when it is removed.
If that is not possible, then you can create your own custom action (e.g. a script) that will remove the service and schedule it to only execute on uninstall.
FOLLOW US
Get the latest news in Application Packaging