Solved

Need help deploying an MSI via silent install using PSEXEC

Posted on 2016-08-24
4
48 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
  • 2
4 Comments
 
LVL 21

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 21

Expert Comment

by:yo_bee
ID: 41771037
Glad it worked.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Set OWA language and time zone in Exchange for individuals, all users or per database.
A procedure for exporting installed hotfix details of remote computers using powershell
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now