You can also force a true Administrator check in you install (set the property 
MSIUSEREALADMINDETECTION) if you do not have time to work around UAC.

Mat Skildum

-----Original Message-----
From: The Eligible Bachelors [mailto:theeligiblebachel...@yahoo.com] 
Sent: Tuesday, March 15, 2011 11:04 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Windows 7 MSI privileges

This is mostly a MSI question and not too WiX specific.

I am porting an old WiX (3.0) installer from XP to Windows 7. The installer 
needs to be run as an admin because makes several calls to external programs 
that need admin privileges (to register COM objects and such).

Even when I am logged in as an admin, the calls to these external programs are 
failing and thus throwing an error at install time in my MSI. If I run an admin 
console and launch the MSI, these errors do not happen, since I guess I am more 
of an admin then. Googling around says this is a common problem in Win 7 and 
Vista and all the fixes seem cludgy (batch files, registry hacks).

So my question is how do I get around this and why is this not a huge 
deal/common problem? It seems that any installer that needs admin privileges in 
Windows 7 has to go though hoops.

Microsoft presumably has created this situation in an effort to increase 
security. So is there a new workflow I am supposed to be following to get the 
same thing done?

And/or is there a known workaround for this in WiX?


      

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit for your organization - 
today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to