Charlicon Posted February 5, 2007 Share Posted February 5, 2007 Hi everyone, My boss has asked me to write a batch file to allow us to install multiple software packages with no user interaction, I know the command to install a single application using the Windows Installer file & the MSFT file, how would I go about creating a batch file that will run one command and as soon as the application is installed run the next command within the file. The command I am using to install a single application is currently as follows Microsoft Windows XP [Version 5.1.2600] © Copyright 1985-2001 Microsoft Corp. C:Documents and SettingsNoel>MSIEXEC /I WINDOWS INSTALLER FILE GOES HERE TRANS FORMS=MSFT FILE NAME GOES HERE /QB If I perform this command and attempt to repeat the command for a sceond application immediatly after I get an error message saying that an install is currently in operation, I then have to waite and rerun the command. Any help would be greatly appreciatted as I have no real idea on how to start this. Thanks Quote Link to comment Share on other sites More sharing options...
Deveant Posted February 5, 2007 Share Posted February 5, 2007 start /wait MSIEXEC /I WINDOWS INSTALLER FILE GOES HERE TRANS FORMS=MSFT FILE NAME GOES HERE /QB start /wait MSIEXEC /I WINDOWS INSTALLER FILE GOES HERE TRANS FORMS=MSFT FILE NAME GOES HERE /QB this works for me, the start /wait commant tells Windows to run the application MSIEXEC, and stop the batch file untill MSIEXEC is closed. Quote Link to comment Share on other sites More sharing options...
Charlicon Posted February 6, 2007 Author Share Posted February 6, 2007 Thanks, I found out a way to do it, basically I wrote a batch file for the indiviual apps being installed and then wrote another batch file and using the CALL command called each batch file in turn, this allows for me to easily modify the parameters of any installation as needed. Thanks Again Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.