that is exactly what i assumed about the process creation and exactly what i
was going to try.  at least i know i wasn't so far off.

is there any way in the future that maybe the ability could be added to the
CAQuiateExec function which will read another property that could be set to
specify working directories?  It could be a constant property name for all
CAQuietExec functions, like CAQuietDir or something?


On 8/24/07, Schrieken, Rene <[EMAIL PROTECTED]> wrote:
>
>  The CreateProcessW is called with NULL as its currentdirectory parameter.
>
> From the win32 sdk:
> "If this parameter is NULL, the new process will have the same current
> drive and directory as the calling process"
>
> As msiexec is in system32...
>
> I'm not sure if this might work:
> make your commandline for qtexec like this:
> [System32????]\cmd.exe /c start /D[INSTALLDIR] [INSTALLDIR]Yourapp.exe
>
> That should start a new cmd processor, and execute the start command which
> has the option /D to specifiy the current dir.
>
> Rene
>
>
> ------------------------------
> *From:* [EMAIL PROTECTED] on behalf of koawmfot
> *Sent:* Thu 8/23/2007 21:55
> *To:* wix-users@lists.sourceforge.net
> *Subject:* [WiX-users] WixShellExec & CAQuietExec & their options
>
>
>  I need to lauch an executable at the end of my installation.  currently i
> use the CAQuietExec function and launch the executable with its parameters
> and it is fine.  the problem is that the command i execute creates a result
> text file.  the file is supposed to be created in the application's
> INSTALLDIR (and is created there when the app is launched through its
> shortcut).  instead, the text file is created in the system32 directory.
>
> so my question is, is there any way to specify a working directory for
> CAQuietExec function?  what options do i have for the WixShelExec since i
> need this to be a silent install and cannot use an immediate CA since there
> will be no UI?
>
>
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you.
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to