T
Thomas M.
XP SP2
I'm doing some testing, and as part of the test I want to try running an MSI
file with elevated privileges from a standard user account. I'm logged in
with a standard user account and I want to run the MSI with administrative
rights. There is no "Run as" option on the context menu for MSI files, but
I found some information which indicates that it may be possible to run the
file from the command line by using "runas" to launch MSIEXEC.EXE and
specifying the MSI package. Here is the command that I am using:
runas /user:Administrator "msiexec /i OdysseyClient.msi"
When I execute the command I get prompted for the administrator password,
and after I enter the password I get a Windows Installer dialog box showing
me the command syntax. The MSI file never gets launched. I've tried a
number of different syntax options with no luck.
Can someone tell me if what I'm attempting is possible? If so, what is the
correct syntax?
--Tom
I'm doing some testing, and as part of the test I want to try running an MSI
file with elevated privileges from a standard user account. I'm logged in
with a standard user account and I want to run the MSI with administrative
rights. There is no "Run as" option on the context menu for MSI files, but
I found some information which indicates that it may be possible to run the
file from the command line by using "runas" to launch MSIEXEC.EXE and
specifying the MSI package. Here is the command that I am using:
runas /user:Administrator "msiexec /i OdysseyClient.msi"
When I execute the command I get prompted for the administrator password,
and after I enter the password I get a Windows Installer dialog box showing
me the command syntax. The MSI file never gets launched. I've tried a
number of different syntax options with no luck.
Can someone tell me if what I'm attempting is possible? If so, what is the
correct syntax?
--Tom