Regedit /s %SYSTEMROOT%\Installer\%INSTALLDIR%\%APPMSI%.reg Rd 'C:\Documents and Settings\All Users\Start Menu\Programs\RealVNC' /S /QĮcho (Configuring license and permissions) Start /w %SYSTEMROOT%\Installer\%INSTALLDIR%\%APPMSI%.exe /VERYSILENT /COMPONENTS='vncviewer,winvnc' /TASKS='installservice,launchservice' Xcopy '\\installserver\patches$\00050 - RealVNC Enterprise 4.2.8 - Active\Revision 1.0\Single Files\*.*' C:\winnt\Installer\%INSTALLDIR%\ /Q /Y >NULĮcho (Installing RealVNC Enterprise 4.2.8) If not exist %SYSTEMROOT%\Installer\%INSTALLDIR% md %SYSTEMROOT%\Installer\%INSTALLDIR% If exist 'C:\Program Files\RealVNC\VNC4\winvnc4.exe' 'C:\Program Files\RealVNC\VNC4\unins000.exe' /VERYSILENT If exist 'C:\Program Files\ORL' rd 'C:\Program Files\ORL' /S /Q
If exist 'C:\Program Files\ORL\VNC\WinVNC.exe' C:\WINNT\IsUninst.exe -y -a -f'C:\Program Files\ORL\VNC\Uninst.isu' If exist 'C:\Program Files\ORL\VNC\WinVNC.exe' C:\build\utils\kill winvnc.exe If exist 'C:\Program Files\ORL\VNC\WinVNC.exe' net stop 'VNC Server' Here is our full installation script which also removes older off 'C:\Program Files\RealVNC\VNC4\vncconfig.exe' -noconsole -license XXXXX-XXXXX-XXXXX-XXXXX-XXXXX To enter the serial number information (for Enterprise), first run the VNC installation, then run vncconfig.exe to enter your license key.