The following batch file can detect and install RTC clients on workstations. I have added this to GPO as startup script.
@echo off
wmic product get name,version /format:csv | find “Microsoft Dynamics NAV 2017 RoleTailored Client,10.0.14199.0” if %errorlevel%==0 ( goto:1 ) else ( goto:2 )
:1 echo NAV 2017 version 10.0.14199.0 installed, continue goto:eof
:2 echo Checking if previous version of NAV exist, and uninstall old version if exist “%CommonProgramFiles(x86)%Microsoft Dynamics Nav100Setupsetup.exe” ( echo old version exist, start uninstalling old version “%CommonProgramFiles(x86)%Microsoft Dynamics Nav100SetupSetup.exe” /uninstall /quiet ) echo Installing NAV2017 10.0.14199.0 in background
net use n: {your network path that store the DVD folder} start n:Setup.exe /config n:2017Config.xml /quiet
goto:eof
:eof
—————————— W Mak ERP Director City of Industry CA ——————————
Mathew Ealy
Member
September 25, 2017 at 8:49 AM
Very interesting I had a need to install on only select work stations so I built a powershell script that could be called to install and create a shortcut on the desktop to a shared executable.Ā
import-module \InstallMediaShareNavInstallationTools.psm1 #Install Nav install-navcomponent -configfile \SharenavinstallmediaConfigFile.xml
Please note:
This action will also remove this member from your connections and send a report to the site admin.
Please allow a few minutes for this process to complete.
Report
You have already reported this .
Welcome to our new site!
Here you will find a wealth of information created for peopleĀ that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!