We use this... It seems to work well for us... <!-- Custom Action used to setup the Application Pool for IIS on 64bit or 32bit machines --> <CustomAction Id="CfgAppPools64" Return="check" Directory="TARGETDIR" ExeCommand="[SystemFolder]inetsrv\appcmd set apppool /apppool.name:"XPJ" /managedPipelineMode:Integrated /enable32BitAppOnWin64:true /managedRuntimeVersion:v4.0" /> <CustomAction Id="CfgAppPools32" Return="check" Directory="TARGETDIR" ExeCommand="[SystemFolder]inetsrv\appcmd set apppool /apppool.name:"XPJ" /managedPipelineMode:Integrated /managedRuntimeVersion:v4.0" />
... <!-- Install/Uninstall Actions --> <InstallExecuteSequence> <Custom Action="CfgAppPools64" After ="InstallFinalize"><![CDATA[NOT Installed AND Msix64]]></Custom> <Custom Action="CfgAppPools32" After ="InstallFinalize"><![CDATA[NOT Installed AND NOT Msix64]]></Custom> </InstallExecuteSequence> -----Original Message----- From: Navid Azimi-Garakani [mailto:naz...@microsoft.com] Sent: Wednesday, July 27, 2011 6:18 PM To: Adam; General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] iis:WebAppPool "Enable 32 bit applications" I don't see anything mentioned in IIS extension schema that would support this (see http://wix.sourceforge.net/manual-wix3/iis_xsd_webapppool.htm). If the documentation is out of date, then maybe someone can chime in. I believe you might need to run appcmd.exe out-of-band or directly modify applicationHost.config as a custom action. Hope this helps, Navid -----Original Message----- From: Adam [mailto:cech...@yahoo.com] Sent: Wednesday, July 27, 2011 3:11 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] iis:WebAppPool "Enable 32 bit applications" Greetings all, is it possible to set the "Enable 32-Bit Applications" flag for an apppool im creating withing the msi ( under iis 7 ) via Wix? ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users