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

Diff of /trunk/nsis/dependencies.nsi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2491 by jpye, Tue Mar 15 06:39:55 2011 UTC revision 2492 by jpye, Sat Aug 13 04:05:13 2011 UTC
# Line 3  Line 3 
3    
4  Var CHECKPY  Var CHECKPY
5  Var CHECKGTK  Var CHECKGTK
6  Var CHECKTCL  ;Var CHECKTCL
7    
8  !macro setCheckboxChecked CB  !macro setCheckboxChecked CB
9      SendMessage ${CB} ${BM_SETCHECK} 0x0001 0      SendMessage ${CB} ${BM_SETCHECK} 0x0001 0
# Line 17  Function dependenciesCreate Line 17  Function dependenciesCreate
17      ${AndIf} $PYGTKOK == 'OK'      ${AndIf} $PYGTKOK == 'OK'
18      ${AndIf} $PYGOBJECTOK == 'OK'      ${AndIf} $PYGOBJECTOK == 'OK'
19      ${AndIf} $PYCAIROOK == 'OK'      ${AndIf} $PYCAIROOK == 'OK'
20      ${AndIf} $TCLOK == 'OK'      ;${AndIf} $TCLOK == 'OK'
21          ; do nothing in this page          ; do nothing in this page
22      ${Else}      ${Else}
23          nsDialogs::Create /NOUNLOAD 1018          nsDialogs::Create /NOUNLOAD 1018
# Line 38  Function dependenciesCreate Line 38  Function dependenciesCreate
38              !insertmacro setCheckboxChecked $CHECKGTK              !insertmacro setCheckboxChecked $CHECKGTK
39          ${EndIf}          ${EndIf}
40                    
41          ${If} $TCLOK == 'NOK'  ;       ${If} $TCLOK == 'NOK'
42              ${NSD_CreateCheckbox} 10% 90% 100% 8u "Tcl/Tk"  ;           ${NSD_CreateCheckbox} 10% 90% 100% 8u "Tcl/Tk"
43              Pop $CHECKTCL  ;           Pop $CHECKTCL
44              !insertmacro setCheckboxChecked $CHECKTCL  ;           !insertmacro setCheckboxChecked $CHECKTCL
45          ${EndIf}  ;       ${EndIf}
46    
47          nsDialogs::Show          nsDialogs::Show
48      ${EndIf}      ${EndIf}
# Line 52  FunctionEnd Line 52  FunctionEnd
52  Function DependenciesLeave  Function DependenciesLeave
53      SendMessage $CHECKPY ${BM_GETCHECK} 0 0 $PYDOWNLOAD      SendMessage $CHECKPY ${BM_GETCHECK} 0 0 $PYDOWNLOAD
54      SendMessage $CHECKGTK ${BM_GETCHECK} 0 0 $GTKDOWNLOAD      SendMessage $CHECKGTK ${BM_GETCHECK} 0 0 $GTKDOWNLOAD
55      SendMessage $CHECKTCL ${BM_GETCHECK} 0 0 $TCLDOWNLOAD  ;   SendMessage $CHECKTCL ${BM_GETCHECK} 0 0 $TCLDOWNLOAD
56  FunctionEnd  FunctionEnd
57            

Legend:
Removed from v.2491  
changed lines
  Added in v.2492

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