In quite mode, the InstallUISequence is never executed, so the checkbox doesn't even really "exist" (only the property related to the checkbox)
The documentation shows how to tie in execution to when the user clicks the "Finish" button - this button never exists and is never pushed in a silent installation so the application will never launch. Launching an application automatically during a quiet installation sounds like a *really bad idea* - what if someone pushes out the installation via Group Policy? How does your application handle being executed under a system administrator account with no desktop to interact with? Your best bet is to schedule the application to launch at next login using the RunOnce registry key, and then forcing a reboot post-install. That way you can be certain the application will launch in a user context, rather than in an elevated context - even though the reboot may be an inconvenience at least you'll end up with a more reliable setup thats isn't dependent on "how" the user chooses to install (command line, elevated, non-elevated, group policy, quiet, interactive, etc). Sascha On Wed, Nov 18, 2009 at 12:50 PM, little.forest <little.for...@ymail.com> wrote: > In our code, we have this: > > <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOX" Value="1" /> > > > So the checkbox is checked by default. I thought that means "launch the > application by default". But the application was not launched in > quite(silent) mode: > msiexec /i myapp.msi /qr > > I then tried to set property in command line, it didn't work either: > msiexec /i myapp.msi WIXUI_EXITDIALOGOPTIONALCHECKBOX="1" /qr > > Do you know how to automatically launch the application in quiet(silent) mode? > > Thanks. > > > > ________________________________ > From: little.forest <little.for...@ymail.com> > To: wix-users@lists.sourceforge.net > Sent: Tuesday, November 17, 2009 2:20:58 PM > Subject: [WiX-users] How to force to launch application in silent install > mode? > > I'd like to know how to force to launch the application in silent install > mode. I thought this would work: > > msiexec /i myapp.msi WIXUI_EXITDIALOGOPTIONALCHECKBOX="1" /qr > > But after installation, the application wasn't launched. By the way, we use > the 'standard' way from Wix.chm("How To: Run the Installed Application After > Setup") for the 'launch application'. How can I make the application run > anyways after a silent installation? > > By the way, from the log, the CustomAction "LaunchApplication" never run. I > don't know why it didn't run. > > Thanks. > /Brian > > > __________________________________________________________________ > Make your browsing faster, safer, and easier with the new Internet Explorer® > 8. Optimized for Yahoo! Get it Now for Free! at > http://downloads.yahoo.com/ca/internetexplorer/ > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > __________________________________________________________________ > Looking for the perfect gift? Give the gift of Flickr! > > http://www.flickr.com/gift/ > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users