SHARE
TWEET

Debug

a guest Nov 8th, 2019 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. C:\Users\Connor\Documents\LPHK-master\install_beta>REM This is a beta installer script that is the first step
  2.  
  3. C:\Users\Connor\Documents\LPHK-master\install_beta>REM in making the installation process painless. All you have
  4.  
  5. C:\Users\Connor\Documents\LPHK-master\install_beta>REM to do is run this. It will install Miniconda3 if you don't
  6.  
  7. C:\Users\Connor\Documents\LPHK-master\install_beta>REM have a conda installation, and will ask if you want to install LPHK.
  8.  
  9. C:\Users\Connor\Documents\LPHK-master\install_beta>REM A shortcut will be created for LPHK in the main LPHK folder.
  10.  
  11. C:\Users\Connor\Documents\LPHK-master\install_beta>REM It will also offer to create a desktop shortcut. Just don't move
  12.  
  13. C:\Users\Connor\Documents\LPHK-master\install_beta>REM the LPHK folder, or it will break the shortcut. If you wish to
  14.  
  15. C:\Users\Connor\Documents\LPHK-master\install_beta>REM uninstall, run this after LPHK is installed. You will have to
  16.  
  17. C:\Users\Connor\Documents\LPHK-master\install_beta>REM remove the shortcuts, and manually delete the files.
  18.  
  19. C:\Users\Connor\Documents\LPHK-master\install_beta>REM Please let me know if this does or does not work in the Discord!
  20.  
  21. C:\Users\Connor\Documents\LPHK-master\install_beta>set "LPHKENV="
  22.  
  23. C:\Users\Connor\Documents\LPHK-master\install_beta>set "LPHKPYTHON="
  24.  
  25. C:\Users\Connor\Documents\LPHK-master\install_beta>set "STARTPATH="
  26.  
  27. C:\Users\Connor\Documents\LPHK-master\install_beta>set "MAINDIR="
  28.  
  29. C:\Users\Connor\Documents\LPHK-master\install_beta>set "LPHKSCRIPT="
  30.  
  31. C:\Users\Connor\Documents\LPHK-master\install_beta>set "LINKPATH="
  32.  
  33. C:\Users\Connor\Documents\LPHK-master\install_beta>set "LPHKICON="
  34.  
  35. C:\Users\Connor\Documents\LPHK-master\install_beta>set "SHORTCUTSCRIPT="
  36.  
  37. C:\Users\Connor\Documents\LPHK-master\install_beta>set "MINICONDAPATH="
  38.  
  39. C:\Users\Connor\Documents\LPHK-master\install_beta>set "CONDAEXE="
  40.  
  41. C:\Users\Connor\Documents\LPHK-master\install_beta>set "OS="
  42.  
  43. C:\Users\Connor\Documents\LPHK-master\install_beta>set "MCLINK="
  44.  
  45. C:\Users\Connor\Documents\LPHK-master\install_beta>set "DESKTOPLINK="
  46.  
  47. C:\Users\Connor\Documents\LPHK-master\install_beta>set "CONDAWASINSTALLEDFLAG=\CONDAWASJUSTINSTALLED"
  48.  
  49. C:\Users\Connor\Documents\LPHK-master\install_beta>where conda  1>nul 2>nul
  50.  
  51. C:\Users\Connor\Documents\LPHK-master\install_beta>if 1 EQU 0 goto CONDADONE
  52.  
  53. C:\Users\Connor\Documents\LPHK-master\install_beta>set "AREYOUSURE="
  54.  
  55. C:\Users\Connor\Documents\LPHK-master\install_beta>set /P AREYOUSURE=No conda found. Install Miniconda3 and LPHK? (Y/[N]):
  56. No conda found. Install Miniconda3 and LPHK? (Y/[N]): y
  57.  
  58. C:\Users\Connor\Documents\LPHK-master\install_beta>if /I "y" EQU "Y" goto INSTALLCONDA
  59.  
  60. C:\Users\Connor\Documents\LPHK-master\install_beta>reg Query "HKLM\Hardware\Description\System\CentralProcessor\0"   | find /i "x86"   1>NUL  && set OS=32BIT   || set OS=64BIT
  61.  
  62. C:\Users\Connor\Documents\LPHK-master\install_beta>if 64BIT == 32BIT set MCLINK=https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86.exe
  63.  
  64. C:\Users\Connor\Documents\LPHK-master\install_beta>if 64BIT == 64BIT set MCLINK=https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe
  65.  
  66. C:\Users\Connor\Documents\LPHK-master\install_beta>set CONDAEXE="C:\Users\Connor\AppData\Local\Temp\1266-14982-28207-5371-condainstall.exe"
  67.  
  68. C:\Users\Connor\Documents\LPHK-master\install_beta>echo Downloading Miniconda3 (This will take while, please wait)...
  69. Downloading Miniconda3 (This will take while, please wait)...
  70.  
  71. C:\Users\Connor\Documents\LPHK-master\install_beta>powershell -Command "(New-Object Net.WebClient).DownloadFile("https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe", "C:\Users\Connor\AppData\Local\Temp\1266-14982-28207-5371-condainstall.exe")"  1>nul
  72.  
  73. C:\Users\Connor\Documents\LPHK-master\install_beta>if errorlevel 1 goto ERROREND
  74.  
  75. C:\Users\Connor\Documents\LPHK-master\install_beta>echo The installer has failed!
  76. The installer has failed!
  77.  
  78. C:\Users\Connor\Documents\LPHK-master\install_beta>echo Please try running again, or seek help in the Discord.
  79. Please try running again, or seek help in the Discord.
  80.  
  81. C:\Users\Connor\Documents\LPHK-master\install_beta>goto END
  82.  
  83. C:\Users\Connor\Documents\LPHK-master\install_beta>pause
  84. Press any key to continue . . .
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top