Hi Jonathan, If you have a CA that require admin privileges running in the InstallExecuteSequence, you should use deferred execution, set impersonate to false and schedule your CA to run between InstallInitialize and InstallFinalize.
More details here: http://kb.acresso.com/selfservice/microsites/search.do?cmd=displayKC&docType =kc&externalId=Installation-InstallShield-InstallShield2008Premier-01Public- ProductInfo-isvistapdf&sliceId=pdfPage_1&docTypeID=DT_PRODUCTINFO_1_1&dialog ID=20815289&stateId=0%200%2020811767 Another solution would be to use a bootstrapper as I describe here: http://blog.torresdal.net/2008/10/06/WiXAndDTFUsingABootstrapperToForceEleva tedPrivilegesInVista.aspx However, this should not be necessary when running in InstallExecuteSequence. Jon A. -----Original Message----- From: Jonathan Moore [mailto:[EMAIL PROTECTED] Sent: 12. oktober 2008 19:26 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Run as Administrator Hello I have a installer that runs an EXE during the install but only runs with user privileges. How can I make the installer run with administrator privileges. I tried using the deferred attribute but ran into InstallExecuteSequence errors please help. I think the error was something like "needs to be between InstallInitialize and InstallFinalize" . Thanks Jonathan Moore ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users