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)
Please log in to answer
Posted by:
aragorn.2003
9 years ago
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
- copy file to the static path %WINDIR%\Temp
- now run the installation command within this script
Comments:
-
PS. if you use startx.exe you have to put this also within the .zip container. - aragorn.2003 9 years ago
Posted by:
Badger
9 years ago