Mrrrr
AdMiN
 Inregistrat: acum 18 ani
Postari: 2251
|
|
The following code will uninstall a program you wish via VBS.
Make sure your replace the aqua part with the path to your uninstall executable, and the lime part with the name of your uninstall executable.
Dim objShell Set objShell = WScript.CreateObject( "WScript.Shell" ) objShell.Run("""PATH TO UNINSTALL FILE\unins001.exe""") WScript.Sleep 1000 ObjShell.AppActivate("Uninstall") ObjShell.SendKeys "%y" ObjShell.SendKeys "y" |
The code above was adapted by me as an answer to the following stackoverflow post:
Also of interest:
_______________________________________

|
|