Silent Install VB Script
Posted on 2010-09-21
I have an MSI file to install a firewall client. I have a bat file that copies the exe to the C drive and then starts the VB script. The exe stops so you can click next. Is there a way to tell the VB script to take care of that. This is what I have so far. I'm new to the VB game so I'm still learning...
Sub Run(ByVal sFile)
'Usage: Run "C:\Program Files\MyFile.exe"
Set shell = CreateObject("WScript.Shell")
shell.Run Chr(34) & sFile & Chr(34), 1, false
Set shell = Nothing