03/18/2015 1964 views
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


All Answers

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
Answered 03/18/2015 by: aragorn.2003
Red Belt

  • PS. if you use startx.exe you have to put this also within the .zip container.

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"


Answered 03/20/2015 by: Badger
Red Belt