source: ogAgent-Git/windows/setup.bat @ 64dea9f

configure-ptt-chedecorare-oglive-methodsejecutarscript-b64fix-cfg2objfixes-winlgromero-filebeatmainmodulesnew-browserno-ptt-paramogadmcliogadmclient-statusogagent-jobsogagent-macosogcore1oglogoglog2override-moduleping1ping2ping3ping4py3-winreport-progressunification2unification3versionswindows-fixes
Last change on this file since 64dea9f was 10fab78, checked in by Natalia Serrano <natalia.serrano@…>, 10 months ago

refs #464 several fixes and improvements

  • fix OG icon in windows system tray
  • change a log.info into log.debug to avoid a crash (!)
  • migrate update.sh to python so it can be run from windows/macos too
    • manage windows/VERSION in this script too
    • remove call to pyrcc--it's not required!
  • remove stray windows scripts
  • add a forgotten setup.bat
  • Property mode set to 100644
File size: 2.2 KB
Line 
1C:
2cd \Users\Docker\Downloads
3mkdir setup
4
5rem creamos directorio setup, nos bajamos cosas y mas tarde lo borramos
6rem pero el VC_redist hace falta para el empaquetado, asi que lo descargamos fuera de setup para no borrarlo
7
8curl https://www.python.org/ftp/python/3.12.3/amd64/core.msi                                           --output setup\core.msi
9curl https://www.python.org/ftp/python/3.12.3/amd64/dev.msi                                            --output setup\dev.msi
10curl https://www.python.org/ftp/python/3.12.3/amd64/exe.msi                                            --output setup\exe.msi
11curl https://www.python.org/ftp/python/3.12.3/amd64/lib.msi                                            --output setup\lib.msi
12curl https://www.python.org/ftp/python/3.12.3/amd64/path.msi                                           --output setup\path.msi
13curl https://www.python.org/ftp/python/3.12.3/amd64/pip.msi                                            --output setup\pip.msi
14curl https://aka.ms/vs/17/release/vc_redist.x64.exe                                         --location --output       VC_redist.x64.exe
15curl https://prdownloads.sourceforge.net/nsis/nsis-3.05-setup.exe?download                  --location --output setup\nsis-install.exe
16curl http://nsis.sourceforge.net/mediawiki/images/d/d7/NSIS_Simple_Firewall_Plugin_1.20.zip --location --output setup\NSIS_Simple_Firewall_Plugin_1.20.zip
17
18cd setup
19msiexec /i core.msi TARGETDIR=C:\Python312
20msiexec /i dev.msi TARGETDIR=C:\Python312
21msiexec /i exe.msi TARGETDIR=C:\Python312
22msiexec /i lib.msi TARGETDIR=C:\Python312
23msiexec /i path.msi TARGETDIR=C:\Python312
24msiexec /i pip.msi TARGETDIR=C:\Python312
25cd ..
26VC_redist.x64.exe /install /quiet /passive /norestart
27
28ftype PythonScript=C:\Python312\python.exe "%1" %*
29assoc .py=PythonScript
30PATH=C:\Python312;C:\Python312\Scripts;%PATH%
31setx PATH "C:\Python312;C:\Python312\Scripts;%PATH%"
32
33python -m pip install --upgrade wheel pip
34pip install -r F:\src\requirements.txt
35
36setup\nsis-install.exe
37
38powershell -command "Expand-Archive setup\NSIS_Simple_Firewall_Plugin_1.20.zip nsis-fp"
39copy nsis-fp\SimpleFC.dll "C:\Program Files (x86)\NSIS\Plugins\x86-ansi\"
40copy nsis-fp\SimpleFC.dll "C:\Program Files (x86)\NSIS\Plugins\x86-unicode\"
41rmdir nsis-fp /s /q
42
43rmdir setup /s /q
Note: See TracBrowser for help on using the repository browser.