Is there a particular reason the example in the help file didn't use "normal"
exe custom actions? I don't want to do something that might cause problems
later.


Bob Arnson-6 wrote:
> 
> 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
> 
> 


-----
A. Logan Murray
http://pihole.org/
-- 
View this message in context: 
http://n2.nabble.com/Passing-command-line-arguments-to-an-app-launched-after-setup-tp1366362p1366652.html
Sent from the wix-users mailing list archive at Nabble.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