First I need some guidance. I have several problems which all appear related to dealing with UAC on Windows 7. But they may each require separate solutions. Should I post these separately?
1) On a Windows 7 computer with the default UAC setting, my installation appears to be failing because SFXCA fails to extract my custom action to a temporary directory. The relevant messages I get in the log are: SFXCA: Extracting custom action to temporary directory: C:\Program Files\Spiricon\BeamGage Standard\CustomAction.Install.WiX.CA.dll-9\ SFXCA: Failed to extract to temporary directory. Cabinet error code 11. CustomAction CAInstall returned actual error code 1603 This message is followed immediately by Rollback messages. 2) We use a program, written many years ago, that calls CM_Reenumerate_DevNode in order to simulate Find New Hardware. Originally I thought that this program was causing the install to fail but I removed it and found the failure described above. When I tried to just run it, UAC said it needed elevated privileges. When I ran it as administrator it appeared to execute without error. But, I keep an error message in the log as if it was not being run at elevated privileges. I thought deferred custom actions, and Impersonate="no", were executed with elevated privileges. Any ideas how I can debug this? 3) When I click through the installation dialogs, I always get a UAC dialog before the actual install starts. I always thought MSI was elevated and would "just run". My MSI is not (yet) signed. Would this help? 4) I am using a third tool to install third part drivers. I run this tool three times. And three times I get a UAC dialog. This is not only annoying, it looks very unprofessional. This tool is run in a custom action. Again, I thought deferred custom actions were executed with elevated privileges. Please note that I am using WiX v3.0. TIA! Kurt Jensen Senior Software Engineer Ophir-Spiricon Ph: 435-755-5429 Cell: 435-764-2122 www.ophir-spiricon.com <http://www.ophir-spiricon.com/> kurt.jen...@ophir-spiricon.com <mailto:kenneth.fer...@ophir-spiricon.com> The True Measure of Laser Performance(tm) ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.clearswift.com ********************************************************************** ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users