Santhosh
Posts: 1
Joined: Fri Feb 23, 2018 10:02 am

IIS 7 launch Condition fail on Windows Server 2016

My Installers checks for IIS 7 version. This is working fine in Windows Server less than 2016, but fails in Windows Server 2016. If i Check for IIS Version 6, the launch condition is successful. This installer was build using 9.6.1 and is already released. Installer upgrade is not possible for now. Below is the error msg
AppSearch: Property: AI_IISSEARCH, Signature: AI_IISSearchSgn
AppSearch: Property: AI_IISSEARCH_EX, Signature: AI_IISSearchSgnEx
AppSearch: Property: AI_IISSEARCH_SERVICE, Signature: AI_IISSearchSgnService
MSI (c) (E4:C8) [15:48:33:755]: PROPERTY CHANGE: Adding AI_IISSEARCH_SERVICE property. Its value is '@%windir%\system32\inetsrv\iisres.dll,-30003'.
Action ended 15:48:33: AppSearch. Return value 1.
MSI (c) (E4:C8) [15:48:33:755]: Doing action: AI_RESTORE_AI_SETUPEXEPATH
Action 15:48:33: AI_RESTORE_AI_SETUPEXEPATH.
Action start 15:48:33: AI_RESTORE_AI_SETUPEXEPATH.
Action ended 15:48:33: AI_RESTORE_AI_SETUPEXEPATH. Return value 1.
MSI (c) (E4:C8) [15:48:33:755]: Doing action: FindRelatedProducts
Action 15:48:33: FindRelatedProducts. Searching for related applications
Action start 15:48:33: FindRelatedProducts.
Action ended 15:48:33: FindRelatedProducts. Return value 1.
MSI (c) (E4:C8) [15:48:33:755]: Skipping action: AI_DOWNGRADE (condition is false)
MSI (c) (E4:C8) [15:48:33:755]: Doing action: LaunchConditions
Action 15:48:33: LaunchConditions. Evaluating launch conditions
Action start 15:48:33: LaunchConditions.
TEst cannot be installed on systems with Internet Information Services version lower than 7.0
MSI (c) (E4:C8) [15:48:35:411]: Product: TEst -- TEst cannot be installed on systems with Internet Information Services version lower than 7.0

Action ended 15:48:35: LaunchConditions. Return value 3.
MSI (c) (E4:C8) [15:48:35:411]: Doing action: FatalError
Action 15:48:35: FatalError.
Action start 15:48:35: FatalError.

As i See there is no check for w3p.exe when condition is iis 7
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: IIS 7 launch Condition fail on Windows Server 2016

Hi and welcome to Advanced Installer forums.

Indeed, the IIS 7 launch condition does not work correctly in version 9.6.1 of Advanced Installer. A launch conditions refactoring was done in version 12.4 of Advanced Installer where the IIS conditions also work.

However, in order to get this to work in the 9.6.1 version, you can create a file version search that checks for the "w3p.exe" file and add it as a custom launch condition.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”