Is there an INSTALL parameter to prevent Plex from running automatically after running a “not so silent install”?
setup.exe /S will install the program - silently so to speak - however, Plex runs immediately after the install completes, thus triggering a firewall prompt.
This method is therefore NOT silent when it comes to deploying the application during a Windows deployment.
This is by no means a solution, but there is a workaround until the Plex Developers are capable of making their Windows installer truly “SILENT INSTALL” capable.
The following will initiate the install and limiting the installer GUI:
setup.exe /S
/S is case sensitive. Replace setup.exe with the installer’s filename.
Once the installer completes, Plex.exe will run automatically and thus launching three child processes in its wake. You can terminate them all using the following:
taskkill /f /t /im plex.exe
If you keep previous versions on hand and want to grab the latest one automatically, plug this into a batch file (.bat) and save the script in your Plex folder containing your installers.
When you run the installer, it will grab the last one in the list and run it.
:: Silent Install
@echo off
:EXE - Set Filename as variable
for /f "delims=" %%a in ('dir /b "%~dp0plex*.exe"') do set "name=%%a"
echo %name%
:INSTALL
"%~dp0%name%" /S
taskkill /f /t /im plex.exe
As you can see, the installers all start with plex and end with .exe "%~dp0plex*.exe"
run taskkill /? to see what these parameters do: /f /t /im