Instead of MsiNTProductType (the MSI property), the Burn variable NTProductType should be used. Otherwise, the InstallCondition will evaluate to False.
-- John Merryweather Cooper Build & Install Engineer - ESA Jack Henry & Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -----Original Message----- From: Loïc Delambre [mailto:delam...@doxense.com] Sent: Monday, January 20, 2014 7:17 AM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Enabling platform features during install Hi, I used a command line tool embedded in my burn package like a prerequisite, this tool calls pkgmgr.exe in order to enable Windows features. <ExePackage Id="IISRoleOcsSetupServer" DisplayName="Web Server (IIS) and Print roles" Cache="no" Compressed="no" PerMachine="yes"NT Permanent="yes" Vital="yes" Name="redist\WRFI45.exe" SourceFile="\\server\GIT\Redist\WRFI45.exe" InstallCommand="IIS-WebServerRole;WAS-WindowsActivationService;WAS-ProcessModel;WAS-ConfigurationAPI;IIS-ISAPIExtensions;IIS-ASP;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-WebServerManagementTools;IIS-Metabase;IIS-IIS6ManagementCompatibility;IIS-HttpRedirect;IIS-ManagementConsole;Printing-Server-Role" InstallCondition="(VersionNT >= v6.0 AND MsiNTProductType > 1)" DetectCondition="iis7www AND iis7asp AND iis7static AND iis7winauth AND iis7console AND iis7metabase"> <ExitCode Value ="3010" Behavior="forceReboot" /> </ExePackage> Regards, Loïc Delambre -----Message d'origine----- De : Stephen I. Woolhead [mailto:s...@gtl.biz] Envoyé : vendredi 17 janvier 2014 19:11 À : General discussion about the WiX toolset. Objet : [WiX-users] Enabling platform features during install Hi, following up on an issue that came up in another thread, we have the need to enable platform features such as MSMQ during our install. At the moment we do this during install with dism.exe in a custom action. This so far has worked well for us but it was hinted this was not ideal. Does anyone have any guidance about enabling platform features during install that they could share? Cheers, Stephen. ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users