Admin rights switch for an MSI package
Trying to install an MSI package from within a standard user account, but unable to because access is denied (only user rights). Any ideas about what switch to use to give the MSI administrator rights?
Trying to install the JAVA SDK package via an MSI.
Trying to install the JAVA SDK package via an MSI.
0 Comments
[ + ] Show comments
Answers (6)
Please log in to answer
Posted by:
brenthunter2005
19 years ago
Posted by:
WiseUser
19 years ago
Posted by:
murphy1
19 years ago
The application is to be deployed to numerous Win2k machines remotely. The problem is that the PC's have been set up over the years with varying admin passwords - the runas command may prove difficult. The elevated rights for the MSI install through a policy sounds good - are the any more details regarding this please?
Posted by:
ds0934
19 years ago
You can hack the registry to add "MSI" file types to respect the RUN AS option on right-click popups. By default, Windows XP only recognizes EXE files for RUN AS, not MSI files. There's an interesting BLog thread on this at http://blogs.msdn.com/aaron_margosis/archive/2004/06/23/163229.aspx
The registry hack is to add a "runas/command" entry under HKCR as follows...
[HKEY_CLASSES_ROOT\Msi.Package\shell\runas\command]
(Default REG_SZ value) ="\"%1\" %*"
Take a look at the entry for HKEY_CLASSES_ROOT\exefile\shell\runas\command. It uses the same value entry.
The registry hack is to add a "runas/command" entry under HKCR as follows...
[HKEY_CLASSES_ROOT\Msi.Package\shell\runas\command]
(Default REG_SZ value) ="\"%1\" %*"
Take a look at the entry for HKEY_CLASSES_ROOT\exefile\shell\runas\command. It uses the same value entry.
Posted by:
ds0934
19 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.