robpearmain
Posts: 7
Joined: Thu Jul 02, 2009 4:27 pm

Enterprise Edition IIS Questions

Hi,

Please could you tell me how to

1. Force an IISRESET after installing the web application in the installer
2. Check for a minimum version of IIS ONLY if the user has chosen to install a feature of the MSI that uses IIS

Many thanks

Rob Pearmain
auxUI Ltd
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Enterprise Edition IIS Questions

Hi Rob,
Force an IISRESET after installing the web application in the installer
I'm afraid that Advanced Installer doesn't support this. For some operations the restart is performed automatically. If this it not the case for you, you can try using iisreset.exe as a custom action (for example you can use an "EXE with working Dir" custom action). To find this tool on the target machine you can use a search.
Check for a minimum version of IIS ONLY if the user has chosen to install a feature of the MSI that uses IIS
I'm afraid that this is not supported by Windows Installer or by Advanced Installer. However, you can try using a custom action to detect IIS, show a message to the user and stop the installation. The custom action can run on the "Next" button of the dialog with the feature selection. Perhaps this how-to will help you.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”