Skip to main content

Install Splashtop Streamer

  • December 3, 2020
  • 6 replies
  • 324 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?


  • Author
  • Rookie
  • 3 replies
  • May 4, 2021

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


Never could get it to install.


  • Author
  • Rookie
  • 3 replies
  • July 1, 2021

Did you fill out these field?


$URL=“Your Deployment URL”

$Code=“Your Deployment Code”


Forum|alt.badge.img

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.


Forum|alt.badge.img
  • Rookie
  • 1 reply
  • June 6, 2022

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings