I have been tasked with creating a script to install a set of software applications to various pc's, these are legacy apps and will not package to allow msi deployment with GP, so this has to be done the hard way.
What i need is some guidance on the objShell or some help cobling together some code that will allow each of these apps to be installed without the exit codes messing up the next install, as some have weird processes that start during their install which ignores the exits and this then starts the next which messes everything up.
here is what i have so far;
Dim objShell, objApp, i
Set objShell = CreateObject("WScript.Shell")
objApp = " ""C:\To-Install\LegacyApp\Setup.exe"" "
exCode = 0
exCode = objShell.Run(objApp, 1 ,True)
Set oShell = Nothing
this is the code to actually start the install, there are a few other things that each app needs but the problem lies in the installations, hope someone can help an average scripting guy who's pulled all his hair out.....cheers....Ed
What i need is some guidance on the objShell or some help cobling together some code that will allow each of these apps to be installed without the exit codes messing up the next install, as some have weird processes that start during their install which ignores the exits and this then starts the next which messes everything up.
here is what i have so far;
Dim objShell, objApp, i
Set objShell = CreateObject("WScript.Shell")
objApp = " ""C:\To-Install\LegacyApp\Setup.exe"" "
exCode = 0
exCode = objShell.Run(objApp, 1 ,True)
Set oShell = Nothing
this is the code to actually start the install, there are a few other things that each app needs but the problem lies in the installations, hope someone can help an average scripting guy who's pulled all his hair out.....cheers....Ed