diff --git a/bin/helper/autoupdate__disable_autorun_on_startup.bat b/bin/helper/autoupdate__disable_autorun_on_startup.bat new file mode 100644 index 0000000..9109532 --- /dev/null +++ b/bin/helper/autoupdate__disable_autorun_on_startup.bat @@ -0,0 +1,9 @@ +@echo off +if exist "%~dp0autoupdate.bat" ( + call "%~dp0autoupdate.bat" -taskremove +) else ( + if exist "%~dp0..\autoupdate.bat" ( + call "%~dp0..\autoupdate.bat" -taskremove + ) +) +pause \ No newline at end of file diff --git a/bin/helper/autoupdate__enable_autorun_on_startup.bat b/bin/helper/autoupdate__enable_autorun_on_startup.bat new file mode 100644 index 0000000..b18d7f7 --- /dev/null +++ b/bin/helper/autoupdate__enable_autorun_on_startup.bat @@ -0,0 +1,9 @@ +@echo off +if exist "%~dp0autoupdate.bat" ( + call "%~dp0autoupdate.bat" -taskadd +) else ( + if exist "%~dp0..\autoupdate.bat" ( + call "%~dp0..\autoupdate.bat" -taskadd + ) +) +pause \ No newline at end of file diff --git a/bin/helper/autoupdate__info.txt b/bin/helper/autoupdate__info.txt new file mode 100644 index 0000000..28a0aef --- /dev/null +++ b/bin/helper/autoupdate__info.txt @@ -0,0 +1,47 @@ + ------------------------------------------------------------------- + + autoupdate.bat + + Automatic RDP Wrapper installer and updater // asmtron (12-06-2020) + ------------------------------------------------------------------- + Options: + -log = redirect display output to the file autoupdate.log + -taskadd = add autorun of autoupdate.bat on startup in schedule task + -taskremove = remove autorun of autoupdate.bat on startup in schedule task + + Info: + The autoupdater first use and check the official rdpwrap.ini. + If a new termsrv.dll is not supported in the offical rdpwrap.ini, + autoupdater first tries the asmtron rdpwrap.ini (disassembled and + tested by asmtron). The autoupdater will also use rdpwrap.ini files + of other contributors like the one of "affinityv, DrDrrae, saurav-biswas". + Extra rdpwrap.ini sources can also be defined... + + { Special thanks to binarymaster and all other contributors } + + + + + INSTALL of RDP Wrapper and Autoupdater + ====================================== + + 1. Copy the files from the archive "RDPWrap-v1.6.2.zip" (or newer) to the "%ProgramFiles%\RDP Wrapper" directory + + DO NOT use other location to install/extract the RDP Wrapper files. + USE ONLY the "%ProgramFiles%\RDP Wrapper" directory (normally C:\Program Files\RDP Wrapper) + + + 2. Copy the files/folder from the archive "autoupdate.zip" (or newer) to the "%ProgramFiles%\RDP Wrapper" directory + + + 3. To enable autorun of autoupdate.bat on system startup, run the folling helper batch file as administrator: + + "%ProgramFiles%\RDP Wrapper\helper\autoupdate__enable_autorun_on_startup.bat" + + + 4. Set in your Antivirus/WindowsDefender an exclusion on the folder "%ProgramFiles%\RDP Wrapper" to prevent the deletion of RDP Wrapper files + + + 5. Now you can use the autoupdate batch file to install and update the RDP Wrapper. Please run autoupdate.bat as administrator: + + "%ProgramFiles%\RDP Wrapper\autoupdate.bat"