diff options
author | Sean Dague | 2007-07-16 15:40:11 +0000 |
---|---|---|
committer | Sean Dague | 2007-07-16 15:40:11 +0000 |
commit | 2a3c79df83e800d5dfe75a1a3b140ed81da2b1d6 (patch) | |
tree | e3f80ad51736cf17e856547b1bcf956010927434 /Prebuild/scripts | |
parent | *Trunk compiles now (diff) | |
download | opensim-SC_OLD-2a3c79df83e800d5dfe75a1a3b140ed81da2b1d6.zip opensim-SC_OLD-2a3c79df83e800d5dfe75a1a3b140ed81da2b1d6.tar.gz opensim-SC_OLD-2a3c79df83e800d5dfe75a1a3b140ed81da2b1d6.tar.bz2 opensim-SC_OLD-2a3c79df83e800d5dfe75a1a3b140ed81da2b1d6.tar.xz |
changed to native line ending encoding
Diffstat (limited to '')
-rw-r--r-- | Prebuild/scripts/Clean.bat | 4 | ||||
-rw-r--r-- | Prebuild/scripts/Help.bat | 2 | ||||
-rw-r--r-- | Prebuild/scripts/MonoDevelop.sh | 4 | ||||
-rw-r--r-- | Prebuild/scripts/Prebuild.nsi | 462 | ||||
-rw-r--r-- | Prebuild/scripts/SharpDevelop.bat | 8 | ||||
-rw-r--r-- | Prebuild/scripts/SharpDevelop2.bat | 8 | ||||
-rw-r--r-- | Prebuild/scripts/VS2002.bat | 8 | ||||
-rw-r--r-- | Prebuild/scripts/VS2003.bat | 8 | ||||
-rw-r--r-- | Prebuild/scripts/VS2005.bat | 8 | ||||
-rw-r--r-- | Prebuild/scripts/autotools.bat | 8 | ||||
-rw-r--r-- | Prebuild/scripts/nant.bat | 8 | ||||
-rw-r--r-- | Prebuild/scripts/nant.sh | 4 |
12 files changed, 266 insertions, 266 deletions
diff --git a/Prebuild/scripts/Clean.bat b/Prebuild/scripts/Clean.bat index 39fa685..806bbe8 100644 --- a/Prebuild/scripts/Clean.bat +++ b/Prebuild/scripts/Clean.bat | |||
@@ -1,2 +1,2 @@ | |||
1 | cd .. | 1 | cd .. |
2 | Prebuild.exe /clean /yes /removedir obj /file prebuild.xml /build NET_2_0 /pause | 2 | Prebuild.exe /clean /yes /removedir obj /file prebuild.xml /build NET_2_0 /pause |
diff --git a/Prebuild/scripts/Help.bat b/Prebuild/scripts/Help.bat index a7d3db4..7c843c4 100644 --- a/Prebuild/scripts/Help.bat +++ b/Prebuild/scripts/Help.bat | |||
@@ -1,2 +1,2 @@ | |||
1 | cd .. | 1 | cd .. |
2 | Prebuild.exe /usage /pause \ No newline at end of file | 2 | Prebuild.exe /usage /pause \ No newline at end of file |
diff --git a/Prebuild/scripts/MonoDevelop.sh b/Prebuild/scripts/MonoDevelop.sh index dae3cf4..fbd7669 100644 --- a/Prebuild/scripts/MonoDevelop.sh +++ b/Prebuild/scripts/MonoDevelop.sh | |||
@@ -1,2 +1,2 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | prebuild /target monodev /file ../prebuild.xml /build NET_1_1 /pause | 2 | prebuild /target monodev /file ../prebuild.xml /build NET_1_1 /pause |
diff --git a/Prebuild/scripts/Prebuild.nsi b/Prebuild/scripts/Prebuild.nsi index 0c6e2bc..8f9854e 100644 --- a/Prebuild/scripts/Prebuild.nsi +++ b/Prebuild/scripts/Prebuild.nsi | |||
@@ -1,231 +1,231 @@ | |||
1 | !verbose 3 | 1 | !verbose 3 |
2 | 2 | ||
3 | !define PRODUCT_NAME "Prebuild" | 3 | !define PRODUCT_NAME "Prebuild" |
4 | !define PRODUCT_VERSION "1.3.1" | 4 | !define PRODUCT_VERSION "1.3.1" |
5 | !define PRODUCT_PUBLISHER "Prebuild" | 5 | !define PRODUCT_PUBLISHER "Prebuild" |
6 | !define PRODUCT_PACKAGE "prebuild" | 6 | !define PRODUCT_PACKAGE "prebuild" |
7 | !define PRODUCT_WEB_SITE "http://dnpb.sourceforge.net" | 7 | !define PRODUCT_WEB_SITE "http://dnpb.sourceforge.net" |
8 | !define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\Prebuild" | 8 | !define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\Prebuild" |
9 | !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\Prebuild" | 9 | !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\Prebuild" |
10 | !define PRODUCT_UNINST_ROOT_KEY "HKLM" | 10 | !define PRODUCT_UNINST_ROOT_KEY "HKLM" |
11 | !define PRODUCT_PATH ".." | 11 | !define PRODUCT_PATH ".." |
12 | 12 | ||
13 | ;!define MUI_WELCOMEFINISHPAGE_BITMAP "PrebuildLogo.bmp" | 13 | ;!define MUI_WELCOMEFINISHPAGE_BITMAP "PrebuildLogo.bmp" |
14 | ;!define MUI_WELCOMEFINISHPAGE_BITMAP_NOSTRETCH | 14 | ;!define MUI_WELCOMEFINISHPAGE_BITMAP_NOSTRETCH |
15 | ;!define MUI_UNWELCOMEFINISHPAGE_BITMAP "PrebuildLogo.bmp" | 15 | ;!define MUI_UNWELCOMEFINISHPAGE_BITMAP "PrebuildLogo.bmp" |
16 | ;!define MUI_UNWELCOMEFINISHPAGE_BITMAP_NOSTRETCH | 16 | ;!define MUI_UNWELCOMEFINISHPAGE_BITMAP_NOSTRETCH |
17 | 17 | ||
18 | BrandingText "© 2003-2006 David Hudson, http://dnpb.sourceforge.net/" | 18 | BrandingText "© 2003-2006 David Hudson, http://dnpb.sourceforge.net/" |
19 | SetCompressor lzma | 19 | SetCompressor lzma |
20 | CRCCheck on | 20 | CRCCheck on |
21 | 21 | ||
22 | ; File Association defines | 22 | ; File Association defines |
23 | ;!include "fileassoc.nsh" | 23 | ;!include "fileassoc.nsh" |
24 | 24 | ||
25 | ; MUI 1.67 compatible ------ | 25 | ; MUI 1.67 compatible ------ |
26 | !include "MUI.nsh" | 26 | !include "MUI.nsh" |
27 | 27 | ||
28 | ; MUI Settings | 28 | ; MUI Settings |
29 | !define MUI_ABORTWARNING | 29 | !define MUI_ABORTWARNING |
30 | !define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico" | 30 | !define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico" |
31 | !define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico" | 31 | !define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico" |
32 | 32 | ||
33 | ;-------------------------------- | 33 | ;-------------------------------- |
34 | ;Variables | 34 | ;Variables |
35 | 35 | ||
36 | ;-------------------------------- | 36 | ;-------------------------------- |
37 | ;Installer Pages | 37 | ;Installer Pages |
38 | 38 | ||
39 | ; Welcome page | 39 | ; Welcome page |
40 | !insertmacro MUI_PAGE_WELCOME | 40 | !insertmacro MUI_PAGE_WELCOME |
41 | ; License page | 41 | ; License page |
42 | !insertmacro MUI_PAGE_LICENSE "..\doc\license.txt" | 42 | !insertmacro MUI_PAGE_LICENSE "..\doc\license.txt" |
43 | ; Directory page | 43 | ; Directory page |
44 | !insertmacro MUI_PAGE_DIRECTORY | 44 | !insertmacro MUI_PAGE_DIRECTORY |
45 | 45 | ||
46 | ; Instfiles page | 46 | ; Instfiles page |
47 | !insertmacro MUI_PAGE_INSTFILES | 47 | !insertmacro MUI_PAGE_INSTFILES |
48 | 48 | ||
49 | ; Finish page | 49 | ; Finish page |
50 | !insertmacro MUI_PAGE_FINISH | 50 | !insertmacro MUI_PAGE_FINISH |
51 | 51 | ||
52 | ;------------------------------------ | 52 | ;------------------------------------ |
53 | ; Uninstaller pages | 53 | ; Uninstaller pages |
54 | !insertmacro MUI_UNPAGE_CONFIRM | 54 | !insertmacro MUI_UNPAGE_CONFIRM |
55 | !insertmacro MUI_UNPAGE_INSTFILES | 55 | !insertmacro MUI_UNPAGE_INSTFILES |
56 | !insertmacro MUI_UNPAGE_FINISH | 56 | !insertmacro MUI_UNPAGE_FINISH |
57 | ;------------------------------------ | 57 | ;------------------------------------ |
58 | 58 | ||
59 | ; Language files | 59 | ; Language files |
60 | !insertmacro MUI_LANGUAGE "English" | 60 | !insertmacro MUI_LANGUAGE "English" |
61 | 61 | ||
62 | ; Reserve files | 62 | ; Reserve files |
63 | !insertmacro MUI_RESERVEFILE_INSTALLOPTIONS | 63 | !insertmacro MUI_RESERVEFILE_INSTALLOPTIONS |
64 | 64 | ||
65 | ; MUI end ------ | 65 | ; MUI end ------ |
66 | 66 | ||
67 | Name "${PRODUCT_NAME} ${PRODUCT_VERSION}" | 67 | Name "${PRODUCT_NAME} ${PRODUCT_VERSION}" |
68 | OutFile "..\${PRODUCT_PACKAGE}-${PRODUCT_VERSION}-setup.exe" | 68 | OutFile "..\${PRODUCT_PACKAGE}-${PRODUCT_VERSION}-setup.exe" |
69 | InstallDir "$PROGRAMFILES\Prebuild" | 69 | InstallDir "$PROGRAMFILES\Prebuild" |
70 | InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" "" | 70 | InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" "" |
71 | ShowInstDetails show | 71 | ShowInstDetails show |
72 | ShowUnInstDetails show | 72 | ShowUnInstDetails show |
73 | 73 | ||
74 | ; .NET Framework check | 74 | ; .NET Framework check |
75 | ; http://msdn.microsoft.com/netframework/default.aspx?pull=/library/en-us/dnnetdep/html/redistdeploy1_1.asp | 75 | ; http://msdn.microsoft.com/netframework/default.aspx?pull=/library/en-us/dnnetdep/html/redistdeploy1_1.asp |
76 | ; Section "Detecting that the .NET Framework 1.1 is installed" | 76 | ; Section "Detecting that the .NET Framework 1.1 is installed" |
77 | Function .onInit | 77 | Function .onInit |
78 | ReadRegDWORD $R0 HKLM "SOFTWARE\Microsoft\NET Framework Setup\NDP\v1.1.4322" Install | 78 | ReadRegDWORD $R0 HKLM "SOFTWARE\Microsoft\NET Framework Setup\NDP\v1.1.4322" Install |
79 | StrCmp $R0 "" 0 CheckPreviousVersion | 79 | StrCmp $R0 "" 0 CheckPreviousVersion |
80 | MessageBox MB_OK "Microsoft .NET Framework 1.1 was not found on this system.$\r$\n$\r$\nUnable to continue this installation." | 80 | MessageBox MB_OK "Microsoft .NET Framework 1.1 was not found on this system.$\r$\n$\r$\nUnable to continue this installation." |
81 | Abort | 81 | Abort |
82 | 82 | ||
83 | CheckPreviousVersion: | 83 | CheckPreviousVersion: |
84 | ReadRegStr $R0 ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" | 84 | ReadRegStr $R0 ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" |
85 | StrCmp $R0 "" CheckOSVersion 0 | 85 | StrCmp $R0 "" CheckOSVersion 0 |
86 | MessageBox MB_OK "An old version of Prebuild is installed on this computer, please uninstall first.$\r$\n$\r$\nUnable to continue this installation." | 86 | MessageBox MB_OK "An old version of Prebuild is installed on this computer, please uninstall first.$\r$\n$\r$\nUnable to continue this installation." |
87 | Abort | 87 | Abort |
88 | 88 | ||
89 | CheckOSVersion: | 89 | CheckOSVersion: |
90 | Call IsSupportedWindowsVersion | 90 | Call IsSupportedWindowsVersion |
91 | Pop $R0 | 91 | Pop $R0 |
92 | StrCmp $R0 "False" NoAbort 0 | 92 | StrCmp $R0 "False" NoAbort 0 |
93 | MessageBox MB_OK "The operating system you are using is not supported by Prebuild (95/98/ME/NT3.x/NT4.x)." | 93 | MessageBox MB_OK "The operating system you are using is not supported by Prebuild (95/98/ME/NT3.x/NT4.x)." |
94 | Abort | 94 | Abort |
95 | 95 | ||
96 | NoAbort: | 96 | NoAbort: |
97 | FunctionEnd | 97 | FunctionEnd |
98 | 98 | ||
99 | Section "Source" SecSource | 99 | Section "Source" SecSource |
100 | SetOverwrite ifnewer | 100 | SetOverwrite ifnewer |
101 | SetOutPath "$INSTDIR\src" | 101 | SetOutPath "$INSTDIR\src" |
102 | File /r /x *.swp /x .svn /x *.xml /x *.csproj /x *.user /x *.build /x *.prjx /x *.mdp /x bin /x obj /x *.nsi ${PRODUCT_PATH}\src\*.* | 102 | File /r /x *.swp /x .svn /x *.xml /x *.csproj /x *.user /x *.build /x *.prjx /x *.mdp /x bin /x obj /x *.nsi ${PRODUCT_PATH}\src\*.* |
103 | 103 | ||
104 | ;Store installation folder | 104 | ;Store installation folder |
105 | WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR | 105 | WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR |
106 | 106 | ||
107 | SectionEnd | 107 | SectionEnd |
108 | 108 | ||
109 | Section "Runtime" SecRuntime | 109 | Section "Runtime" SecRuntime |
110 | SetOverwrite ifnewer | 110 | SetOverwrite ifnewer |
111 | SetOutPath "$INSTDIR" | 111 | SetOutPath "$INSTDIR" |
112 | File /r /x *.swp /x .svn /x *.nsi /x src /x *.sln /x *.cmbx /x *.mds ${PRODUCT_PATH}\Prebuild.exe ${PRODUCT_PATH}\prebuild.xml | 112 | File /r /x *.swp /x .svn /x *.nsi /x src /x *.sln /x *.cmbx /x *.mds ${PRODUCT_PATH}\Prebuild.exe ${PRODUCT_PATH}\prebuild.xml |
113 | 113 | ||
114 | ;Store installation folder | 114 | ;Store installation folder |
115 | WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR | 115 | WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR |
116 | 116 | ||
117 | SectionEnd | 117 | SectionEnd |
118 | 118 | ||
119 | Section "Documentation" SecDocs | 119 | Section "Documentation" SecDocs |
120 | SetOverwrite ifnewer | 120 | SetOverwrite ifnewer |
121 | SetOutPath "$INSTDIR\doc" | 121 | SetOutPath "$INSTDIR\doc" |
122 | File /r /x *.swp /x .svn /x *.exe ${PRODUCT_PATH}\doc\*.* | 122 | File /r /x *.swp /x .svn /x *.exe ${PRODUCT_PATH}\doc\*.* |
123 | 123 | ||
124 | ;Store installation folder | 124 | ;Store installation folder |
125 | WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR | 125 | WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR |
126 | SectionEnd | 126 | SectionEnd |
127 | 127 | ||
128 | Section "Scripts" SecScripts | 128 | Section "Scripts" SecScripts |
129 | SetOverwrite ifnewer | 129 | SetOverwrite ifnewer |
130 | SetOutPath "$INSTDIR\scripts" | 130 | SetOutPath "$INSTDIR\scripts" |
131 | File /r /x *.swp /x .svn /x *.nsi /x *.exe ${PRODUCT_PATH}\scripts\*.* | 131 | File /r /x *.swp /x .svn /x *.nsi /x *.exe ${PRODUCT_PATH}\scripts\*.* |
132 | 132 | ||
133 | ;Store installation folder | 133 | ;Store installation folder |
134 | WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR | 134 | WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR |
135 | SectionEnd | 135 | SectionEnd |
136 | 136 | ||
137 | ;Language strings | 137 | ;Language strings |
138 | 138 | ||
139 | Section -AdditionalIcons | 139 | Section -AdditionalIcons |
140 | WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}" | 140 | WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}" |
141 | SectionEnd | 141 | SectionEnd |
142 | 142 | ||
143 | Section -Post | 143 | Section -Post |
144 | WriteUninstaller "$INSTDIR\uninst.exe" | 144 | WriteUninstaller "$INSTDIR\uninst.exe" |
145 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)" | 145 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)" |
146 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe" | 146 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe" |
147 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}" | 147 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}" |
148 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}" | 148 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}" |
149 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}" | 149 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}" |
150 | SectionEnd | 150 | SectionEnd |
151 | 151 | ||
152 | Section Uninstall | 152 | Section Uninstall |
153 | 153 | ||
154 | DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" | 154 | DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" |
155 | DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}" | 155 | DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}" |
156 | RMDir /r "$INSTDIR" | 156 | RMDir /r "$INSTDIR" |
157 | 157 | ||
158 | SectionEnd | 158 | SectionEnd |
159 | 159 | ||
160 | ; GetWindowsVersion, taken from NSIS help, modified for our purposes | 160 | ; GetWindowsVersion, taken from NSIS help, modified for our purposes |
161 | Function IsSupportedWindowsVersion | 161 | Function IsSupportedWindowsVersion |
162 | 162 | ||
163 | Push $R0 | 163 | Push $R0 |
164 | Push $R1 | 164 | Push $R1 |
165 | 165 | ||
166 | ReadRegStr $R0 HKLM \ | 166 | ReadRegStr $R0 HKLM \ |
167 | "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion | 167 | "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion |
168 | 168 | ||
169 | IfErrors 0 lbl_winnt | 169 | IfErrors 0 lbl_winnt |
170 | 170 | ||
171 | ; we are not NT | 171 | ; we are not NT |
172 | ReadRegStr $R0 HKLM \ | 172 | ReadRegStr $R0 HKLM \ |
173 | "SOFTWARE\Microsoft\Windows\CurrentVersion" VersionNumber | 173 | "SOFTWARE\Microsoft\Windows\CurrentVersion" VersionNumber |
174 | 174 | ||
175 | StrCpy $R1 $R0 1 | 175 | StrCpy $R1 $R0 1 |
176 | StrCmp $R1 '4' 0 lbl_error | 176 | StrCmp $R1 '4' 0 lbl_error |
177 | 177 | ||
178 | StrCpy $R1 $R0 3 | 178 | StrCpy $R1 $R0 3 |
179 | 179 | ||
180 | StrCmp $R1 '4.0' lbl_win32_95 | 180 | StrCmp $R1 '4.0' lbl_win32_95 |
181 | StrCmp $R1 '4.9' lbl_win32_ME lbl_win32_98 | 181 | StrCmp $R1 '4.9' lbl_win32_ME lbl_win32_98 |
182 | 182 | ||
183 | lbl_win32_95: | 183 | lbl_win32_95: |
184 | StrCpy $R0 'False' | 184 | StrCpy $R0 'False' |
185 | Goto lbl_done | 185 | Goto lbl_done |
186 | 186 | ||
187 | lbl_win32_98: | 187 | lbl_win32_98: |
188 | StrCpy $R0 'False' | 188 | StrCpy $R0 'False' |
189 | Goto lbl_done | 189 | Goto lbl_done |
190 | 190 | ||
191 | lbl_win32_ME: | 191 | lbl_win32_ME: |
192 | StrCpy $R0 'False' | 192 | StrCpy $R0 'False' |
193 | Goto lbl_done | 193 | Goto lbl_done |
194 | 194 | ||
195 | lbl_winnt: | 195 | lbl_winnt: |
196 | 196 | ||
197 | StrCpy $R1 $R0 1 | 197 | StrCpy $R1 $R0 1 |
198 | 198 | ||
199 | StrCmp $R1 '3' lbl_winnt_x | 199 | StrCmp $R1 '3' lbl_winnt_x |
200 | StrCmp $R1 '4' lbl_winnt_x | 200 | StrCmp $R1 '4' lbl_winnt_x |
201 | 201 | ||
202 | StrCpy $R1 $R0 3 | 202 | StrCpy $R1 $R0 3 |
203 | 203 | ||
204 | StrCmp $R1 '5.0' lbl_winnt_2000 | 204 | StrCmp $R1 '5.0' lbl_winnt_2000 |
205 | StrCmp $R1 '5.1' lbl_winnt_XP | 205 | StrCmp $R1 '5.1' lbl_winnt_XP |
206 | StrCmp $R1 '5.2' lbl_winnt_2003 lbl_error | 206 | StrCmp $R1 '5.2' lbl_winnt_2003 lbl_error |
207 | 207 | ||
208 | lbl_winnt_x: | 208 | lbl_winnt_x: |
209 | StrCpy $R0 'False' | 209 | StrCpy $R0 'False' |
210 | Goto lbl_done | 210 | Goto lbl_done |
211 | 211 | ||
212 | lbl_winnt_2000: | 212 | lbl_winnt_2000: |
213 | Strcpy $R0 'True' | 213 | Strcpy $R0 'True' |
214 | Goto lbl_done | 214 | Goto lbl_done |
215 | 215 | ||
216 | lbl_winnt_XP: | 216 | lbl_winnt_XP: |
217 | Strcpy $R0 'True' | 217 | Strcpy $R0 'True' |
218 | Goto lbl_done | 218 | Goto lbl_done |
219 | 219 | ||
220 | lbl_winnt_2003: | 220 | lbl_winnt_2003: |
221 | Strcpy $R0 'True' | 221 | Strcpy $R0 'True' |
222 | Goto lbl_done | 222 | Goto lbl_done |
223 | 223 | ||
224 | lbl_error: | 224 | lbl_error: |
225 | Strcpy $R0 'False' | 225 | Strcpy $R0 'False' |
226 | lbl_done: | 226 | lbl_done: |
227 | 227 | ||
228 | Pop $R1 | 228 | Pop $R1 |
229 | Exch $R0 | 229 | Exch $R0 |
230 | 230 | ||
231 | FunctionEnd | 231 | FunctionEnd |
diff --git a/Prebuild/scripts/SharpDevelop.bat b/Prebuild/scripts/SharpDevelop.bat index 483d9c9..08fea0b 100644 --- a/Prebuild/scripts/SharpDevelop.bat +++ b/Prebuild/scripts/SharpDevelop.bat | |||
@@ -1,4 +1,4 @@ | |||
1 | @rem Generates a combine (.cmbx) and a set of project files (.prjx) | 1 | @rem Generates a combine (.cmbx) and a set of project files (.prjx) |
2 | @rem for SharpDevelop (http://icsharpcode.net/OpenSource/SD/Default.aspx) | 2 | @rem for SharpDevelop (http://icsharpcode.net/OpenSource/SD/Default.aspx) |
3 | cd .. | 3 | cd .. |
4 | Prebuild.exe /target sharpdev /file prebuild.xml /build NET_1_1 /pause | 4 | Prebuild.exe /target sharpdev /file prebuild.xml /build NET_1_1 /pause |
diff --git a/Prebuild/scripts/SharpDevelop2.bat b/Prebuild/scripts/SharpDevelop2.bat index 4ca0272..49120ab 100644 --- a/Prebuild/scripts/SharpDevelop2.bat +++ b/Prebuild/scripts/SharpDevelop2.bat | |||
@@ -1,4 +1,4 @@ | |||
1 | @rem Generates a combine (.cmbx) and a set of project files (.prjx) | 1 | @rem Generates a combine (.cmbx) and a set of project files (.prjx) |
2 | @rem for SharpDevelop (http://icsharpcode.net/OpenSource/SD/Default.aspx) | 2 | @rem for SharpDevelop (http://icsharpcode.net/OpenSource/SD/Default.aspx) |
3 | cd .. | 3 | cd .. |
4 | Prebuild.exe /target sharpdev2 /file prebuild.xml /pause | 4 | Prebuild.exe /target sharpdev2 /file prebuild.xml /pause |
diff --git a/Prebuild/scripts/VS2002.bat b/Prebuild/scripts/VS2002.bat index a11740e..dc5b6a7 100644 --- a/Prebuild/scripts/VS2002.bat +++ b/Prebuild/scripts/VS2002.bat | |||
@@ -1,4 +1,4 @@ | |||
1 | @rem Generates a solution (.sln) and a set of project files (.csproj) | 1 | @rem Generates a solution (.sln) and a set of project files (.csproj) |
2 | @rem for Microsoft Visual Studio .NET 2002 | 2 | @rem for Microsoft Visual Studio .NET 2002 |
3 | cd .. | 3 | cd .. |
4 | Prebuild.exe /target vs2002 /file prebuild.xml /build NET_1_1 /pause | 4 | Prebuild.exe /target vs2002 /file prebuild.xml /build NET_1_1 /pause |
diff --git a/Prebuild/scripts/VS2003.bat b/Prebuild/scripts/VS2003.bat index 1be57f8..929a480 100644 --- a/Prebuild/scripts/VS2003.bat +++ b/Prebuild/scripts/VS2003.bat | |||
@@ -1,4 +1,4 @@ | |||
1 | @rem Generates a solution (.sln) and a set of project files (.csproj) | 1 | @rem Generates a solution (.sln) and a set of project files (.csproj) |
2 | @rem for Microsoft Visual Studio .NET 2002 | 2 | @rem for Microsoft Visual Studio .NET 2002 |
3 | cd .. | 3 | cd .. |
4 | Prebuild.exe /target vs2003 /file prebuild.xml /build NET_1_1 /pause | 4 | Prebuild.exe /target vs2003 /file prebuild.xml /build NET_1_1 /pause |
diff --git a/Prebuild/scripts/VS2005.bat b/Prebuild/scripts/VS2005.bat index 86ad3fc..7a7af1d 100644 --- a/Prebuild/scripts/VS2005.bat +++ b/Prebuild/scripts/VS2005.bat | |||
@@ -1,4 +1,4 @@ | |||
1 | @rem Generates a solution (.sln) and a set of project files (.csproj, .vbproj, etc.) | 1 | @rem Generates a solution (.sln) and a set of project files (.csproj, .vbproj, etc.) |
2 | @rem for Microsoft Visual Studio .NET 2005 | 2 | @rem for Microsoft Visual Studio .NET 2005 |
3 | cd .. | 3 | cd .. |
4 | Prebuild.exe /target vs2005 /file prebuild.xml /build NET_2_0 /pause | 4 | Prebuild.exe /target vs2005 /file prebuild.xml /build NET_2_0 /pause |
diff --git a/Prebuild/scripts/autotools.bat b/Prebuild/scripts/autotools.bat index 1fd3469..43f9a74 100644 --- a/Prebuild/scripts/autotools.bat +++ b/Prebuild/scripts/autotools.bat | |||
@@ -1,4 +1,4 @@ | |||
1 | @rem Generates Makefiles | 1 | @rem Generates Makefiles |
2 | @rem for autotools | 2 | @rem for autotools |
3 | cd .. | 3 | cd .. |
4 | Prebuild.exe /target autotools /file prebuild.xml /pause | 4 | Prebuild.exe /target autotools /file prebuild.xml /pause |
diff --git a/Prebuild/scripts/nant.bat b/Prebuild/scripts/nant.bat index 2a6ae60..925467d 100644 --- a/Prebuild/scripts/nant.bat +++ b/Prebuild/scripts/nant.bat | |||
@@ -1,4 +1,4 @@ | |||
1 | @rem Generates a .build files | 1 | @rem Generates a .build files |
2 | @rem for NAnt | 2 | @rem for NAnt |
3 | cd .. | 3 | cd .. |
4 | Prebuild.exe /target nant /file prebuild.xml /pause | 4 | Prebuild.exe /target nant /file prebuild.xml /pause |
diff --git a/Prebuild/scripts/nant.sh b/Prebuild/scripts/nant.sh index 54a8254..0311971 100644 --- a/Prebuild/scripts/nant.sh +++ b/Prebuild/scripts/nant.sh | |||
@@ -1,2 +1,2 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | prebuild /target nant /file ../prebuild.xml /pause | 2 | prebuild /target nant /file ../prebuild.xml /pause |