Changeset 2878
- Timestamp:
- 2001-12-03T14:05:36+13:00 (22 years ago)
- Location:
- trunk/is_gsdl_cdrom
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/is_gsdl_cdrom/Component Definitions/Default.cdf
r2857 r2878 14 14 filegroup0=wordpdf 15 15 COMMENT= 16 INCLUDEINBUILD= Yes16 INCLUDEINBUILD=No 17 17 INSTALLATION=ALWAYSOVERWRITE 18 18 COMPRESSIFSEPARATE=No … … 139 139 filegroup0=gsarch 140 140 COMMENT= 141 INCLUDEINBUILD= Yes141 INCLUDEINBUILD=No 142 142 INSTALLATION=ALWAYSOVERWRITE 143 143 COMPRESSIFSEPARATE=No … … 219 219 filegroup0=hdlsub 220 220 COMMENT= 221 INCLUDEINBUILD= Yes221 INCLUDEINBUILD=No 222 222 INSTALLATION=ALWAYSOVERWRITE 223 223 COMPRESSIFSEPARATE=No … … 244 244 filegroup0=Export collection 245 245 COMMENT= 246 INCLUDEINBUILD= Yes246 INCLUDEINBUILD=No 247 247 INSTALLATION=ALWAYSOVERWRITE 248 248 COMPRESSIFSEPARATE=No … … 452 452 filegroup0=Not installed files 453 453 COMMENT= 454 INCLUDEINBUILD= Yes454 INCLUDEINBUILD=No 455 455 INSTALLATION=ALWAYSOVERWRITE 456 456 COMPRESSIFSEPARATE=No … … 505 505 DEFSELECTION=Yes 506 506 COMMENT= 507 INCLUDEINBUILD= Yes507 INCLUDEINBUILD=No 508 508 INSTALLATION=ALWAYSOVERWRITE 509 509 COMPRESSIFSEPARATE=No … … 530 530 filegroup0=chinese 531 531 COMMENT= 532 INCLUDEINBUILD= Yes532 INCLUDEINBUILD=No 533 533 INSTALLATION=ALWAYSOVERWRITE 534 534 COMPRESSIFSEPARATE=No … … 555 555 filegroup0=Documentation 556 556 COMMENT= 557 INCLUDEINBUILD= Yes557 INCLUDEINBUILD=No 558 558 INSTALLATION=ALWAYSOVERWRITE 559 559 COMPRESSIFSEPARATE=No -
trunk/is_gsdl_cdrom/File Groups/Default.fdf
r2857 r2878 1 [ gsarch]1 [Local library] 2 2 SELFREGISTERING=No 3 3 HTTPLOCATION= … … 16 16 group16=wordpdf 17 17 group17=Documentation 18 group0= Local library19 group1= gsarch20 group2= Build-time executables21 group3= hdlsub22 group4=Source files - Windows23 group5=Source files 24 group6= Run-time files25 group10= Not installed files - windows26 group7= Web library18 group0=gsarch 19 group1=Local library 20 group2=hdlsub 21 group3=Build-time executables 22 group4=Source files 23 group5=Source files - Windows 24 group6=Web library 25 group10=cgi-bin 26 group7=Run-time files 27 27 group11=Export collection 28 28 group8=Build-time files 29 29 group12=Empty files - Windows 30 group9= cgi-bin31 group13= chinese32 group14= Not installed files30 group9=Not installed files - windows 31 group13=Not installed files 32 group14=chinese 33 33 group15=Readme 34 34 35 [Local library] 35 [gsarch] 36 SELFREGISTERING=No 37 HTTPLOCATION= 38 LANGUAGE= 39 OPERATINGSYSTEM= 40 FTPLOCATION= 41 FILETYPE=No 42 INFOTYPE=Standard 43 COMMENT= 44 COMPRESS=Yes 45 COMPRESSDLL= 46 POTENTIALLY=No 47 MISC= 48 49 [Build-time executables] 36 50 SELFREGISTERING=No 37 51 HTTPLOCATION= … … 61 75 MISC= 62 76 63 [ Build-time executables]77 [Source files - Windows] 64 78 SELFREGISTERING=No 65 79 HTTPLOCATION= … … 89 103 MISC= 90 104 91 [ Source files - Windows]105 [Run-time files] 92 106 SELFREGISTERING=No 93 107 HTTPLOCATION= … … 117 131 MISC= 118 132 119 [Run-time files]120 SELFREGISTERING=No121 HTTPLOCATION=122 LANGUAGE=123 OPERATINGSYSTEM=124 FTPLOCATION=125 FILETYPE=No126 INFOTYPE=Standard127 COMMENT=128 COMPRESS=Yes129 COMPRESSDLL=130 POTENTIALLY=No131 MISC=132 133 133 [Build-time files] 134 134 SELFREGISTERING=No … … 145 145 MISC= 146 146 147 [cgi-bin] 148 SELFREGISTERING=No 149 HTTPLOCATION= 150 LANGUAGE= 151 OPERATINGSYSTEM= 152 FTPLOCATION= 153 FILETYPE=No 154 INFOTYPE=Standard 155 COMMENT= 156 COMPRESS=Yes 157 COMPRESSDLL= 158 POTENTIALLY=No 159 MISC= 160 147 161 [Not installed files - windows] 148 SELFREGISTERING=No149 HTTPLOCATION=150 LANGUAGE=151 OPERATINGSYSTEM=152 FTPLOCATION=153 FILETYPE=No154 INFOTYPE=Standard155 COMMENT=156 COMPRESS=Yes157 COMPRESSDLL=158 POTENTIALLY=No159 MISC=160 161 [cgi-bin]162 162 SELFREGISTERING=No 163 163 HTTPLOCATION= … … 206 206 Name= 207 207 208 [chinese] 209 SELFREGISTERING=No 210 HTTPLOCATION= 211 LANGUAGE= 212 OPERATINGSYSTEM= 213 FTPLOCATION= 214 FILETYPE=No 215 INFOTYPE=Standard 216 COMMENT= 217 COMPRESS=Yes 218 COMPRESSDLL= 219 POTENTIALLY=No 220 MISC= 221 208 222 [Not installed files] 209 223 SELFREGISTERING=No … … 220 234 MISC= 221 235 222 [chinese]223 SELFREGISTERING=No224 HTTPLOCATION=225 LANGUAGE=226 OPERATINGSYSTEM=227 FTPLOCATION=228 FILETYPE=No229 INFOTYPE=Standard230 COMMENT=231 COMPRESS=Yes232 COMPRESSDLL=233 POTENTIALLY=No234 MISC=235 236 236 [Readme] 237 237 SELFREGISTERING=No -
trunk/is_gsdl_cdrom/File Groups/Not installed files - windows.fgl
r2849 r2878 1 [bin\windows]2 file0=C:\sjboddie\gsdl-2.37-cdrom\Windows\bin\windows\setpw.exe3 fulldirectory=4 5 [bin]6 SubDir0=bin\windows7 fulldirectory=8 9 1 [TopDir] 10 2 file0=C:\sjboddie\gsdl\src\checkis\checkis_cd\Release\checkis.exe 11 SubDir0=bin12 3 13 4 [General] -
trunk/is_gsdl_cdrom/File Groups/Run-time files.fgl
r2868 r2878 174 174 file12=C:\sjboddie\gsdl-2.37-cdrom\gsdl\etc\packages\rtftohtm\rtf-ctrl 175 175 176 [bin\windows] 177 file0=C:\sjboddie\gsdl-2.37-cdrom\Windows\bin\windows\setpw.exe 178 fulldirectory= 179 176 180 [bin] 177 181 SubDir0=bin\java 182 SubDir1=bin\windows 178 183 fulldirectory= 179 184 -
trunk/is_gsdl_cdrom/Greenstone Digital Library Software.ipr
r2862 r2878 6 6 7 7 [Data] 8 CurrentMedia= cdrom8 CurrentMedia=web 9 9 set_mifserial= 10 10 ProductName=Greenstone Digital Library Software … … 46 46 [MediaInfo] 47 47 mediadata0=cdrom/Media\cdrom 48 mediadata1=web/Media\web 48 49 49 50 [General] -
trunk/is_gsdl_cdrom/Script Files/setup.rul
r2868 r2878 1 // To create a CDROM distribution, set the bIsCDROM variable to TRUE 2 // and set all components "Include in Build" options to "Yes" in the 3 // IDE. For a web distribution set bIsCDROM to FALSE and set "Include 4 // in Build" to "No" for those components mentioned in the SetComponents() 5 // function of this script. 6 7 1 8 2 9 //////////////////////////////////////////////////////////////////////////////// … … 62 69 prototype DialogSetupType(); 63 70 prototype DialogSelectCollections(); 71 prototype DialogAskDestPath(); 64 72 prototype DialogGetAdminPassword(); 65 73 prototype SetComponents(); … … 85 93 86 94 // your global variables 87 BOOL bCompact ;95 BOOL bCompact, bIsCDROM; 88 96 STRING svAdminPassword, svLogFile; 89 97 … … 154 162 SetupScreen(); 155 163 156 CheckWin32s(); 164 // set this variable to TRUE if we're creating a CDROM installation 165 bIsCDROM = FALSE; 166 167 if (bIsCDROM) then 168 CheckWin32s(); 169 endif; 157 170 158 171 if (ShowDialogs()<0) goto end_install; … … 173 186 CleanUpInstall(); 174 187 175 InstallCollOrganizer(); 188 if (bIsCDROM) then 189 InstallCollOrganizer(); 190 endif; 176 191 177 192 // If an unrecoverable error occurred, clean up … … 210 225 if (nResult = BACK) goto Dlg_SdLicense; 211 226 212 Dlg_SetupType: 213 nResult = DialogSetupType(); 214 if (nResult = BACK) goto Dlg_GreenstoneInstallationType; 227 if (bIsCDROM) then 228 Dlg_SetupType: 229 nResult = DialogSetupType(); 230 if (nResult = BACK) goto Dlg_GreenstoneInstallationType; 231 else 232 bCompact = TRUE; 233 endif; 215 234 216 235 else … … 224 243 SetComponents(); 225 244 226 Dlg_SelectCollections: 227 nResult = DialogSelectCollections(); 245 if (bIsCDROM) then 246 247 Dlg_SelectCollections: 248 nResult = DialogSelectCollections(); 249 250 else 251 252 Dlg_AskDestPath: 253 nResult = DialogAskDestPath(); 254 255 endif; 256 228 257 if (nResult = BACK) then 229 258 if (bIs32BitSetup = FALSE) goto Dlg_SdLicense; 259 if (bIsCDROM = FALSE) goto Dlg_GreenstoneInstallationType; 230 260 goto Dlg_SetupType; 231 261 endif; … … 233 263 Dlg_GetAdminPassWord: 234 264 nResult = DialogGetAdminPassword(); 235 if (nResult = BACK) goto Dlg_SelectCollections; 265 if (nResult = BACK) then 266 if (bIsCDROM) goto Dlg_SelectCollections; 267 goto Dlg_AskDestPath; 268 endif; 236 269 237 270 return 0; … … 697 730 698 731 732 function DialogAskDestPath() 733 NUMBER nResult; 734 735 begin 736 737 nResult = SdAskDestPath("", "", svDir, 0); 738 TARGETDIR = svDir; 739 740 return nResult; 741 end; 742 743 699 744 function DialogGetAdminPassword() 700 745 STRING szTitle, szMsg, szField1; … … 733 778 if (bIs32BitSetup = FALSE) then 734 779 // Windows 3.1 - make certain no components that may contain 735 // long filenames isselected780 // long filenames are selected 736 781 ComponentSelectItem(MEDIA, "Build-time files", FALSE); 737 782 ComponentSelectItem(MEDIA, "Build-time executables", FALSE); … … 745 790 endif; 746 791 792 if (bIsCDROM = FALSE) then 793 // not a CDROM installation - make sure CDROM only components 794 // aren't selected (should also make sure these components have 795 // their "Include in Build" option set to "No" in the IDE) 796 ComponentSelectItem(MEDIA, "Not installed files", FALSE); 797 ComponentSelectItem(MEDIA, "Documentation", FALSE); 798 ComponentSelectItem(MEDIA, "collections", FALSE); 799 ComponentSelectItem(MEDIA, "Export Collection", FALSE); 800 endif; 801 747 802 end; 748 803 … … 755 810 756 811 dbfile = TARGETDIR ^ "etc" ^ "users.db"; 757 cmd = "\"" + SRCDIR ^ "bin" ^ "windows" ^ "setpw.exe\"";812 cmd = "\"" + TARGETDIR ^ "bin" ^ "windows" ^ "setpw.exe\""; 758 813 cmdline = " -u admin -p " + svAdminPassword + " -o \"" + dbfile + "\""; 759 814 … … 1134 1189 1135 1190 1191 1192 1193
Note:
See TracChangeset
for help on using the changeset viewer.