I'm trying to install multiple programs one after another. How can I wait for one app's setup to finish, and terminate if it lasts over 600 seconds?
Here's my code so far:
ECHO "Installing 7-Zip 16.04 (x64 edition)"
START "7-Zip 16.04 (x64 edition)" /WAIT msiexec -i "7z1604-x64.msi" /qn
ECHO "Installing Foxit Reader"
START "Foxit Reader" /WAIT "FoxitReader821_enu_Setup.msi" /verysilent