mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-30 16:05:58 -05:00
e29ac0e29d
taking the initial 5 step or more process to take over remote computer to one. a temporary fix to get more in line with other remote support like software. added some scripts linux & windows to quickly setup the whole system on your server.
16 lines
1018 B
Batchfile
16 lines
1018 B
Batchfile
@echo off
|
|
cd /D %HOMEPATH%
|
|
reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set OS=x86 || set OS=x64
|
|
powershell (new-object System.Net.WebClient).DownloadFile('http://nodejs.org/dist/v9.3.0/node-v9.3.0-%OS%.msi','node-v9.3.0-%OS%.msi')
|
|
rem powershell (new-object System.Net.WebClient).DownloadFile('http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.6.1-signed.msi','mongodb-win32-x86_64-2008plus-ssl-3.6.1-signed.msi')
|
|
msiexec /i node-v9.3.0-%OS%.msi /passive /norestart /qn
|
|
rem msiexec /i mongodb-win32-x86_64-2008plus-ssl-3.6.1-signed.msi /passive /norestart /qn
|
|
del node-v9.3.0-%OS%.msi
|
|
rem del mongodb-win32-x86_64-2008plus-ssl-3.6.1-signed.msi
|
|
npm install -g win-7zip rem -g letsencrypt-cli
|
|
powershell (new-object System.Net.WebClient).DownloadFile('http://www.7-zip.org/a/lzma1604.7z','lzma1604.7z')
|
|
7z x lzma1604.7z -olzma1604
|
|
copy /B /Y /V lzma1604\bin\*.sfx AppData\Roaming\npm\node_modules\win-7zip\7zip-lite\
|
|
del lzma1604.7z
|
|
rmdir /S /Q lzma1604
|