[wix-users] How to debug schedtask.exe command line ?

Rob Mensching rob at firegiant.com
Fri Apr 15 07:48:28 PDT 2016


This is perfect example of what I said in previous email. A better solution would be to develop a declarative custom action. Maybe even contribute it to the WiX Toolset.

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Gary M
Sent: Friday, April 15, 2016 3:34 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] How to debug schedtask.exe command line ?

I found answer

1) Do not use CAQuiteExec
2) ExeCommand using cmd.exe with the /k option to launch the command
3) at the end of the command to execute, place an & pause

This will execute the command and wait in the command prompt window.  You
an type an exit command with a return value to fail the install.


More information about the wix-users mailing list