/[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 2606 by jpye, Tue Apr 24 06:14:23 2012 UTC revision 2607 by jpye, Tue Apr 24 23:16:19 2012 UTC
# Line 3  Line 3 
3    
4  Var CHECKPY  Var CHECKPY
5  Var CHECKGTK  Var CHECKGTK
6  ;Var CHECKTCL  Var CHECKPYGTK
7    Var CHECKPYCAIRO
8    Var CHECKPYGOBJECT
9    
10  !macro setCheckboxChecked CB  !macro setCheckboxChecked CB
11      SendMessage ${CB} ${BM_SETCHECK} 0x0001 0      SendMessage ${CB} ${BM_SETCHECK} 0x0001 0
# Line 27  Function dependenciesCreate Line 29  Function dependenciesCreate
29          Pop $0          Pop $0
30    
31          ${If} $HAVE_PYTHON == 'NOK'          ${If} $HAVE_PYTHON == 'NOK'
32              ${NSD_CreateCheckbox} 10% 50% 100% 8u "Python"              ${NSD_CreateCheckbox} 10% 50% 100% 8u "Python ${PYVERSION} (${NNBIT})"
33              Pop $CHECKPY              Pop $CHECKPY
34              !insertmacro setCheckboxChecked $CHECKPY              !insertmacro setCheckboxChecked $CHECKPY
35          ${EndIf}          ${EndIf}
36    
37          ${If} $HAVE_GTK == 'NOK'          ${If} $HAVE_GTK == 'NOK'
38              ${NSD_CreateCheckbox} 10% 58% 100% 8u "PyGTK All-in-one"              ${NSD_CreateCheckbox} 10% 58% 100% 8u "GTK+ bundle ${GTK_VER} (${NNBIT})"
39              Pop $CHECKGTK              Pop $CHECKGTK
40              !insertmacro setCheckboxChecked $CHECKGTK              !insertmacro setCheckboxChecked $CHECKGTK
41          ${EndIf}          ${EndIf}
42    
43    
44            ${If} $HAVE_PYGTK == 'NOK'
45                ${NSD_CreateCheckbox} 10% 64% 100% 8u "PyGTK"
46                Pop $CHECKPYGTK
47                !insertmacro setCheckboxChecked $CHECKPYGTK
48            ${EndIf}
49                    
50            ${If} $HAVE_PYCAIRO == 'NOK'
51                ${NSD_CreateCheckbox} 10% 72% 100% 8u "PyCairo"
52                Pop $CHECKPYCAIRO
53                !insertmacro setCheckboxChecked $CHECKPYCAIRO
54            ${EndIf}
55    
56            ${If} $HAVE_PYGOBJECT == 'NOK'
57                ${NSD_CreateCheckbox} 10% 80% 100% 8u "PyGObject"
58                Pop $CHECKPYGOBJECT
59                !insertmacro setCheckboxChecked $CHECKPYGOBJECT
60            ${EndIf}
61    
62          nsDialogs::Show          nsDialogs::Show
63      ${EndIf}      ${EndIf}
64            

Legend:
Removed from v.2606  
changed lines
  Added in v.2607

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