Files
install-pcvisit-remotehost/install-pcvisit-remotehost.bat
manuel.maier 45d23f9340 revert 8309853c6a
revert install-pcvisit-remotehost.bat aktualisiert
2026-03-09 14:46:56 +01:00

22 lines
724 B
Batchfile

@echo off
setlocal
set "URL=https://lb3.pcvisit.de/v1/hosted/jumplink?func=download&topic=remoteHostSetup&destname=pcvisit_Remote-Host_Setup&os=osWin32"
set "SETUPFILE=%TEMP%\pcvisit_RemoteHost_Setup.c.F6684590965...g.stable-update.pcvisit.de...exe"
echo Lade aktuelle Version herunter...
powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri '%URL%' -OutFile '%SETUPFILE%'"
if not exist "%SETUPFILE%" (
echo Fehler: Die Datei konnte nicht heruntergeladen werden.
exit /b 1
)
echo Starte Installation...
"%SETUPFILE%" /S /CompanyAccountId=F6684590965 /UseCompanyPreset
del "%SETUPFILE%"
endlocal