How can I push a file to a path as part of a managed install?

Here's my need:
 I have a Office 2013 customizations MSP file that I'd like to push to c:\Windows\Temp as part of my managed install of Office 2013. (My command line install references this absolute path since it's common to all Windows and out of the way). I know i could stick it on a network share, but that isn't optimal for this particular instance. Also I know i could push it beforehand, but i'd like to automate the process and not turn one step into two.

Is there a particular way to accomplish what i need in an automated fashion?

0 Comments   [ + ] Show comments

Answers (2)

Posted by: aragorn.2003 6 years ago
Red Belt
Write a .cmd or .bat script and run this as managed install. You have to put this also in the .zip file of the managed installation and call this script in full command line. if you will hide the command window you can use the startx.exe programm. you can find it here: http://www.naughter.com/startx.html

The command line looks like

startx /b office_install.cmd

Steps within the .cmd / .bat files could be

  1. copy file to the static path %WINDIR%\Temp
  2. now run the installation command within this script

  • PS. if you use startx.exe you have to put this also within the .zip container. - aragorn.2003 6 years ago
Posted by: Badger 6 years ago
Red Belt

do not use the temp folder.

Put your MSP in the folder where the Setup.exe is. create a job/Package/task/Script/CMD to run the setup.exe with the relative path to the MSP

Setup.exe /adminfile "mysuperfile.msp"


or Setup.exe /adminfile "%~dp0mysuperfile.msp"


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