RulerOf

Splashtop download and upgrade

Mar 29th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. dim objWshShell: Set objWshShell = Wscript.CreateObject("Wscript.Shell")
  2. dim xHttp: Set xHttp = createobject("Microsoft.XMLHTTP")
  3. dim bStrm: Set bStrm = createobject("Adodb.Stream")
  4. xHttp.Open "GET", "https://d17kmd0va0f0mp.cloudfront.net/csrs/Splashtop_Streamer_Windows_deploy_v3.1.2.1.exe", False
  5. xHttp.Send
  6.  
  7. with bStrm
  8.     .type = 1 '//binary
  9.    .open
  10.     .write xHttp.responseBody
  11.     .savetofile objWshShell.ExpandEnvironmentStrings("%TEMP%") & "\splashtop.exe", 2 '//overwrite
  12. end with
  13.  
  14. objWshShell.run objWshShell.ExpandEnvironmentStrings("%TEMP%") & "\splashtop.exe" & " prevercheck /s /i confirm_d=0,hidewindow=1", 1, True
Add Comment
Please, Sign In to add comment