/[ascend]/trunk/nsis/dependencies.nsi
ViewVC logotype

Annotation of /trunk/nsis/dependencies.nsi

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1570 - (hide annotations) (download)
Fri Aug 3 14:18:08 2007 UTC (15 years, 6 months ago) by jpye
File size: 1192 byte(s)
More work on Windows installer
1 jpye 1570 ;---------------------------------------------------------------------
2     ; CUSTOM PAGE to DOWNLOAD REQUIRED DEPENDENCIES
3    
4     !define DEPINI "dependencies.ini"
5     !define DEPINIPATH "$PLUGINSDIR\${DEPINI}"
6    
7     Function dependenciesCreate
8     MessageBox MB_OK "creating dependencies dialog"
9    
10     ${If} $PYOK == 'OK'
11     ${AndIf} $GTKOK == 'OK'
12     ${AndIf} $PYGTKOK == 'OK'
13     ${AndIf} $PYGOBJECTOK == 'OK'
14     ${AndIf} $PYCAIROOK == 'OK'
15     MessageBox MB_OK "all required dependencies were found"
16     ; do nothing in this page
17     ${Else}
18     MessageBox MB_OK "running dependencies dialog"
19     InitPluginsDir
20     File ${DEPINI}
21     StrCpy $0 "${DEPINIPATH}"
22    
23     Call CreateDialogFromINI
24     ${EndIf}
25    
26     FunctionEnd
27    
28     ; this function finds which inputs were selected and sets global variables accordingly
29     Function dependenciesLeave
30     ReadINIStr $PYDOWNLOAD ${DEPINIPATH} "Field 3" "State"
31     ReadINIStr $PYGTKDOWNLOAD ${DEPINIPATH} "Field 4" "State"
32     ReadINIStr $PYGOBJECTDOWNLOAD ${DEPINIPATH} "Field 5" "State"
33     ReadINIStr $PYCAIRODOWNLOAD ${DEPINIPATH} "Field 6" "State"
34     ReadINIStr $GTKDOWNLOAD ${DEPINIPATH} "Field 7" "State"
35     FunctionEnd

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22