/
stopgo-win-deps.nsi
41 lines (34 loc) · 1.18 KB
/
stopgo-win-deps.nsi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
;2014-04-13, all-in-one installer for StopGo's dependencies (Windows).
Name "Python Bundle for StopGo"
OutFile "stopgo_dependencies.exe"
ShowInstDetails hide
!include "EnvVarUpdate.nsh"
InstallDir "C:\Python27\"
Section "Python 2.7.9"
SetOutPath "C:\"
File "python-2.7.9.msi"
ExecWait '"msiexec.exe" /i C:\python-2.7.9.msi'
Delete "C:\python-2.7.9.msi"
SectionEnd
Section "wxPython 3.0.2.0"
MessageBox MB_OK "About to install wxPython."
SetOutPath $INSTDIR
File "wxPython3.0-win32-3.0.2.0-py27.exe"
ExecWait "C:\Python27\wxPython3.0-win32-3.0.2.0-py27.exe"
Delete "C:\Python27\wxPython3.0-win32-3.0.2.0-py27.exe"
SectionEnd
Section "Setuptools 20.1.1"
SetOutPath $INSTDIR
File ez_setup.py
DetailPrint "Executing ez_setup.py for Python setuptools..."
nsExec::ExecToLog '"C:\Python27\python.exe" ez_setup.py'
SectionEnd
Section "WinFF 1.5.4"
SetOutPath "C:\"
File "WinFF-1.5.4-Setup-3.exe"
Exec "C:\WinFF-1.5.4-Setup-3.exe"
DetailPrint "Installing WinFF and ffmpeg..."
MessageBox MB_OK "Installation Complete"
${EnvVarUpdate} $0 "PATH" "A" "HKLM" "%PROGRAMFILES%\WinFF\"
Delete "C:\WinFF-1.5.4-Setup-3.exe"
SectionEnd