Mercurial > mxe-octave
comparison makeinst-script.sh @ 3364:4812bade5c85
makeinst-script.sh: Remove Windows 2000 as supported Windows version
author | Anirudha Bose <ani07nov@gmail.com> |
---|---|
date | Sun, 28 Jul 2013 18:15:09 +0530 |
parents | b89f15801606 |
children | ab6116aa1039 |
comparison
equal
deleted
inserted
replaced
3363:b89f15801606 | 3364:4812bade5c85 |
---|---|
172 ReadRegStr \$0 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion | 172 ReadRegStr \$0 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion |
173 IfErrors is_error is_winnt | 173 IfErrors is_error is_winnt |
174 is_winnt: | 174 is_winnt: |
175 StrCpy \$1 \$0 1 | 175 StrCpy \$1 \$0 1 |
176 StrCmp \$1 4 is_error ; Aborting installation for Windows versions older than Windows 2000 | 176 StrCmp \$1 4 is_error ; Aborting installation for Windows versions older than Windows 2000 |
177 StrCmp \$0 "5.0" is_winnt_2000 | 177 StrCmp \$0 "5.0" is_error ; Removing Windows 2000 as supported Windows version |
178 StrCmp \$0 "5.1" is_winnt_XP | 178 StrCmp \$0 "5.1" is_winnt_XP |
179 StrCmp \$0 "5.2" is_winnt_2003 | 179 StrCmp \$0 "5.2" is_winnt_2003 |
180 StrCmp \$0 "6.0" is_winnt_vista | 180 StrCmp \$0 "6.0" is_winnt_vista |
181 StrCmp \$0 "6.1" is_winnt_7 | 181 StrCmp \$0 "6.1" is_winnt_7 |
182 StrCmp \$0 "6.2" is_winnt_8 | 182 StrCmp \$0 "6.2" is_winnt_8 |
184 Goto is_error | 184 Goto is_error |
185 | 185 |
186 is_winnt_8: | 186 is_winnt_8: |
187 MessageBox MB_YESNO|MB_ICONEXCLAMATION "Setup has detected Windows 8 installed on your system. Octave is currently not fully supported on Windows 8. If you choose to continue with the installation, you might not be able to access Octave GUI. Do you want to proceed with the installation anyway?" IDYES done IDNO 0 | 187 MessageBox MB_YESNO|MB_ICONEXCLAMATION "Setup has detected Windows 8 installed on your system. Octave is currently not fully supported on Windows 8. If you choose to continue with the installation, you might not be able to access Octave GUI. Do you want to proceed with the installation anyway?" IDYES done IDNO 0 |
188 Abort | 188 Abort |
189 is_winnt_2000: | |
190 is_winnt_XP: | 189 is_winnt_XP: |
191 is_winnt_2003: | 190 is_winnt_2003: |
192 is_winnt_vista: | 191 is_winnt_vista: |
193 is_winnt_7: | 192 is_winnt_7: |
194 Goto done | 193 Goto done |