Solved

Need help deploying an MSI via silent install using PSEXEC

Posted on 2016-08-24
4
91 Views
Last Modified: 2016-08-25
This is a tripwire client MSI that needs to be deployed to remote machines. This installer has certain requirements to point to our Tripwire server (TE Server) and to input a service password (See requirements in screenshots).

 2016-08-24_12-26-12.png
2016-08-24_12-26-26.png
Can someone please provide me the PSEXEC  commands that I need to use? Let's use scenario below:

1.  Server I am initiating PSEXEC commands from will be Server1
2. I have a computers.txt list in the C:\ of Server1 that contains the all remote hosts IP's that I need to deploy to.
3. The MSI file is also in the C:\ of Server1 called Trip.msi
4. During the install, the Tripwire server that these remote machines must communicate with is a server call Tripwire (TE Server).
5. The service password is Password1

Let me know if additional information is needed. Thank you.
0
Comment
Question by:joukiejouk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 23

Accepted Solution

by:
yo_bee earned 500 total points
ID: 41770170
Have you looked at this link:
http://forum.sysinternals.com/remote-install-of-msi-packages-using-psexec_topic22970.html

The command line you want o use is msiexec /i "Full File Path" /qn  
For your purpose it looks like you will be using these properties during install.

Here is your command line you want to try in place of
MSIEXEC /i "\\shareserver\Filelocation\Trip.msi" TE_SERVER_HOSTNAME=Tripwire SERVICE_PASSWORD=Password1 /qn

Open in new window

so it will look like this.

PSEXEC @Filename -u MyDomain\Username  cmd /c MSIEXEC /i "\\shareserver\Filelocation\Trip.msi" TE_SERVER_HOSTNAME=Tripwire SERVICE_PASSWORD=Password1 /qn

Open in new window

0
 
LVL 22

Expert Comment

by:Adam Leinss
ID: 41770326
PDQDeploy Free can do this too: http://www.adminarsenal.com/pdq-deploy/
0
 

Author Comment

by:joukiejouk
ID: 41771033
Thank you yo_bee,

I ran the following command that worked for me:

2016-08-25_11-44-14.png
0
 
LVL 23

Expert Comment

by:yo_bee
ID: 41771037
Glad it worked.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will help you understand what HashTables are and how to use them in PowerShell.
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
The viewer will learn how to dynamically set the form action using jQuery.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question