Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 new batch files to process all steps at once #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions bin/(InstallAll).bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
@echo off
::
::
:: Please run this bat as an ADMIN by right click -> "Run As Administrator"
::
:: This is from https://github.com/asmtron/rdpwrap
::
::
if not exist "%~dp0RDPWInst.exe" goto :error
call "%~dp0install.bat"
md "%ProgramFiles%\RDP Wrapper\helper\*.*"
copy "%~dp0\helper\*.*" "%ProgramFiles%\RDP Wrapper\helper\*.*"
copy "%~dp0autoupdate.bat" "%ProgramFiles%\RDP Wrapper\"
copy "%~dp0RDPWInst.exe" "%ProgramFiles%\RDP Wrapper\"
call "%ProgramFiles%\RDP Wrapper\autoupdate.bat"
call "%ProgramFiles%\RDP Wrapper\helper\autoupdate__enable_autorun_on_startup.bat"
: "%~dp0RDPConf.exe"
: "%~dp0RDPCheck.exe"
echo ______________________________________________________________
echo.
echo Completed.
echo.
goto :anykey
:error
echo [-] Installer executable not found.
echo Please download from https://github.com/stascorp/rdpwrap/releases and extract all files from the downloaded package or check your anti-virus.
:anykey
pause
22 changes: 22 additions & 0 deletions bin/(UnInstallAll).bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
@echo off
::
::
:: Please run this bat as an ADMIN by right click -> "Run As Administrator"
::
:: This is from https://github.com/asmtron/rdpwrap
::
::
if not exist "%~dp0RDPWInst.exe" goto :error
call "%~dp0uninstall.bat"
call "%ProgramFiles%\RDP Wrapper\helper\autoupdate__disable_autorun_on_startup.bat"
rd /s/q "%ProgramFiles%\RDP Wrapper"
echo ______________________________________________________________
echo.
echo Completed.
echo.
goto :anykey
:error
echo [-] Installer executable not found.
echo Please download from https://github.com/stascorp/rdpwrap/releases and extract all files from the downloaded package or check your anti-virus.
:anykey
pause