Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login

POZE MRRRR'S FORUM (VIEW ONLY)

Nu sunteti logat.
Nou pe simpatie:
Nebunyka la Simpatie.ro
Femeie
21 ani
Bacau
cauta Barbat
21 - 52 ani
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides / [VBS] Uninstall a Program Moderat de TRaP, TonyTzu
Autor
Mesaj Pagini: 1
Mrrrr
AdMiN

Inregistrat: acum 17 ani
Postari: 2186
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:


_______________________________________


pus acum 9 luni
   
Pagini: 1  

Mergi la