![]() |
|
#1
|
|||
|
|||
|
I have a standard project and I want to allow for installation without admin rights. I'm using XP and have set my computers group policy for AlwaysInstallElevated to be enabled (local machine & current user).
My project has the property ISALWAYSINSTALLELEVATED defined and set to 1 and I've set the SecureCustomProperties to include ISALWAYSINSTALLELEVATED; ISSETUPDRIVEN; ARPSYSTEMCOMPONENT; ARPNOMODIFY; ARPNOREMOVE; INSTALLDIR as defined in doc Q106556 I've also overridden OnMsiSilentInstall event to do nothing. When my non-admin user tries to run with msiexec /i mymsi.msi etc I get the message "The system administrator has set policies to prevent this installation". This happens for a locally logged -in user as well as a domain user. |
|
#2
|
||||
|
||||
|
By default all msi packages are installed with elevated privilege when managed through the GPO. That is, when published or assigned to the user.
The elevated privilege that you have set allows all users who are part of that container you have set the GPO at to be able to run an msi installation with elevated privilege. The other modifications you have made to the package is not necessary as the GPO will override them. |
|
#3
|
|||
|
|||
|
I obviously don't know enough about the GPO then as I'm not intending to assign or publish the software to the user. All I want to do is to allow the user to install or modify the software(pulling from server).
BTW My Domain authorisation is NT so no Active Directory available, and it doesn't know anything about the AlwaysInstallElevated registry settings - I was trying to get the local XP machine to control it whilst my user was logged in locally. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|