On 7/6/2014 10:57 AM, Dolevo Jay wrote:
> Hi,
> I have an installer in WIX. I have tried to deploy it to a group of target 
> computers in the network and encountered the following issue. The deployment 
> was successful but there is an issue when the installer launches the 
> application after the installation finishes using the following code:    
> <CustomAction Id="RunMainApp" Directory="SUBDIR" 
> ExeCommand="[SUBDIR]clicksharelauncher.exe" Execute="deferred" 
> Return="asyncNoWait"/>
>
>      <InstallExecuteSequence>
>      <Custom Action="RunMainApp" Before="InstallFinalize"><![CDATA[UILevel=5 
> OR LAUNCH_APP~="YES" AND NOT Installed]]></Custom>
>      </InstallExecuteSequence>So the application is launched if is it an 
> interactive install or silent install with a parameter LAUNCH_APP.When the 
> application is launched, I realized that it is launched in SYSTEM user. 
> Therefore, I get an error from the application saying that the application 
> can't run in SYSTEM user.
> The idea is to not to launch the application if the current user is not a 
> real user account. Could anyone tell me how I should implement it?
> Thanks                                        

Are you sure you want to run that in the deferred sequence?

Dave


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to