@echo off set VERSION=%1 set novasetup=NovaSetup_x64.msi set novasetuppatch=NovaPatch_x64.msp set lang=1031.mst set licclient=NovaLicenseClient.Setup.msi :: download Trimble Nova Install files "%SYSTEMROOT%\System32\bitsadmin.exe" /transfer /download https://pxe.intern.bnvb-ingenieure.de/nova/%VERSION%/Data/%novasetup% %TEMP%\%novasetup% >NUL "%SYSTEMROOT%\System32\bitsadmin.exe" /transfer /download https://pxe.intern.bnvb-ingenieure.de/nova/%VERSION%/Data/%novasetuppatch% %TEMP%\%novasetuppatch% >NUL "%SYSTEMROOT%\System32\bitsadmin.exe" /transfer /download https://pxe.intern.bnvb-ingenieure.de/nova/%VERSION%/Languages_x64/%lang% %TEMP%\%lang% >NUL :: download Nova License Client "%SYSTEMROOT%\System32\bitsadmin.exe" /transfer /download https://pxe.intern.bnvb-ingenieure.de/nova/%VERSION%/LicenseClient/%licclient% %TEMP%\%licclient% >NUL cd "%TEMP%" :: install Trimble Nova msiexec /i "%novasetup%" PATCH="%TEMP%\%novasetuppatch%" TRANSFORMS="%TEMP%\%lang%" /quiet /norestart msiexec /i "%licclient%" /quiet /norestart