My AdAware script looks like this:
CODE
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Popup "Dont move mouse or keyboard",5," - Warning - ",48
WshShell.Run ("AdAware6Pro181.exe /S")
WScript.Sleep 5000
WshShell.SendKeys "XXXXXXX"
WScript.Sleep 1000
WshShell.SendKeys "{ENTER}"
WScript.Quit
WshShell.Popup "Dont move mouse or keyboard",5," - Warning - ",48
WshShell.Run ("AdAware6Pro181.exe /S")
WScript.Sleep 5000
WshShell.SendKeys "XXXXXXX"
WScript.Sleep 1000
WshShell.SendKeys "{ENTER}"
WScript.Quit
When I test in windows, it works fine, but when I make the ISO and test in Virtual PC I get the File not found -error. I of course checked that I spelled the filename correctly...
Anyone who have had the same problem and found a solution?
//Niels