the correct syntax to use on the command line when retrieving a .msp, .exe, or .msi from a shared folder

\\hsnas\b$\Core Installs\Legacy Core Installs\Adobe Acrobat XI Pro NEW\AA Zips\AcrobatUpd11023\AcrobatUpd11023.msp

is the above correctly done?  

0 Comments   [ + ] Show comments

Answers (3)

Posted by: pcausey@health.southalabama.edu 11 months ago
Senior White Belt

I will try your professional suggestions and keep you in the loop.   Hopefully, I'll be moving forward with this.

Posted by: rileyz 11 months ago
Red Belt

Try the command like this.

msiexec.exe /p "<full path to the .msp>" /qb

*you can use /qn for silent.

This is assuming the app is installed on the target computer.

If your are using batch, and the batch is in the same folder as the msp, then use the %~dp0 in the batch, this will use the path of the current folder with the msp. Sorry poorly explained but check out the link below and use google.

batch file - What does %~dp0 mean, and how does it work? - Stack Overflow

Posted by: chucksteel 11 months ago
Red Belt

There are spaces in your path, so you will need to surround it in quotes. 

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