comparison gaim-installer.nsi @ 5030:d8c8f8993b53

[gaim-migrate @ 5367] Update instruction for GTK+ runtime installer committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Sat, 05 Apr 2003 07:31:50 +0000
parents 65a0a360e8c4
children 40b9d69d3234
comparison
equal deleted inserted replaced
5029:ef201aaf4a86 5030:d8c8f8993b53
77 ; Check to see if GTK+ Runtime is installed. 77 ; Check to see if GTK+ Runtime is installed.
78 ReadRegStr $R0 HKEY_LOCAL_MACHINE "SOFTWARE\GTK\2.0" "Version" 78 ReadRegStr $R0 HKEY_LOCAL_MACHINE "SOFTWARE\GTK\2.0" "Version"
79 StrCmp $R0 "" no_gtk have_gtk 79 StrCmp $R0 "" no_gtk have_gtk
80 no_gtk: 80 no_gtk:
81 ; Instruct user to install GTK+ runtime first. 81 ; Instruct user to install GTK+ runtime first.
82 MessageBox MB_OK "Could not find GTK+ runtime environment. Visit http://www.dropline.net/gtk/ to download and install GTK+ v2.2.1" IDOK 82 MessageBox MB_OK "Could not find GTK+ runtime environment. Visit http://www.dropline.net/gtk/ to download and install GTK+ v2.2.1.1" IDOK
83 Quit 83 Quit
84 have_gtk: 84 have_gtk:
85 ; Check GTK+ version 85 ; Check GTK+ version
86 StrLen $R3 $R0 ; Expecting 5 char length version string 86 StrLen $R3 $R0 ; Expecting 5 char length version string
87 IntCmp $R3 5 check_version bad_version check_version ; if greater or equal to 5... good 87 IntCmp $R3 5 check_version bad_version check_version ; if greater or equal to 5... good