Command-line parameters to silently install your deployable Splashtop streamer

Follow

Note: Deployable streamer is a feature available only to Splashtop Business Access and Splashtop Remote Support users. Download your deployable streamer by logging into my.splashtop.com and clicking on Deployment.

Windows

New installation using EXE

streamer.exe prevercheck /s /i dcode=your_code,confirm_d=0,hidewindow=1

Upgrade using EXE

streamer.exe prevercheck /s /i confirm_d=0,hidewindow=1

Replace "streamer.exe" with the actual file name of your streamer installer.

Replace "your_code" with your own 12-digit deployment code.

Note that there is no space after each comma.

Parameters:

  • prevercheck: (required)
  • /s: Silent installation. Bypass InstallShield prompts.
  • /i: Run in command-line mode (required).
  • dcode=your_code: Inject your 12-digit deployment code to automatically associate the streamer with your Splashtop Business team.
  • confirm_d=0: Do not show the confirmation prompt when injecting deployment code.
  • hidewindow=1: Do not show the Streamer window after installation.
  • sec_opt=number: Security option (0: No additional password, 1: Require security code, 2: Require Windows login on).
  • sec_code=your_security_code: Choose the security code to use (no space or special symbols allowed).

New installation using MSI

msiexec /norestart /qn /i streamer.msi USERINFO="dcode=your_code,hidewindow=1"

Upgrade using MSI:

msiexec /norestart /qn /i streamer.msi REINSTALL=ALL REINSTALLMODE=vomus MSIENFORCEUPGRADECOMPONENTRULES=1 CA_UPGRADE=1 USERINFO="hidewindow=1"

Replace "streamer.msi" with the actual file name of your streamer MSI installer.

Replace "your_code" with your own 12-digit deployment code.

Note that there is no space after the comma.

Parameters:

  • /qn: Silent installation.
  • /i: Run in command-line mode (required).
  • hidewindow=1: Do not show the Streamer window after installation.
  • dcode=your_code: Inject your 12-digit deployment code to automatically associate the streamer with your Splashtop Business team.
  • sec_opt=number: Security option (0: No additional password, 1: Require security code, 2: Require Windows login on).
  • sec_code=your_security_code: Choose the security code to use (no space or special symbols allowed).

Uninstallation

Silent uninstall: Streamer.exe msiexec /qn /x setup.msi

This uninstallation command works for both EXE and MSI installations.

 

Mac OS X

sudo ./deploy_splashtop_streamer.sh -i streamer.dmg -d your_code -w 0 -s 0 -v 0

Replace with the appropriate installer image file name and your own 12-digit code.

Download the script file Deploy_splashtop_streamer.sh.zip below (uploaded March 22, 2016).

Parameters:

  • -d your_code: Inject your 12-digit deployment code to automatically associate the streamer with your Splashtop Business team.
  • -w 0: Do not show the confirmation prompt when injecting deployment code.
  • -s 0: Do not show the streamer window after installation.
  • -v 0: Do not install Soundflower driver. This helps with deployment via Munki.
    Installing Soundflower driver will hang if the Mac has no users logged in at the time of deployment.

 

Have more questions? Submit a request

