After my setup finishes, I launch the installed application automatically 
without asking to the user in the interactive mode.Now I have the silent 
installer and I want to launch the application only if user sets a specific 
parameter to YES. For example,
 msiexec.exe /i setup.msi LAUNCH_APP=YES /qn
I launch the application using: 
<CustomAction Id="RunMainApp" Directory="SUBDIR" ExeCommand="[SUBDIR]myapp.exe" 
Execute="deferred" Return="asyncNoWait"/><InstallExecuteSequence>               
        <Custom Action="RunMainApp" Before="InstallFinalize" 
/></InstallExecuteSequence>
Could anyone tell me where and how I should put the logic of launching the app 
if the LAUNCH_APP == YES considering the fact that it should not affect the 
workflow of the setup in the interactive mode?
Thanks.                                           
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to