pidgin/win32/nsis/pidgin-installer.nsi

changeset 24249
c49ccf386628
parent 24248
5b926b31ae44
child 25274
f1bd7294c950
equal deleted inserted replaced
24248:5b926b31ae44 24249:c49ccf386628
1414 1414
1415 !else 1415 !else
1416 Push $R1 1416 Push $R1
1417 Push $R2 1417 Push $R2
1418 1418
1419 ; Make the GTK+ Section RO if it is required.
1420 Call DoWeNeedGtk 1419 Call DoWeNeedGtk
1421 Pop $R0 1420 Pop $R0
1422 Pop $R2 1421 Pop $R2
1423 IntCmp $R0 1 gtk_not_mandatory gtk_not_mandatory 1422 IntCmp $R0 1 gtk_selection_done gtk_not_mandatory
1423 ; Make the GTK+ Section RO if it is required.
1424 !insertmacro SetSectionFlag ${SecGtk} ${SF_RO} 1424 !insertmacro SetSectionFlag ${SecGtk} ${SF_RO}
1425 Goto gtk_selection_done
1425 gtk_not_mandatory: 1426 gtk_not_mandatory:
1427 ; Don't select the GTK+ section if we already have this version or newer installed
1428 !insertmacro UnselectSection ${SecGtk}
1429 gtk_selection_done:
1426 1430
1427 ; If on Win95/98/ME warn them that the GTK+ version wont work 1431 ; If on Win95/98/ME warn them that the GTK+ version wont work
1428 ${Unless} ${IsNT} 1432 ${Unless} ${IsNT}
1429 !insertmacro UnselectSection ${SecGtk} 1433 !insertmacro UnselectSection ${SecGtk}
1430 !insertmacro SetSectionFlag ${SecGtk} ${SF_RO} 1434 !insertmacro SetSectionFlag ${SecGtk} ${SF_RO}

mercurial