chaiguy1337 wrote:
> Hi all. I'm looking for a way to pass command line arguments to my app
> launched when the installation is complete, so that my app knows it was
> launched by the installer.
>
> I basically copied the example from the help file:
>
> <Property Id="WixShellExecTarget"
>       Value="[#OrangeNote.exe]" />
> <CustomAction Id="LaunchApplication"
>       BinaryKey="WixCA"
>       DllEntry="WixShellExec"
>       Impersonate="yes" />
>
> Where might I add my "-installer" switch? I tried changing the Value of the
> property to "[#OrangeNote.exe] -installer" but that didn't work at all, and
> the app never launched.
>   

WixShellExecTarget must be only the path of the executable/document. 
There's no support to add arguments. For that, use a "normal" exe custom 
action instead of WixShellExec.

-- 
sig://boB
http://joyofsetup.com/



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to