Automating installsThe best way I've found is with a program called ScriptIt from Microsoft. It's included with WinNT 4, or is available via download at http://www.*-*-*.com/ ;Download this Document" link at the top of the page. Documentation for using ScriptIt--it's really easy--is included with the download.
Here's an example:
srcdir = "C:\installpath" 'Specifies base path for files to be found
Return = WshShell.Run(srcdir&"subfolder\setup1.exe", 3, TRUE)
Return = WshShell.Run(srcdir&"scriptit.exe "&srcdir&"setup1.ini", 3, TRUE)
Hope this helps.
--Matt Schultz
I am installing multiple programs on many computers. How do I get WSH to run the setup.exe and then click on the right buttons at the right time, then when the program is finished installing run the next program, and so on? I can get the program to run, but I don't know how to send the clicks when a certain window pops up or how to tell when the install has finished.
Thanks in advance.