From 5b73d15f0ec7101dfdc19c5c85d32589ab24ef05 Mon Sep 17 00:00:00 2001
From: Matthew Clark <43628254+mon5termatt@users.noreply.github.com>
Date: Thu, 30 Dec 2021 05:20:32 -0600
Subject: [PATCH] Delete medcatinstaller.bat
---
installer/medcatinstaller.bat | 371 ----------------------------------
1 file changed, 371 deletions(-)
delete mode 100644 installer/medcatinstaller.bat
diff --git a/installer/medcatinstaller.bat b/installer/medcatinstaller.bat
deleted file mode 100644
index 4b81027..0000000
--- a/installer/medcatinstaller.bat
+++ /dev/null
@@ -1,371 +0,0 @@
-@ECHO OFF
-REM BFCPEOPTIONSTART
-REM Advanced BAT to EXE Converter www.BatToExeConverter.com
-REM BFCPEEXE=F:\Medicat\Medicat Installer.exe
-REM BFCPEICON=C:\Users\Matt\Downloads\MediCat_Installer.ico
-REM BFCPEICONINDEX=-1
-REM BFCPEEMBEDDISPLAY=0
-REM BFCPEEMBEDDELETE=1
-REM BFCPEADMINEXE=1
-REM BFCPEINVISEXE=0
-REM BFCPEVERINCLUDE=1
-REM BFCPEVERVERSION=1.0.1.0
-REM BFCPEVERPRODUCT=MEDICAT INSTALLER
-REM BFCPEVERDESC=INSTALL MEDICAT USB WITH GUIDED PROMPTS
-REM BFCPEVERCOMPANY=HTTPS://MEDICATUSB.XYZ
-REM BFCPEVERCOPYRIGHT=HTTPS://MON5TERMATT.CLUB
-REM BFCPEOPTIONEND
-@ECHO ON
-@echo OFF & setlocal enabledelayedexpansion
-set ver=1011
-mode con:cols=70 lines=18
-cls && goto:startup
-
-
-REM -- WARN FOR ANTIVIRUS AND CHECK FOR UPDATE TO PROGRAM
-:startup
-title Medicat Installer [ANTIVIRUS]
-echo.II-----------------------------------------------------------II
-echo.II-----------------------------------------------------------II
-echo.IIII IIII
-echo.IIII DUE TO THE PACKED FILES IN THIS IIII
-echo.IIII PROGRAM THE ANTIVIRUS MUST BE OFF IIII
-echo.IIII IIII
-echo.IIII PLEASE MAKE SURE ANTIVIRUS IS OFF IIII
-echo.IIII BEFORE CONTINUING TO USE THIS PROGRAM IIII
-echo.IIII IIII
-echo.IIII IIII
-echo.II-----------------------------------------------------------II
-echo.II-----------------------------------------------------------II
-echo. Press any key to bypass this warning.&& pause >nul
-:checkupdateprogram
-title Medicat Installer [FILECHECK]
-ECHO.GETTING REQUIRED FILES FROM SERVER.
-powershell -c "Invoke-WebRequest -Uri 'http://cdn.medicatusb.xyz/files/installer/curver.ini' -OutFile './curver.ini'"
-set /p remver= < curver.ini
-del curver.ini /Q
-if "%ver%" == "%remver%" (goto cont) else (goto updateprogram)
-:updateprogram
-echo.this program must be updated to continue.
-echo.Updating. Please Restart when complete
-timeout 3 > nul
-powershell -c "Invoke-WebRequest -Uri 'https://cdn.medicatusb.xyz/files/installer/Medicat Installer.exe' -OutFile './MEDICAT_NEW.EXE'"
-powershell -c "Invoke-WebRequest -Uri 'http://cdn.medicatusb.xyz/files/installer/update.bat' -OutFile './update.bat'"
-start cmd /k update.bat
-exit
-
-
-
-
-REM -- IF NO UPDATE FOUND THEN CONTINUE DOWNLOADING THE REMAINING FILES AND CHECK IF THEY DOWNLOADED
-:cont
-powershell -c "Invoke-WebRequest -Uri 'http://cdn.medicatusb.xyz/files/installer/motd.txt' -OutFile './motd.txt'"
-powershell -c "Invoke-WebRequest -Uri 'http://cdn.medicatusb.xyz/files/installer/7z.bat' -OutFile './7z.bat'"
-powershell -c "Invoke-WebRequest -Uri 'http://cdn.medicatusb.xyz/files/installer/ver.ini' -OutFile './ver.ini'"
-powershell -c "Invoke-WebRequest -Uri 'http://cdn.medicatusb.xyz/files/installer/LICENSE.txt' -OutFile './LICENSE.txt'"
-:check1
-if exist "%CD%\7z.bat" (goto check2) else (goto startupwait)
-:check2
-if exist "%CD%\ver.ini" (goto check3) else (goto startupwait)
-:check3
-if exist "%CD%\LICENSE.txt" (goto 7z) else (goto startupwait)
-:startupwait
-echo.Couldnt find one or more files, retrying
-timeout 3>nul
-goto startup
-
-
-
-REM -- EXTRACT THE 7Z FILES BECAUSE THAT SHIT IS IMPORTANT
-:7z
-set /p ver= < ver.ini
-CALL 7z.bat
-DEL ver.ini /Q
-DEL 7z.bat /Q
-cls
-:check5
-set goto=filedone
-goto updateventoy
-
-REM -- GO TO END OF FILE FOR MOST EXTRACTIONS
-
-REM -- WHEN DONE EXTRACTING VENTOY, TYPE LICENCE AND CONTINUE
-
-:filedone
-mode con:cols=100 lines=30
-type LICENSE.txt
-echo.
-echo.Press any Key to Continue (x2)
-pause > nul
-pause > nul
-goto askdownload
-
-:askdownload
-if exist "%CD%\MediCat Main Partition.zip" (goto warnventoy) else (goto dlcheck2)
-:dlcheck2
-if exist "%CD%\*.001" (goto warnventoy) else (goto dlcheck3)
-:dlcheck3
-cls
-mode con:cols=70 lines=18
-echo.II-----------------------------------------------------------II
-echo.II-----------------------------------------------------------II
-echo.IIII IIII
-echo.IIII COULD NOT FIND THE MEDICAT FILE(S). IIII
-echo.IIII HAVE YOU DOWNLOADED THEM? IIII
-echo.IIII IIII
-echo.IIII (EITHER *.001 or the main .RAR) IIII
-echo.IIII IIII
-echo.IIII WOULD YOU LIKE TO DOWNLOAD THEM? IIII
-echo.IIII ( Y / N ) IIII
-echo.II-----------------------------------------------------------II
-echo.II-----------------------------------------------------------II
-choice /C:YN /N /M "Y/N"
-if errorlevel 2 cls && goto warnventoy
-if errorlevel 1 cls && goto bigboi
-
-
-
-REM -- PROMPT USER TO INSTALL VENTOY TO THE USB DRIVE. VENTOY STILL NEEDS TO BE THERE EVEN IF USER ALREADY HAS IT.
-
-:warnventoy
-title Medicat Installer [VENTOYCHECK]
-cd .\INSTRUCTIONS\Ventoy2Disk\
-start Ventoy2Disk.exe
-cd ..\..\
-mode con:cols=70 lines=18
-echo.II-----------------------------------------------------------II
-echo.II-----------------------------------------------------------II
-echo.IIII IIII
-echo.IIII THIS PROGRAM REQUIRES YOU TO IIII
-echo.IIII HAVE VENTOY INSTALLED TO THE IIII
-echo.IIII USB DRIVE YOU WILL BE ADDING IIII
-echo.IIII MEDICAT USB TO. PLEASE DO SO IIII
-echo.IIII BEFORE ATTEMPTING TO RUN THE IIII
-echo.IIII INSTALL SCRIPT IIII
-echo.IIII IIII
-echo.II-----------------------------------------------------------II
-echo.II-----------------------------------------------------------II
-echo. Press any key to bypass this warning.&& pause >nul
-
-
-
-REM -- THE MAIN MENU, THE HOLY GRAIL.
-
-:menu
-title Medicat Installer [%ver%]
-mode con:cols=70 lines=18
-type motd.txt
-echo.
-echo.II-----------------------------------------------------------II
-echo.II-----------------------------------------------------------II
-echo.IIII IIII
-echo.IIII MEDICAT INSTALLER IIII
-echo.IIII IIII
-echo.IIII [1] INSTALL TO USB IIII
-echo.IIII IIII
-echo.IIII IIII
-echo.IIII IIII
-echo.IIII [2] Site [3] Exit IIII
-echo.IIII IIII
-echo.IIII VERSION %ver% BY MON5TERMATT. IIII
-echo.II-----------------------------------------------------------II
-echo.II-----------------------------------------------------------II
-choice /C:123 /N /M "Choice 1-4:"
-if errorlevel 3 cls && exit
-if errorlevel 2 cls && goto medicatsite
-if errorlevel 1 cls && goto install1
-
-
-
-REM -- INSTALLER
-
-:install1
-
-if exist "%CD%\*.zip.001" (goto warnhash) else (goto install2)
-REM -- IF DOWNLOADED IN PARTS, ASK USER IF THEY WANT TO DOWNLOAD THE HASH CHECKER (FIXER.EXE)
-
-:warnhash
-title Medicat Installer [HASHCHECK]
-cls
-if exist "%CD%\*.zip.001" (echo..001 Exists) else (goto gdriveerror)
-if exist "%CD%\*.zip.002" (echo..002 Exists) else (goto gdriveerror)
-if exist "%CD%\*.zip.003" (echo..003 Exists) else (goto gdriveerror)
-if exist "%CD%\*.zip.004" (echo..004 Exists) else (goto gdriveerror)
-if exist "%CD%\*.zip.005" (echo..005 Exists) else (goto gdriveerror)
-if exist "%CD%\*.zip.006" (echo..006 Exists) else (goto gdriveerror)
-echo.All Drive Files Exist (HASHES NOT CHECKED)
-echo.
-echo.IT LOOKS LIKE YOU DOWNLOADED MEDICAT IN PARTS.
-echo.WOULD YOU LIKE TO MAKE SURE THEY DOWNLOADED PROPERLY!?
-choice /C:YN /N /M "Y/N"
-if errorlevel 3 cls && exit
-if errorlevel 2 cls && goto install2
-if errorlevel 1 cls && goto hasher
-
-:gdriveerror
-echo.IT LOOKS LIKE YOU DOWNLOADED MEDICAT IN PARTS.
-echo.WE COULDNT FIND ONE OF THEM. DID YOU DOENLOAD ALL SIX?
-echo.
-echo.Press Any Key To Exit
-pause> nul
-exit
-
-:install2
-mode con:cols=100 lines=15
-echo.We now need to find out what drive you will be installing to.
-REM - FOLDER PROMPT STARTS
-set "psCommand="(new-object -COM 'Shell.Application')^
-.BrowseForFolder(0,'Please choose a folder.',0,0).self.path""
-for /f "usebackq delims=" %%I in (`powershell %psCommand%`) do set "folder=%%I"
-REM - AND ENDS
-set drivepath=%folder:~0,1%
-Echo Warning this will reformat the entire %drivepath%: disk!
-ECHO. you will be prompted to hit enter a few times.
-pause
-format %drivepath%: /FS:NTFS /x /q /V:Medicat
-goto installversion
-
-:error
-echo.nothing was chosen, try again
-timeout 5
-goto install2
-
-REM -- CHECK WHICH VERSION USER DOWNLOADED
-
-:installversion
-if exist "%CD%\MediCat Main Partition.zip" (goto install4) else (goto installversion2)
-:installversion2
-if exist "%CD%\MediCat USB v%ver%.zip.001" (goto install5) else (goto installerror)
-
-:installerror
-mode con:cols=70 lines=18
-echo.II-----------------------------------------------------------II
-echo.II-----------------------------------------------------------II
-echo.IIII IIII
-echo.IIII IIII
-echo.IIII IIII
-echo.IIII THE INSTALLER COULD NOT FIND MEDICAT IIII
-echo.IIII PLEASE MANUALLY SELECT THE ZIP FILE! IIII
-echo.IIII IIII
-echo.IIII PRESS ANY KEY TO OPEN THE FILE PROMPT! IIII
-echo.IIII IIII
-echo.II-----------------------------------------------------------II
-echo.II-----------------------------------------------------------II
-pause> nul
-
-set dialog="about:"
-
-for /f "tokens=* delims=" %%p in ('mshta.exe %dialog%') do set "file=%%p"
-mode con:cols=100 lines=15
-goto install6
-
-
-REM -- ACTUALLY EXTRACT/INSTALL
-
-:install4
-set file="MediCat Main Partition.zip"
-7z x -o%drivepath%: %file% -r -aoa
-goto deletefiles
-
-:install5
-set file="MediCat USB v%ver%.zip.001"
-7z x -o%drivepath%: %file% -r -aoa
-goto deletefiles
-
-:install6
-7z x -o%drivepath%: "%file%" -r -aoa
-goto deletefiles
-
-
-REM -- FILE CLEANUP
-
-:deletefiles
-del motd.txt /q
-del 7z.exe /Q
-del 7z.dll /Q
-echo.Would you like to delete the downloaded files?
-echo.(everything in the folder you ran this from)
-choice /C:YN /N /M "Y/N"
-if errorlevel 2 cls && exit
-if errorlevel 1 cls && goto deleter
-
-:deleter
-cls
-Set _folder="%~dp0"
-Attrib +R %0
-PUSHD %_folder%
-If %errorlevel% NEQ 0 goto:eof
-ECHO Delete all contents of the folder: %_folder% ?
-choice /C:YN /N /M "Y/N"
-if errorlevel 2 cls && exit
-if errorlevel 1 cls && goto YYEESS
-:YYEESS
-Del /f /q /s /a:-R %_folder% >NUL
-:: Delete the folders
-For /d %%G in (%_folder%\*) do RD /s /q "%%G"
-Attrib -R %0
-Popd
-exit
-:hasher
-powershell -c "Invoke-WebRequest -Uri 'http://cdn.medicatusb.xyz/files/installer/Fixer.exe' -OutFile './Fixer.exe'"
-start Fixer.exe
-goto warnventoy
-
-
-:medicatsite
-start https://medicatusb.xyz
-goto menu
-
-:updateventoy
-powershell -c "Invoke-WebRequest -Uri 'http://cdn.medicatusb.xyz/files/installer/ventoy.bat' -OutFile './ventoy.bat'"
-cls
-call ventoy.bat
-cls
-DEL ventoy.bat /Q
-goto %goto%
-
-:bigboi
-cls
-mode con:cols=70 lines=18
-echo.II-----------------------------------------------------------II
-echo.II-----------------------------------------------------------II
-echo.IIII IIII
-echo.IIII IIII
-echo.IIII WOULD YOU LIKE TO USE THE TORRENT IIII
-echo.IIII TO DOWNLOAD THE LATEST VERSION? IIII
-echo.IIII IIII
-echo.IIII IIII
-echo.IIII Y / N IIII
-echo.IIII IIII
-echo.II-----------------------------------------------------------II
-echo.II-----------------------------------------------------------II
-choice /C:YN /N /M "Y/N"
-if errorlevel 2 cls && goto drivedown
-if errorlevel 1 cls && goto tordown
-:drivedown
-cls
-mode con:cols=70 lines=18
-echo.II-----------------------------------------------------------II
-echo.II-----------------------------------------------------------II
-echo.IIII IIII
-echo.IIII IIII
-echo.IIII WOULD YOU LIKE TO USE THE TORRENT IIII
-echo.IIII TO DOWNLOAD THE LATEST VERSION? IIII
-echo.IIII IIII
-echo.IIII IIII
-echo.IIII OK USING GOOGLE DRIVE INSTEAD IIII
-echo.IIII IIII
-echo.II-----------------------------------------------------------II
-echo.II-----------------------------------------------------------II
-powershell -c "Invoke-WebRequest -Uri 'http://cdn.medicatusb.xyz/files/installer/downloader.bat' -OutFile './downloader.bat'"
-call downloader.bat
-del downloader.bat /Q
-goto warnventoy
-
-:tordown
-powershell -c "Invoke-WebRequest -Uri 'http://cdn.medicatusb.xyz/files/installer/tor/tordownload.bat' -OutFile './tordownload.bat'"
-call tordownload.bat
-del tordownload.bat /Q
-goto warnventoy
\ No newline at end of file