|
#1
|
|||
|
|||
Deploying MSI on Server 2008 r2
I am running into issues deploying an MSI to Server 2008 R2, the command I have work for 2003 but when I try to run the same command I get an MSIEXEC error 1625. When I run the MSI from the server I have to run it in a command window that was lauched using run as administrator.
How can I alter the run command to run the following command with admin privlages on the remote machine? MSIEXEC.EXE /i "E:\Staging\CBS\ACE.CBS.FrontEnd.WebSetup.msi" INSTALLLOCATION="TEST" TARGETSITE="/LM/W3SVC/2" TARGETVDIR="CBSWeb" TARGETAPPPOOL="CBSWeb" /qn I dont want to disable the UAC on the server. |
#2
|
|||
|
|||
#3
|
|||
|
|||
Not sure what article you want me to look at but nothing here helps solve my issue. I can run these commands on the server if they are run in an elevated command window. I want to run this from the build machine and deploy the MSI.
|
#4
|
|||
|
|||
The first result (serverfault) mentioned something about GPO which I thought might help. If not, I suspect you'll need to disable UAC. One other possibility might be to use a scheduled task, but that also requires elevation to create. You would need to ask Microsoft for a definitive answer.
|
#5
|
|||
|
|||
I had to disable the UAC which I didnt want to do, I am going to look into digitally signing an MSI in Visual Studio.
If the UAC is enabled but the MSI is digitally signed there are no UAC prompts because its trusted. |
#6
|
|||
|
|||
Quote:
http://www.kinook.com/VisBuildPro/Ma...igncodetab.htm |
#7
|
|||
|
|||
I will give it a try, I had downloaded and MSI from microsoft and tried running it UAC didnt prompt me, under the same session I tried to run the MSI I built with VS2008, I had to run it from an elevated cmd window.
The only difference with the microsoft MSI, aside from the acutal package, was that it was signed. I will post my findings, but that may not be for some time. |
#8
|
|||
|
|||
Hmmm. I suspect the MSI you downloaded from MS doesn't do anything requiring elevated permissions, and that is the reason it doesn't prompt for elevation (and that UAC will still prompt for elevation if an MSI is signed and requests elevation), but I could be wrong.
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|