Re: [WiX-users] Windows 7 MSI privileges

2011-03-17 Thread James Johnston
wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Windows 7 MSI privileges Great. I added Execute="deferred" and Impersonate="no" to my custom actions and it seemed to fix the problem. I certainly dont want to go against UAC. I want to do what is right, whatever that may be,

Re: [WiX-users] Windows 7 MSI privileges

2011-03-17 Thread Pally Sandher
et Subject: Re: [WiX-users] Windows 7 MSI privileges Great. I added Execute="deferred" and Impersonate="no" to my custom actions and it seemed to fix the problem. I certainly dont want to go against UAC. I want to do what is right, whatever that may be, so thanks for the help.

Re: [WiX-users] Windows 7 MSI privileges

2011-03-16 Thread The Eligible Bachelors
Great. I added Execute="deferred" and Impersonate="no" to my custom actions and it seemed to fix the problem. I certainly dont want to go against UAC. I want to do what is right, whatever that may be, so thanks for the help. > You need Execute="deferred" custom actions with > Impersonate="no".

Re: [WiX-users] Windows 7 MSI privileges

2011-03-15 Thread Pally Sandher
G20 0SP Email Disclaimer -Original Message- From: Wilson, Phil [mailto:phil.wil...@invensys.com] Sent: 15 March 2011 17:41 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Windows 7 MSI privileges and the OP shouldn't be self-registering anywa

Re: [WiX-users] Windows 7 MSI privileges

2011-03-15 Thread Wilson, Phil
esday, 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?

Re: [WiX-users] Windows 7 MSI privileges

2011-03-15 Thread Pally Sandher
- 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 pr

Re: [WiX-users] Windows 7 MSI privileges

2011-03-15 Thread Skildum, Mathew
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

Re: [WiX-users] Windows 7 MSI privileges

2011-03-15 Thread Andy Clugston
What you are running into is UAC, Google it if you have not already. You need Execute="deferred" custom actions with Impersonate="no". This will allow your custom actions, and subsequent child processes that they create, to inherit the local system privileges of the Windows Installer service. The

[WiX-users] Windows 7 MSI privileges

2011-03-15 Thread The Eligible Bachelors
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 i