Hello all, I am executing appcmd command to change the Application pool to Integrated mode using CAQuietExec, it fails with error "Command failed to execute". The command is working fine when I use ExeCommand instead of CAQuiteExec. But ExeCommand displays a command prompt while executing the command. I have followed this article http://wix.sourceforge.net/manual-wix3/qtexec.htmto execute the command.
Here is my code... <CustomAction Id="ConfigureIntegratedAppPoolsCmd_SetProperty" Property="ConfigureIntegratedAppPoolsCmd" Value=""[SystemFolder]inetsrv\appcmd set apppool /apppool.name:"[APP_POOL_NAME].POOL" /managedPipelineMode:Integrated"" Execute="immediate"/> <CustomAction Id="ConfigureIntegratedAppPoolsCmd" BinaryKey="WixCA" DllEntry="CAQuietExec" Execute ="deferred" Return="check" Impersonate="no"/> I have scheduled ConfigureIntegratedAppPoolsCmd_SetProperty custom action after CostInitialize and ConfigureIntegratedAppPoolsCmd before InstallFinalize. Here is the installer log generated. MSI (s) (94:DC) [09:58:38:078]: Executing op: ActionStart(Name=ConfigureIntegratedAppPoolsCmd,,) Action 09:58:38: ConfigureIntegratedAppPoolsCmd. MSI (s) (94:DC) [09:58:38:078]: Executing op: CustomActionSchedule(Action=ConfigureIntegratedAppPoolsCmd,ActionType=1025,Source=BinaryData,Target=CAQuietExec,CustomActionData="C:\Windows\system32\inetsrv\appcmd set apppool /apppool.name:"App Pool.POOL" /managedPipelineMode:Integrated") MSI (s) (94:B0) [09:58:38:125]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI759E.tmp, Entrypoint: CAQuietExec CAQuietExec: Error 0x8007007b: Command failed to execute. CAQuietExec: Error 0x8007007b: CAQuietExec Failed Action ended 09:58:38: InstallFinalize. Return value 3. Thanks in Advance. Sainath ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users