http://wixtoolset.org/documentation/manual/v3/xsd/wix/customaction.html

See the 'Impersonate' attribute.

Palbinder Sandher 
Software Platform Engineer 
T:   +44 (0)141 945 8500
F:   +44 (0)141 945 8501
http://www.iesve.com 

Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer 


-----Original Message-----
From: Dolevo Jay [mailto:c...@live.com] 
Sent: 06 July 2014 19:13
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to detect if it is a real user account

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                                    
------------------------------------------------------------------------------
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

------------------------------------------------------------------------------
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