Re: [WiX-users] Passing command line arguments to an app launched after setup
Bob, what was the 'normal' custom action that you used at the end of the install to launch your app with arguments? I was also using LaunchApplication to trigger the launch of my application at the end of the UI by check box selection, but I also needed to supply arguments and therefore it did not work. I was just searching for 'launch app at end of install' and that was the main one I found and therefore did not see any entries for this 'normal' custom action. So if you can give me a little example of this 'normal' CA that would be great.. Thanks. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Passing-command-line-arguments-to-an-app-launched-after-setup-tp1366362p7594862.html Sent from the wix-users mailing list archive at Nabble.com. -- "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Passing command line arguments to an app launched after setup
Thanks! Got it working. Bob Arnson-6 wrote: > > chaiguy1337 wrote: >> 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. >> > > Because a more typical use case is to launch a document (like a > readme.html or .pdf). WixShellExec was designed just for that purpose. > Most users won't expect another install to launch after "finishing" one. > > -- > 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-tp1366362p1366796.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
Re: [WiX-users] Passing command line arguments to an app launched after setup
I wasn't talking about launching another install, I was talking about launching the application that was just installed. I guess that makes sense as to why ShellExec was chosen for the example. I will fiddle around with normal custom actions and see if I can get it working. Bob Arnson-6 wrote: > > chaiguy1337 wrote: >> 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. >> > > Because a more typical use case is to launch a document (like a > readme.html or .pdf). WixShellExec was designed just for that purpose. > Most users won't expect another install to launch after "finishing" one. > > -- > 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-tp1366362p1366725.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
Re: [WiX-users] Passing command line arguments to an app launched after setup
chaiguy1337 wrote: > 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. > Because a more typical use case is to launch a document (like a readme.html or .pdf). WixShellExec was designed just for that purpose. Most users won't expect another install to launch after "finishing" one. -- 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
Re: [WiX-users] Passing command line arguments to an app launched after setup
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: >> >> > Value="[#OrangeNote.exe]" /> >> > 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
Re: [WiX-users] Passing command line arguments to an app launched after setup
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: > >Value="[#OrangeNote.exe]" /> >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
[WiX-users] Passing command line arguments to an app launched after setup
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: 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. Logan - 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-tp1366362p1366362.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