.... and the OP shouldn't be self-registering anyway. Use Heat instead, and if 
it does happen to be a per-user install then the registration goes into HKCU 
for the installing user. 

Phil Wilson 

-----Original Message-----
From: Pally Sandher [mailto:pally.sand...@iesve.com] 
Sent: Tuesday, March 15, 2011 10:13 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Windows 7 MSI privileges

Windows Installer should be requesting elevation when it tries to
install your MSI. Have you set InstallPrivileges="elevated" in your
Package Element? Is your MSI per-user or per-machine (InstallScope
attribute of Package Element sets that). I've only used per-machine
packages so if you're trying to author a per-user package you may not be
able to if you want to do stuff like register COM objects.

I've never needed any kludges or fixes even with WiX v2.0 or v3.0 on
Vista with UAC enabled. If you don't sign your MSI's the UAC prompts
will look scary but they should still prompt for elevation.

Palbinder Sandher 
Software Deployment Engineer
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
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: Skildum, Mathew [mailto:mathew.skil...@aspect.com] 
Sent: 15 March 2011 16:23
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Windows 7 MSI privileges

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



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


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



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