diff --git a/KMSTools/_create_install.bat b/KMSTools/_create_install.bat deleted file mode 100644 index 03ab3d2e..00000000 --- a/KMSTools/_create_install.bat +++ /dev/null @@ -1,37 +0,0 @@ -@pushd "%~dp0" -@call "%~dp0..\.tools\env_tools.bat" - -set latest_folder_version="https://www.solidfiles.com/folder/bd7165a0d4/" -echo Downloading: %latest_folder_version% ... ->raw_download_str.tmp ( - %curl% --location %latest_folder_version% | %grep% "KMS Tools Portable" | %grep% --only-matching "(?<=raw_download_str.tmp ( - %curl% --location %latest_version% | %grep% --only-matching "(?<=""downloadUrl"":"")[^\s]*\.7z(?="")" | %head% -n1 -) -if %errorlevel% neq 0 ( - echo Cannot download latest version - exit /b %errorlevel% -) -set /p download_url= < raw_download_str.tmp -echo Downloading: %download_url% ... -%curl% --remote-name --location %download_url% -if %errorlevel% neq 0 ( - echo Cannot download latest version - exit /b %errorlevel% -) - -for %%i in (%download_url%) do ( - set latest_filename=%%~ni%%~xi -) - -echo Done. -exit /b %errorlevel% diff --git a/MsBuildTools_2015/create_install.bat b/MsBuildTools_2015/create_install.bat deleted file mode 100644 index cb658941..00000000 --- a/MsBuildTools_2015/create_install.bat +++ /dev/null @@ -1,14 +0,0 @@ -@pushd "%~dp0" -@call "%~dp0..\.tools\env_tools.bat" - -set latest_filename=BuildTools_Full.exe -set download_url="https://go.microsoft.com/fwlink/?LinkId=615458" -echo Downloading: %latest_filename% %download_url% ... -%curl% --fail --location %download_url% --output %latest_filename% -if %errorlevel% neq 0 ( exit /b %errorlevel% ) -echo Done. - -echo Generating %latest_filename% autoinstall.bat -echo "%%~dp0%latest_filename%" /passive > autoinstall.bat - -exit /b %errorlevel% diff --git a/WebDeploy/create_install.bat b/WebDeploy/create_install.bat deleted file mode 100644 index b8c65308..00000000 --- a/WebDeploy/create_install.bat +++ /dev/null @@ -1,30 +0,0 @@ -@pushd "%~dp0" -@call "%~dp0..\.tools\env_tools.bat" - -set download_url="https://www.iis.net/downloads/microsoft/web-deploy" ->raw_download_str.tmp ( - %curl% %download_url% | %grep% --only-matching """[^ ]*amd64_en-US.msi""" | %head% -n1 -) -if %errorlevel% neq 0 ( - echo Cannot get latest version - exit /b %errorlevel% -) - -set /p download_url=< raw_download_str.tmp -call set download_url=%%download_url:"=%% -echo Downloading: %download_url% ... -%curl% --remote-name --location %download_url% -if %errorlevel% neq 0 ( exit /b %errorlevel% ) -echo Done. - -for %%i in ("%download_url%") do ( - set latest_filename=%%~ni%%~xi -) - -echo Generating %latest_filename% autoinstall.bat -> autoinstall.bat ( - echo "%%~dp0%latest_filename%" /passive - echo exit /b %%errorlevel%% -) - -exit /b %errorlevel% diff --git a/application-request-routing/create_install.bat b/application-request-routing/create_install.bat deleted file mode 100644 index 4496810c..00000000 --- a/application-request-routing/create_install.bat +++ /dev/null @@ -1,26 +0,0 @@ -@pushd "%~dp0" -@call "%~dp0..\.tools\env_tools.bat" - -set latest_version=https://www.iis.net/downloads/microsoft/application-request-routing ->raw_download_str.tmp ( - %curl% %latest_version% | %grep% --only-matching "(?<=x64)" | %head% -n1 -) -if %errorlevel% neq 0 ( - echo Cannot get latest version - exit /b %errorlevel% -) - -set /p download_url=< raw_download_str.tmp -set latest_filename=requestRouter_amd64.msi -echo Downloading: %download_url% ... -%curl% --location "%download_url%" --output %latest_filename% -if %errorlevel% neq 0 ( exit /b %errorlevel% ) -echo Done. - -echo Generating %latest_filename% autoinstall.bat -> autoinstall.bat ( - echo "%%~dp0%latest_filename%" /passive - echo exit /b %%errorlevel%% -) - -exit /b %errorlevel% diff --git a/uTorrent/_create_install.bat b/uTorrent/_create_install.bat deleted file mode 100644 index 6873010c..00000000 --- a/uTorrent/_create_install.bat +++ /dev/null @@ -1,56 +0,0 @@ -@pushd "%~dp0" -@call "%~dp0..\.tools\env_tools.bat" - -set aria2c=..\aria2\aria2c.exe -if not exist %aria2c% ( - call %batch_runner% aria2 create .bat - if %errorlevel% neq 0 ( exit /b %errorlevel% ) - pushd "%~dp0" -) - -set latest_version=https://antizapret.prostovpn.org/proxy.pac -echo Get proxy from %latest_version% ->raw_download_str.tmp ( - %curl% --location %latest_version% | %grep% "return ""PROXY" | %grep% --only-matching "[^ ]*;" | %head% -n1 -) - -if %errorlevel% neq 0 ( - echo Cannot get proxy - exit /b %errorlevel% -) - -set /p proxy_from_vpn= < raw_download_str.tmp -call set proxy_from_vpn=%%proxy_from_vpn:;=%% -set download_url="https://rutracker.org/forum/viewtopic.php?t=5181383" -echo Download topic %download_url% using proxy: %proxy_from_vpn% ->raw_download_str.tmp ( - %curl% %download_url% --proxy %proxy_from_vpn% | %grep% --only-matching """magnet:?xt[^ ]*""" | %head% -n1 -) - -if %errorlevel% neq 0 ( - echo Cannot get proxy - exit /b %errorlevel% -) - -set /p download_url=< raw_download_str.tmp -call set download_url=%%download_url:"=%% -echo Download uTorrent from %download_url% -%aria2c% --allow-overwrite=true --seed-time=0 --dir=.tmp %download_url% - -echo Generating %latest_filename% autoinstall.bat - ->file_paths_list.tmp ( - dir /s/b .tmp\uTorrent.exe -) -set /p first_file_path=< file_paths_list.tmp -for %%I in (%first_file_path%) do ( - %busybox% cp -v %%~dpI%%~nI.* . -) -if %errorlevel% neq 0 ( exit /b %errorlevel% ) - ->autoinstall.bat ( - echo pushd "%%~dp0" - echo uTorrent.exe /S -) - -exit /b %errorlevel% diff --git a/url-rewrite/create_install.bat b/url-rewrite/create_install.bat deleted file mode 100644 index f20cfa8d..00000000 --- a/url-rewrite/create_install.bat +++ /dev/null @@ -1,30 +0,0 @@ -@pushd "%~dp0" -@call "%~dp0..\.tools\env_tools.bat" - -set latest_version=https://www.iis.net/downloads/microsoft/url-rewrite ->raw_download_str.tmp ( - %curl% %latest_version% | %grep% --only-matching """[^ ]*amd64_en-US.msi""" | %head% -n1 -) -if %errorlevel% neq 0 ( - echo Cannot get latest version - exit /b %errorlevel% -) - -set /p download_url=< raw_download_str.tmp -call set download_url=%%download_url:"=%% -echo Downloading: %download_url% ... -%curl% --remote-name --location %download_url% -if %errorlevel% neq 0 ( exit /b %errorlevel% ) -echo Done. - -for %%i in ("%download_url%") do ( - set latest_filename=%%~ni%%~xi -) - -echo Generating %latest_filename% autoinstall.bat -> autoinstall.bat ( - echo "%%~dp0%latest_filename%" /passive - echo exit /b %%errorlevel%% -) - -exit /b %errorlevel%