Advertisement
Guest User

UninstallCutePDF.vbs

a guest
May 11th, 2018
463
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. Set WshShell = WScript.CreateObject("WScript.Shell")
  2. If WScript.Arguments.Length = 0 Then
  3. Set ObjShell = CreateObject("Shell.Application")
  4. ObjShell.ShellExecute "wscript.exe" _
  5. , """" & WScript.ScriptFullName & """ RunAsAdministrator", , "runas", 1
  6. WScript.Quit
  7. End if
  8.  
  9. Set oShell = WScript.CreateObject("WScript.Shell")
  10.  
  11. Set fShell = CreateObject("Scripting.FileSystemObject")
  12.  
  13. oShell.Run """%PROGRAMFILES(X86)%\Acro Software\CutePDF Writer\Setup64.exe"" /uninstall"
  14.  
  15. WScript.Sleep 1000
  16.  
  17. oShell.SendKeys "{ENTER}"
  18.  
  19. WScript.Sleep 2500
  20.  
  21. oShell.SendKeys "{ENTER}"
  22.  
  23. WScript.Sleep 5000
  24.  
  25. strCom = "taskkill /F /IM uninscpw.exe"
  26.  
  27. oShell.Run strCom, 0, True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement