diff --git a/optional/install-vncserver.cmd b/optional/install-vncserver.cmd index 1b7a678..8d826c4 100644 --- a/optional/install-vncserver.cmd +++ b/optional/install-vncserver.cmd @@ -1,4 +1,6 @@ @echo off +call check-for-admin +if %ERRORLEVEL% neq 0 exit /b set SOFTWARE=..\software set MSI=vnc-setup.msi