Doug Payne wrote:

A have a checkbox on my Setup Finished dialog which uses the ShellExec CA to launch my application. Is there a way to specify the default directory for my application in the CA? I think this would be the same as specifying the lpDirectory in ShellExecute().


That's not currently supported. Right now it's lotsa NULLs:

HINSTANCE hinst = ::ShellExecuteW(NULL, NULL, wzTarget, NULL, NULL, SW_SHOWDEFAULT);

Feel free to file a feature request.

Alternatively, if I have the working directory set in a shortcut, could I use the ShellExec CA to launch the shortcut instead? Would the directory then be set correctly? BTW, I tried launching the shortcut by setting the value of ShellExecTarget to [#ShortcutID], but that didn't work.


It would probably work but MSI doesn't expose shortcuts as files so the [#fileId] approach won't work.

--
sig://boB
http://bobs.org

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to