Could anyone please tell me where I am doing wrong?
I have added,
<Property Id="LAUNCH_APP">NO</Property>
<Component Id='WebAppSettings' Guid='0a87956e-13e3-41f2-8e52-8b6ebc3c48a2' 
Feature='ProductFeature' Directory='SUBDIR' >                                   
             <util:XmlFile Id='LaunchAppAfterInstall'                    
Action='setValue'                    
ElementPath='/configuration/system.web/launchApp/@mode'                    
File='[SUBDIR]web.config'                    Value='[LAUNCH_APP]' />            
            <CreateFolder /></Component>
<Feature Id="ProductFeature" Title="UtilInstaller" Level="1">                   
<ComponentGroupRef Id="SimpleWebAppGroup" />                    <ComponentRef 
Id="WebAppSettings" /></Feature>          
<InstallExecuteSequence>                        <Custom Action="RunMainApp" 
Before="InstallFinalize">LAUNCH_APP="YES"</Custom> </InstallExecuteSequence>


I got the following error: product.wxs(63) : error LGHT0094 : Unresolved 
reference to symbol 'WixComponentGroup:SimpleWebAppGroup' in section 
'Product:*'. Press any key to continue . . .So basically it complains about 
<ComponentGroupRef Id="SimpleWebAppGroup" />
Could anyone help?
Thanks,


> From: c...@live.com
> To: wix-users@lists.sourceforge.net
> Date: Mon, 16 Jun 2014 07:34:33 +0000
> Subject: [WiX-users] How to make a condition that works both for silent and 
> interactive install
> 
> 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
                                          
------------------------------------------------------------------------------
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