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:
corinarus la Simpatie.ro
Femeie
23 ani
Cluj
cauta Barbat
24 - 60 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: 2228
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 1 an
   
Pagini: 1  

Mergi la