Can you pass the credential info to the CA and do the impersonation inside the utility?
Or install the utility and call it on first run? -----Original Message----- From: Joe Barker [mailto:joeb...@gmail.com] Sent: 02 May 2013 16:36 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom Action Extraction Issue Hi, In my installer, I have the user enter a domain/user/password combination at the beginning which is then used as the user account to run an application pool in IIS. This combination of domain/user/password is then later impersonated as part of a custom action, which runs an executable to handle some other application specifics before the installer finishes. This custom action fails, however, unless I run the installer from a command prompt that was launched with administrative privileges. After some investigation, we've found that this is because the msi that's executed from the administrative command prompt extracts CA's to C:\Windows\Installer\, which means the impersonated user can read the files; when the msi is executed from a normal prompt, or the GUI, CA's are extracted to C:\Users\<user>\AppData\Local\Temp\ (or somewhere around there), meaning the user that's being impersonated doesn't have permission to the folder, and therefore an exception is thrown. Is there any way to either control where the CA is extracted to, or to work around this issue? Not impersonating the user isn't an option, unfortunately. Any help would be much appreciated. Thanks, Joe ----------------------------------------------------------------------------- - Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users