Install Splashtop Streamer

  • 3 December 2020
  • 6 replies
  • 294 views

This is a worklet that will install Splashtop Streamer (business account required). A Deployment package needs to be created first, this will generate your URL that can go into the URL variable field. The Code variable is your Deployment code for that specific deployment.


Evaluation Code:


#REQUIRES -Version 5.0
<#
.SYNOPSIS
This Test script checks to see if Splashtop is installed
.DESCRIPTION
This script queries the WMI class Win32_Product for the 'Splashtop Remote Server' package and exits with 0 if it is found
.Notes
File Name : splashtopInstalled.ps1
Author : reuben_f
Prerequisite : WMF 5.0 or higher
#>
#Handle Exit Codes:
trap { $host.ui.WriteErrorLine($_.Exception); exit 90 }

function splashtopInstalled {
param (
[switch]$Debug = $false
)
$packages = $(Get-WmiObject -Class Win32_Product -Filter 'Name="Splashtop Streamer"').Name
$len = $packages.Length
if ($len -gt 0) {
if ($Debug) {Write-Host "Splashtop Streamer is installed" ; break }
exit 0
} else {
if ($Debug) {Write-Host "Splashtop Streamer is NOT installed" ; break }
exit 1
}
}
. splashtopInstalled

Remediation Code:


#REQUIRES -Version 2.0
<#
.SYNOPSIS
This script allows an admin to install Splashtop Streamer for the Default Group.
.DESCRIPTION
This script downloads the installer into c:\\Windows\Temp, executes it silently, and cleans up.
This script may not work on all systems. Modify to fit your needs
.NOTES
File Name :Splashtop_Install.ps1
Author :reuben_f
Prerequisite :PowerShell V2 over win7 and upper
#>
#Handle Exit codes:
trap { $host.ui.WriteErrorLine($_.Exception); exit 90 }

function Splashtop_Install{
#############Change the settings in this block#######################
$Save_Dir="c:\\Windows\Temp"
$URL="Your Deployment URL"
$Code="Your Deployment Code"
#####################################################################
Try {
(new-object System.Net.WebClient).DownloadFile("$URL", "$Save_Dir\splashtop_streamer.exe")
Start-Process "$Save_Dir\splashtop_streamer.exe" -ArgumentList "prevercheck /s /i dcode=$Code,confirm_d=0,hidewindow=1" -Wait
Remove-Item "$Save_Dir\splashtop_streamer.exe"
exit 0
}
Catch {
exit 1
}
}

Splashtop_Install

6 replies

Is anyone able to make this work?

We use it all the time. What is the issue you are experiancing?

Never could get it to install.

Did you fill out these field?


$URL=“Your Deployment URL”

$Code=“Your Deployment Code”

Userlevel 3
Badge

Thanks for sharing this Reuben. When I try this, I get Error COMMAND TIMED OUT in the logs. Can I check what the URL should look like - I have:


$URL=“https://my.splashtop.com/team_deployment/download/MYCODE"

$Code=“MYCODE”


Where “MYCODE’” is the code generated when I make the deployment package.


In general, I have little success installing with worklets, although I can make worklets to install certificates and change registry settings fine. I was wondering if it was anything to do with the status of set-executionpolicy on the target machine.

Badge

I am getting the same error. I am unable to install with this worklet. I have it configured correctly as far as i can tell. Any help would be great!

 

-Rob

Reply