Comments

  • Avatar
    John

    This post is helpful but it does not include a function on how to create a URL for clients to be able to click on to run a silent and/or hidden install.  Even if we the consumer host the files in the cloud we should be able to link everything together so that the end users are always installing with the most up to date version as even the updater software doesn't grab the most up to date version and I find myself constantly manually update all of my managed machines and unmanaged machines I update as customers need support

  • Avatar
    Paul

    Agreed! I would like to have a URL for the customer to click on which will then do a silent download + install.

  • Avatar
    Rgriggs

    I agree - having a separate executable for automatic silent installs would be perfect - this avoids having to walk the user through typing in these extremely tedious commands - something most users won't do.  The Deployment Wizard should give the option of generating a silent install EXE, which already has the 12-digit code built in, not requiring the end-user to do anything except run the file.

  • Avatar
    Paul

    I am a little disappointed that we still do not have a response from SplashTop, so I thought I would share my approach. It is not "perfect" but may be of interest never the less. Please comment.

    1. I created a Group called New Installs - by installing here, I can clearly see what is new
    2. I created a Deployment package, with "Require password" unticked, and  whatever other choices I wanted
    3. I downloaded the Windows Install EXE file and renamed it to something shorter
    4. I noted the 12 character Code
    5. I created a simple INSTALL.CMD file (see further down this post)
    6. I then created a ZIP file comprising the .CMD and .EXE files (you could experiment with auto extract zip files)
    7. I can then share this ZIP file by whatever means convenient, e.g. DropBox, personal website or email, etc.

    The end user then just extracts the zip file and runs the .CMD script.

    Here is the INSTALL.CMD (feel free to modify, make sure that the .EXE filename and the CODE is replaced with yours)

    @echo off

    cls

    echo.

    echo This will install RemekTek Remote Connection facility using SplashTop

    echo.

    echo To Cancel, press Ctrl+C keys and then answer Y followed by the Enter key

    echo otherwise,

    echo.

    pause

    echo.

    echo Installation will take up to 1 minute!

    echo This window will close when task is complete. Please wait...

    echo.

    YOUR-INSTALLER.exe prevercheck /s /i dcode=YOUR-CODE,confirm_d=0,autologin=1,hidewindow=1

    exit

  • Avatar
    Paul

    Ops, - just delete "RemekTek" in the .CMD file, which is my operating name. Sorry!

  • Avatar
    Esippel

    To get this into a link on my website I used a free batch compiler and converted the string into an EXE. Feel free to contact me if you have questions.

  • Avatar
    Jon

    Esippei

    I would like to learn how you did what you described. How do I contact you?

  • Avatar
    Esippel

    Hi Jon. I have made changes since I posted this. I just created a new script using AutoIT. (it is free to download and use) https://www.autoitscript.com/site/autoit/downloads/ 

     

    I haven’t tried it but let me know how it does. You will have to add your code where it says ‘yourCodeHere’.

     

    --------------------------- Start Script ---------------------------

    #AutoIt3Wrapper_icon=D:\SNI\kicApp.ico ; Set your favorite icon

    #AutoIt3Wrapper_UseX64=N ; Compile 32bit or 64bit

    #include <FileConstants.au3>

     

    ;

    ; Platform:       x32

    ; Author:         Ed

    ; Last Update: 4/29/15 10:35

    ;

    ; Script Function: Install SplashTop for production support.

     

    ; First things first. Set variables.

    Local $binFldr = "C:\bin\"

     

    ; Check if the "bin" folder exists. If not, create it.

    IF DirGetSize($binFldr) = -1 Then DirCreate($binFldr)

     

    ; Drop SplshTop install into the 'bin'.

    FileInstall("D:\OneDrive\Bin\Scripts\SplashTop\Splashtop_Streamer_Windows_v2.6.5.4.exe", "C:\bin\Splashtop_Streamer_Windows_v2.6.5.4.exe", $FC_OVERWRITE)

     

    ; Run it.

    Run("C:\bin\Splashtop_Streamer_Windows_v2.6.5.4.exe prevercheck /i dcode=yourCodeHere,confirm_d=0,autologin=1,hidewindow=1","C:\bin",@SW_HIDE)

     

    ; Finished!

    --------------------------- End Script ---------------------------

     

    I have two codes, one for PCs I manage, that lets me in with no questions asked, and another code for supporting outside customers that pops the box asking if its ok to let me connect. If you still want to contact me, you can send me an email at junkmail @ edsplace.com.

  • Avatar
    Brad.Lane

    I've developed anohter way to so it which i think is pretty easy.

    To create a self-installing package you can use a program that comes with windows called IExpress Wizard

    1. Open c:\windows\system32\iexpress.exe
    2. Create a new 'Self Extracting Directive' (SED) file
    3. Choose 'extract files and run an installation command'
    4. Give your package a name
    5. Choose if you want a confirmation prompt
    6. Choose if you want a licence agreement
    7. Add your streamer.exe file
    8. In 'install program' put: streamer.exe prevercheck /s /i dcode=YOUR_CODE_HERE,confirm_d=0,autologin=1,hidewindow=1
      leave post install command as 'none'
    9. Leave show window on 'default' (it will be hidden anyway by the streamer command above)
    10. Choose if you want a finish message
    11. Choose where you want to save the new EXE file and also if you want to hide the extraction progress animation
    12. Leave on 'only restart if needed'
    13. Choose where to save the SED file. This will help if you need to modify it later
    14. The new EXE will now be created

    These SED files are then text editable in notepad, which is handy!

  • Avatar
    Umberto

    BRAD THX a lot for your fast, easy and working post !!!

  • Avatar
    Julianmatz

    How do you get around the user privilege escalation in the IExpress Wizard? Without the UAC prompt, the installer fails with an error message.

  • Avatar
    Esippel

    Hi Julianmatz,

    What happens if you right click on the install file and select 'Run as Administrator'? Does it work then?

  • Avatar
    Julianmatz

    I was hoping to avoid the "Run as Administrator" command. The less user interaction needed, the better. But I found this batch compiler, and it's working pretty well.

    http://www.abyssmedia.com/quickbfc/

    It let's you add all the files, write the batch script right in the interface, add a logo icon to the application, and set a flag if the application requires administrator privileges, which gets added to the application manifest automatically. So, the only thing the user needs to confirm is the UAC prompt.

  • Avatar
    Esippel

    Thanks for  the update. I was just wondering if that was the only issue. Sounds good. I use AutoIT (free to use) to do the same thing, when needed, but typically UAC is disabled on most of the PCs I run across. I'm navigating through Windows 10 now.

  • Avatar
    Julianmatz

    Ahh, I didn't try it. I did try using an .inf file with CheckAdminRights=1, but that was causing other errors. I think "Failed to load resource" or something. But the batch compiler was very easy and quick to use. I did download AutoIT and had a quick look, but it seemed a bit more complicated, and my patience was almost exhausted after trying IExpress for so long :)

  • Avatar
    Esippel

    LOL. Yea. AutoIT is a scripting tool. I don't get a chance to write scripts very often so I use it in an effort to salvage a few skills, as I mostly do project management these days. Glad to hear its working for you.  --ed

  • Avatar
    Arun

    @Julianmatz I've tried the quickbfc and it works well, but do you know if there's any limitation because it said it's a trial version.. They mentioned that DEMO version will create EXEs with a reminder, but I couldn't see any reminder when testing my created exe...

     

  • Avatar
    Julianmatz

    Hmm, I guess I missed that. I've done maybe 5 installations with the compiled EXE, but I didn't see any reminders or nag messages.

  • Avatar
    Julianmatz

    If in doubt, there's another freeware compiler that works equally as well. The UI might even be a little nicer. Here's a link:

    http://www.f2ko.de/en/b2e.php

    Just be sure to select advanced installation option if you want to unselect the bundled "tune-up" utilities when installing the compiler. When compiling your EXE, change "working directory" to "temp directory", add administrator manifest under options, select "overwrite existing files" to suppress dialogs during installation, and paste the following into your BAT editor:

    @echo off

    cls

    echo.

    echo Installing the [APP NAME]...

    echo.

    echo Installation can take up to a few minutes.

    echo Please wait...

    echo.

    %b2eincfilepath%\streamer.exe prevercheck /s /i dcode=[CODE],confirm_d=0,autologin=1,hidewindow=1

    echo.

    echo Installation has completed.

    pause

    exit

    ...Or a variation thereof.

  • Avatar
    Arun

    Perfect! Thank you so much, the Bat to Exe compiler had a portable version inside it so I didn't have to install the app, just used that, added icon and made the exe in minutes. Works flawlessly!

  • Avatar
    Tony.Bramell

    I used the PSEXEC tool in a batch file to install the streamer to my clients.  PSEXEC is available free as part of a suite of Sysinternal utilities (or by itself) that are quite useful for remote troubleshooting.  The link to download is below.

    https://technet.microsoft.com/en-us/sysinternals/bb897553.aspx?f=255&MSPPError=-2147217396

    Here are my command lines. The "@machines" parameter is a text file containing all of the machines where I want the streamer installed - 1 machine per line.  You can also call the batch file with \%1 in this position to push the client to a single machine.  Substitute your admin-level credentials where noted in the form of domain\username.  Using user@domain didn't work for me.  Also below is a batch file to "remove" Logmein - although I have noticed that it doesn't actually remove it totally; only partially unfortunately.  I haven't spent much time on that aspect.  The remnants of Logmein do not appear to interfere with Splashtop's functonality and the machines quit reporting to my Logmein account.

    The position of the quotes are key to these working properly.  It took me a lot of time to figure that out.

    Install streamer to a list of machines:

    psexec @machines -u <username> -p <password> \server\share\splashtop2.6.5.12.exe prevercheck /s /i dcode=<your code>,confirm_d=0,autologin=1,hidewindow=1

    To install to a single machine:

    psexec \%1 -u <username> -p <password> \server\share\splashtop2.6.5.12.exe prevercheck /s /i dcode=<your code>,confirm_d=0,autologin=1,hidewindow=1

    Put the command above in a batch file and execute like "splashtop_install pc1" if your batch file is called "splashtop_install"

     

    "Remove" Logmein from a list of machines:

    psexec @machines -u <user name> -p <password> "c:\program files\logmein\x64\logmein" uninstall

    "Remove" Logmein from a single machine:

    psexec \%1 -u <username> -p <password> "c:\program files\logmein\x64\logmein" uninstall

     

    I hope this helps others.

  • Avatar
    Nico.Just

    I case you created a exe with iexpress.exe I suggest to use mt.exe from the ms sdk to get windows to prompt for elevation by changing the "requestedExecutionLevel" in the manifest. I found a nice blogpost with a howto: http://researchaholic.com/2010/07/15/how-to-set-an-exe-to-require-admin-authority-uac-on-launch/

     

    Search for "Using Windows SDK MT.exe"

    Worked fine for me!

  • Avatar
    Nico.Just

    Sorry for double posting, in my previous post the url is not working, try this: http://goo.gl/PV8Gz0

     

  • Avatar
    Support

    Using part of the Mac script I was able to get an install working on computer provisioned by Munki and have the Deploy code inserted. The Streamer then launches and asks for  security access confirmation. After clicking okay and quitting the application another dialog appears to inform about Energy Saver / Sleep settings. Is there any way to add these two interruptions into the "silent install" capabilities of the script?

  • Avatar
    Willg

    Install from command line worked fine except using dcode=[CODE] with my 12 digit code doesn't populate on the local client - I'd have to remote in another way and enter access code under settings of streamer.  Anyone else experience this or have any suggestions?

    Thanks

  • Avatar
    Willg

    never mind .. I had previous streamer installer.....   works fine

  • Avatar
    Support

    Mac installs:

    I am now able to deploy the streamer silently and with deploy code injected To Macs via my Munki server using a "Pre-install" script.

     

     

  • Avatar
    Support

    This no longer seems to work since the latest Streamer update.  Even after deployed, you have to click "Allow access" on the machine.  It's a problem...

  • Avatar
    Support

    @ Support,

    It still works according to internal test result. Does the issue happen on every computer you have?

  • Avatar
    Esippel

    I have had the same problem. It seems to be random. Some PCs I have to configure manually and some will auto configure based on the script I have created.