I'm creating an app pool using Wix IIsExtension on Windows 7. I'm trying to change the app pool to 32 bit using
<Product ...> .... <CustomAction Id="CA.ConfigureAppPool" Return="check" Directory="WEBINSTALLLOCATION" ExeCommand="[SystemFolder]inetsrv\appcmd set apppool /apppool.name:"ProductAppPool" /enable32BitAppOnWin64:true" /> <InstallExecuteSequence> ... <Custom Action="CA.ConfigureAppPool" After="InstallFinalize"><![CDATA[NOT Installed AND VersionNT64 >= 600]]></Custom> </InstallExecuteSequence> </Product> but it fails and I get the following... MSI (s) (64:60) [12:23:17:092]: Doing action: CA.ConfigureAppPool Action 12:23:17: CA.ConfigureAppPool. Action start 12:23:17: CA.ConfigureAppPool. CustomAction CA.ConfigureAppPool returned actual error code 1168 (note this may not be 100% accurate if translation happened inside sandbox) MSI (s) (64:60) [12:23:17:373]: Note: 1: 1722 2: CA.ConfigureAppPool 3: C:\Program Files (x86)\Company\Product\WebSite\ 4: C:\Windows\SysWOW64\inetsrv\appcmd set apppool /apppool.name:"ProductAppPool" /enable32BitAppOnWin64:true Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action CA.ConfigureAppPool, location: C:\Program Files (x86)\Company \Product\WebSite\, command: C:\Windows\SysWOW64\inetsrv\appcmd set apppool /apppool.name:"ProductAppPool" /enable32BitAppOnWin64:true MSI (s) (64:60) [12:23:19:920]: Product: Company Product v1.0.2.0 -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action CA.ConfigureAppPool, location: C:\Program Files (x86)\Company\Product\WebSite\, command: C:\Windows\SysWOW64\inetsrv\appcmd set apppool /apppool.name:"ProductAppPool" /enable32BitAppOnWin64:true Action ended 12:23:19: CA.ConfigureAppPool. Return value 3. If I run the full command as logged it works fine. (C:\Windows\SysWOW64\inetsrv\appcmd set apppool /apppool.name:"ProductAppPool" /enable32BitAppOnWin64:true) Anyone have any ideas? Thanks. --Anthony ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users