What I need to do is make a .bat script that will pull the install files from my server and launch them on a workstation to install a program, by a user on the workstation. There are 8 installs total for this 1 program and they have to be launched in order.
Any ideas on commands used to pull install files or how to use PS exec to install? I don't have anything to go with, all the research I did took me in other ways then making an install script.
I was actually able to figure it out on my own by playing around in cmd prompt. I tried a series of commands with no luck then I tried just the file paths separated by a pause and it worked so for anyone looking for a simple script to launch .exe's: (the quotations are if there are any spaces in the file path) In cmd prompt or in notepad saved as a .bat file-
"\\000.00.00.00\programs\Apps\ProgramsBASELINE\cd install 01\setup.exe"
Pause
"\\000.00.00.00\programs\Apps\ProgramsBASELINE\cd install 02\setup.exe"
pause
"\\000.00.00.00\programs\Apps\ProgramsBASELINE\cd install 03\setup.exe"
pause
"\\000.00.00.00\programs\Apps\ProgramsBASELINE\cd install 04\setup.exe"
pause