Silent Installer, Updater & De-Installer
Dieser Artikel beschreibt die neuen Parameter für die stille Installation, das stille Update sowie die stille Deinstallation von portier Vision. Ziel ist es, Deployments über Softwareverteilung (z. B. GPO, Intune, SCCM, Scripts) ohne Benutzerinteraktion zuverlässig zu ermöglichen.
1) Überblick: Was ist „silent“?
Bei einer Silent-Ausführung läuft der Setup-Prozess ohne Dialoge im Hintergrund. Das ist ideal für:
- Rollouts auf mehreren Clients
- Standardisierte Installationspfade und Komponenten
- Automatisierte Updates
- Saubere Deinstallationen (z. B. vor Neuinstallation)
Wichtig: Für Silent-Installationen/Updates sind in der Regel Administratorrechte erforderlich.
2) Silent Installer (SetupPortierVision)
Zweck
Installiert portier Vision (und optional Komponenten) ohne Benutzereingaben.
Syntax
"<PFAD_ZUM_INSTALLER>\SetupPortierVision_<VERSION>.exe" /S /vision=<0|1> /firebird=<0|1> /reports=<0|1> /D=<ZIEL_INSTALLATIONSPFAD>
Parameter erklärt
- /S
Startet den Installer im Silent-Modus (keine Dialoge). - /vision=<0|1>
Installiert die Hauptanwendung portier Vision.1= installieren0= überspringen
- /firebird=<0|1>
Installiert (optional) Firebird lokal mit.1= installieren0= überspringen
- /reports=<0|1>
Installiert (optional) Reports/Reporting-Komponenten.1= installieren0= überspringen
- /D=<Pfad>
Zielverzeichnis der Installation.
Wichtig: Der Pfad darf nicht in Anführungszeichen stehen, da NSIS/D=keine quoted paths akzeptiert.
Beispiel
"D:\Installers\SetupPortierVision_5.3.5.exe" /S /vision=1 /firebird=1 /reports=0 /D=C:\portier\vision5
3) Silent Updater (Upgrade_SetupPortierVision)
Zweck
Aktualisiert eine bestehende Installation im Silent-Modus.
3.1 Stilles Update (nur Patch)
Syntax
"<PFAD_ZUM_INSTALLER>\Upgrade_SetupPortierVision_<VERSION>.exe" /S /patch=1 /D=<ZIEL_INSTALLATIONSPFAD>
Beispiel
"D:\Installers\Upgrade_SetupPortierVision_5.3.5.exe" /S /patch=1 /D=C:\portier\vision5
3.2 Stilles Update (Patch + Firebird-Optionen)
Wenn Firebird in das Update einbezogen werden soll, stehen zwei Optionen zur Verfügung:
Syntax
"<PFAD_ZUM_INSTALLER>\Upgrade_SetupPortierVision_<VERSION>.exe" /S /patch=1 /localfb=<0|1> /remotefb=<0|1> /D=<ZIEL_INSTALLATIONSPFAD>
Parameter erklärt
- /patch=1
Patch/Programmupdate ausführen. - /localfb=<0|1>
Upgrade/Anpassung für lokale Firebird-Installationen. - /remotefb=<0|1>
Upgrade/Anpassung für Remote-/Server-Firebird.
Wichtig:/localfb=1 und /remotefb=1 dürfen nicht gleichzeitig aktiv sein.
Beispiel (lokales Firebird Upgrade)
"D:\Installers\Upgrade_SetupPortierVision_5.3.5.exe" /S /patch=1 /localfb=1 /remotefb=0 /D=C:\portier\vision5
Beispiel (Remote Firebird Upgrade)
"D:\Installers\Upgrade_SetupPortierVision_5.3.5.exe" /S /patch=1 /localfb=0 /remotefb=1 /D=C:\portier\vision5
4) Silent Deinstallation (uninst.exe)
Zweck
Deinstalliert portier Vision im Silent-Modus.
Der Uninstaller liegt im Installationsverzeichnis der bestehenden Installation.
Syntax
"<PFAD_ZUM_DEINSTALLER>\uninst.exe" /S
Beispiel
"C:\portier\vision5\uninst.exe" /S
5) Beispiel-Batchdateien (praxisnah)
5.1 Silent Install – Beispielscript
@echo off
SETLOCAL ENABLEEXTENSIONS
:: Full path to the installer EXE (MUST be inside quotes)
SET INSTALLER_PATH="D:\Installers\SetupPortierVision_5.3.5.exe"
:: Installation destination directory (must NOT be inside quotes)
SET INSTALL_DIR=C:\portier\vision5
:: Component selection flags (0 = skip, 1 = install)
SET INSTALL_VISION=1
SET INSTALL_FIREBIRD=1
SET INSTALL_REPORTS=0
echo Running PortierVision Silent Installer...
echo Installer : %INSTALLER_PATH%
echo Target : %INSTALL_DIR%
echo.
%INSTALLER_PATH% /S /vision=%INSTALL_VISION% /firebird=%INSTALL_FIREBIRD% /reports=%INSTALL_REPORTS% /D=%INSTALL_DIR%
echo.
echo Installation Complete.
echo.
ENDLOCAL
pause
5.2 Silent Uninstall – Beispielscript
@echo off
SETLOCAL ENABLEEXTENSIONS
:: Base path to the PortierVision installation directory (no trailing backslash)
SET VISION_DIR=C:\portier\vision5
SET UNINSTALL_EXE=uninst.exe
:: Remove trailing backslash if present
IF "%VISION_DIR:~-1%"=="\" (
SET VISION_DIR=%VISION_DIR:~0,-1%
)
SET UNINSTALLER_PATH="%VISION_DIR%\%UNINSTALL_EXE%"
echo Running PortierVision Silent Uninstaller...
echo Uninstaller : %UNINSTALLER_PATH%
echo.
%UNINSTALLER_PATH% /S
echo.
echo Uninstall Complete.
echo.
ENDLOCAL
pause
5.3 Silent Update – Beispielscript (mit Validierung)
@echo off
SETLOCAL ENABLEEXTENSIONS
:: Full path to the updater EXE (MUST be inside quotes)
SET UPDATER_PATH="D:\Installers\Upgrade_SetupPortierVision_5.3.5.exe"
:: Installation destination directory (must NOT be inside quotes)
SET INSTALL_DIR=C:\portier\vision5
SET UPDATE_PATCH=1
:: Firebird upgrade selection flags (only one can be 1)
SET LOCAL_FIREBIRD_UPGRADE=1
SET REMOTE_FIREBIRD_UPGRADE=0
IF %LOCAL_FIREBIRD_UPGRADE%==1 IF %REMOTE_FIREBIRD_UPGRADE%==1 (
echo ERROR: localfb=1 and remotefb=1 cannot both be enabled at the same time.
echo Please correct the batch configuration.
pause
ENDLOCAL
exit /b 1
)
echo Running PortierVision Silent Updater...
echo Updater : %UPDATER_PATH%
echo Target : %INSTALL_DIR%
echo.
%UPDATER_PATH% /S /patch=%UPDATE_PATCH% /localfb=%LOCAL_FIREBIRD_UPGRADE% /remotefb=%REMOTE_FIREBIRD_UPGRADE% /D=%INSTALL_DIR%
echo.
echo Update Complete.
echo.
ENDLOCAL
pause
6) Typische Stolperfallen & Tipps
- /D=Pfad niemals in Quotes
Beispiel richtig:/D=C:\portier\vision5
Beispiel falsch:/D="C:\portier\vision5" - Installer/Updater Pfad immer in Quotes
Besonders wichtig, wenn der Pfad Leerzeichen enthält. - Firebird Optionen beim Update
Wähle entweder/localfb=1oder/remotefb=1– nie beides. - Logging / Troubleshooting
Wenn ein Deployment fehlschlägt:- Prüfe Adminrechte
- Prüfe Pfade (Installer und Ziel)
- Stelle sicher, dass keine laufende portier Vision Instanz das Update blockiert