Now i've got a VBScript which when run by itself (not through guirunonce) installs AVG fine. It's what i've got in the batch file which is the problem.
The VBS...
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run ("setup.exe")
WScript.Sleep 4000
WshShell.SendKeys "~"
WScript.Sleep 1000
WshShell.SendKeys "~"
WScript.Sleep 1000
WshShell.SendKeys "AVG-*-********-***"
WScript.Sleep 1000
WshShell.SendKeys "~"
WScript.Sleep 1000
WshShell.SendKeys "~"
WScript.Sleep 1000
WshShell.SendKeys "~"
WScript.Sleep 1000
WshShell.SendKeys "~"
WScript.Sleep 18000
WshShell.SendKeys "~"
WScript.Sleep 1000
WshShell.SendKeys "~"
WScript.Sleep 1000
WshShell.SendKeys "~"
WScript.Sleep 1000
WshShell.SendKeys "~"
and the batch file...
ECHO. ECHO Installing AVG ECHO Please wait... start /wait %systemdrive%\install\Applications\AVG\avg.vbs
As I said, i'm almost positive it's the batch file, as it just doesn't look right.
Could someone help me?



Help
Back to top









