add new ini source (contributor sebaxakerhtc)

This commit is contained in:
asmtron 2021-02-06 17:29:14 +00:00 committed by GitHub
parent 69c4b6fff5
commit dfd48dead7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -170,9 +170,9 @@ if "%termsrv_dll_ver%"=="" (
) else ( ) else (
echo [+] Installed "termsrv.dll" version: %termsrv_dll_ver%. echo [+] Installed "termsrv.dll" version: %termsrv_dll_ver%.
) )
REM ---------------------------------------------------------------------------------------- REM ------------------------------------------------------------------------------------------
REM 6) check if installed fileversion is different to the last saved fileversion in registry REM 6) check if installed file version is different to the last saved file version in registry
REM ---------------------------------------------------------------------------------------- REM ------------------------------------------------------------------------------------------
echo [*] Read last "termsrv.dll" version from the windows registry... echo [*] Read last "termsrv.dll" version from the windows registry...
for /f "tokens=2* usebackq" %%a in ( for /f "tokens=2* usebackq" %%a in (
`reg query "HKEY_LOCAL_MACHINE\SOFTWARE\RDP-Wrapper\Autoupdate" /v "termsrv.dll" 2^>nul` `reg query "HKEY_LOCAL_MACHINE\SOFTWARE\RDP-Wrapper\Autoupdate" /v "termsrv.dll" 2^>nul`