Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-30-2010, 10:13 AM
HippyCraig HippyCraig is offline
Registered User
 
Join Date: 07-27-2006
Location: Philly
Posts: 211
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.
Reply With Quote
  #2  
Old 08-30-2010, 11:03 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
http://www.google.com/search?q=msiexec+error+1625+uac
Reply With Quote
  #3  
Old 08-30-2010, 12:17 PM
HippyCraig HippyCraig is offline
Registered User
 
Join Date: 07-27-2006
Location: Philly
Posts: 211
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.
Reply With Quote
  #4  
Old 08-30-2010, 12:28 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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.
Reply With Quote
  #5  
Old 08-30-2010, 12:50 PM
HippyCraig HippyCraig is offline
Registered User
 
Join Date: 07-27-2006
Location: Philly
Posts: 211
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.
Reply With Quote
  #6  
Old 08-30-2010, 12:59 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Quote:
Originally posted by HippyCraig
If the UAC is enabled but the MSI is digitally signed there are no UAC prompts because its trusted.
Oh, I didn't know that. The Sign Code action can also be used to sign MSI files.
http://www.kinook.com/VisBuildPro/Ma...igncodetab.htm
Reply With Quote
  #7  
Old 08-30-2010, 01:11 PM
HippyCraig HippyCraig is offline
Registered User
 
Join Date: 07-27-2006
Location: Philly
Posts: 211
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.
Reply With Quote
  #8  
Old 08-30-2010, 01:25 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 12:59 AM.


Copyright © 1999-2023 Kinook Software, Inc.