Changeset 2878


Ignore:
Timestamp:
2001-12-03T14:05:36+13:00 (22 years ago)
Author:
sjboddie
Message:

* empty log message *

Location:
trunk/is_gsdl_cdrom
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/is_gsdl_cdrom/Component Definitions/Default.cdf

    r2857 r2878  
    1414filegroup0=wordpdf
    1515COMMENT=
    16 INCLUDEINBUILD=Yes
     16INCLUDEINBUILD=No
    1717INSTALLATION=ALWAYSOVERWRITE
    1818COMPRESSIFSEPARATE=No
     
    139139filegroup0=gsarch
    140140COMMENT=
    141 INCLUDEINBUILD=Yes
     141INCLUDEINBUILD=No
    142142INSTALLATION=ALWAYSOVERWRITE
    143143COMPRESSIFSEPARATE=No
     
    219219filegroup0=hdlsub
    220220COMMENT=
    221 INCLUDEINBUILD=Yes
     221INCLUDEINBUILD=No
    222222INSTALLATION=ALWAYSOVERWRITE
    223223COMPRESSIFSEPARATE=No
     
    244244filegroup0=Export collection
    245245COMMENT=
    246 INCLUDEINBUILD=Yes
     246INCLUDEINBUILD=No
    247247INSTALLATION=ALWAYSOVERWRITE
    248248COMPRESSIFSEPARATE=No
     
    452452filegroup0=Not installed files
    453453COMMENT=
    454 INCLUDEINBUILD=Yes
     454INCLUDEINBUILD=No
    455455INSTALLATION=ALWAYSOVERWRITE
    456456COMPRESSIFSEPARATE=No
     
    505505DEFSELECTION=Yes
    506506COMMENT=
    507 INCLUDEINBUILD=Yes
     507INCLUDEINBUILD=No
    508508INSTALLATION=ALWAYSOVERWRITE
    509509COMPRESSIFSEPARATE=No
     
    530530filegroup0=chinese
    531531COMMENT=
    532 INCLUDEINBUILD=Yes
     532INCLUDEINBUILD=No
    533533INSTALLATION=ALWAYSOVERWRITE
    534534COMPRESSIFSEPARATE=No
     
    555555filegroup0=Documentation
    556556COMMENT=
    557 INCLUDEINBUILD=Yes
     557INCLUDEINBUILD=No
    558558INSTALLATION=ALWAYSOVERWRITE
    559559COMPRESSIFSEPARATE=No
  • trunk/is_gsdl_cdrom/File Groups/Default.fdf

    r2857 r2878  
    1 [gsarch]
     1[Local library]
    22SELFREGISTERING=No
    33HTTPLOCATION=
     
    1616group16=wordpdf
    1717group17=Documentation
    18 group0=Local library
    19 group1=gsarch
    20 group2=Build-time executables
    21 group3=hdlsub
    22 group4=Source files - Windows
    23 group5=Source files
    24 group6=Run-time files
    25 group10=Not installed files - windows
    26 group7=Web library
     18group0=gsarch
     19group1=Local library
     20group2=hdlsub
     21group3=Build-time executables
     22group4=Source files
     23group5=Source files - Windows
     24group6=Web library
     25group10=cgi-bin
     26group7=Run-time files
    2727group11=Export collection
    2828group8=Build-time files
    2929group12=Empty files - Windows
    30 group9=cgi-bin
    31 group13=chinese
    32 group14=Not installed files
     30group9=Not installed files - windows
     31group13=Not installed files
     32group14=chinese
    3333group15=Readme
    3434
    35 [Local library]
     35[gsarch]
     36SELFREGISTERING=No
     37HTTPLOCATION=
     38LANGUAGE=
     39OPERATINGSYSTEM=
     40FTPLOCATION=
     41FILETYPE=No
     42INFOTYPE=Standard
     43COMMENT=
     44COMPRESS=Yes
     45COMPRESSDLL=
     46POTENTIALLY=No
     47MISC=
     48
     49[Build-time executables]
    3650SELFREGISTERING=No
    3751HTTPLOCATION=
     
    6175MISC=
    6276
    63 [Build-time executables]
     77[Source files - Windows]
    6478SELFREGISTERING=No
    6579HTTPLOCATION=
     
    89103MISC=
    90104
    91 [Source files - Windows]
     105[Run-time files]
    92106SELFREGISTERING=No
    93107HTTPLOCATION=
     
    117131MISC=
    118132
    119 [Run-time files]
    120 SELFREGISTERING=No
    121 HTTPLOCATION=
    122 LANGUAGE=
    123 OPERATINGSYSTEM=
    124 FTPLOCATION=
    125 FILETYPE=No
    126 INFOTYPE=Standard
    127 COMMENT=
    128 COMPRESS=Yes
    129 COMPRESSDLL=
    130 POTENTIALLY=No
    131 MISC=
    132 
    133133[Build-time files]
    134134SELFREGISTERING=No
     
    145145MISC=
    146146
     147[cgi-bin]
     148SELFREGISTERING=No
     149HTTPLOCATION=
     150LANGUAGE=
     151OPERATINGSYSTEM=
     152FTPLOCATION=
     153FILETYPE=No
     154INFOTYPE=Standard
     155COMMENT=
     156COMPRESS=Yes
     157COMPRESSDLL=
     158POTENTIALLY=No
     159MISC=
     160
    147161[Not installed files - windows]
    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 
    161 [cgi-bin]
    162162SELFREGISTERING=No
    163163HTTPLOCATION=
     
    206206Name=
    207207
     208[chinese]
     209SELFREGISTERING=No
     210HTTPLOCATION=
     211LANGUAGE=
     212OPERATINGSYSTEM=
     213FTPLOCATION=
     214FILETYPE=No
     215INFOTYPE=Standard
     216COMMENT=
     217COMPRESS=Yes
     218COMPRESSDLL=
     219POTENTIALLY=No
     220MISC=
     221
    208222[Not installed files]
    209223SELFREGISTERING=No
     
    220234MISC=
    221235
    222 [chinese]
    223 SELFREGISTERING=No
    224 HTTPLOCATION=
    225 LANGUAGE=
    226 OPERATINGSYSTEM=
    227 FTPLOCATION=
    228 FILETYPE=No
    229 INFOTYPE=Standard
    230 COMMENT=
    231 COMPRESS=Yes
    232 COMPRESSDLL=
    233 POTENTIALLY=No
    234 MISC=
    235 
    236236[Readme]
    237237SELFREGISTERING=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.exe
    3 fulldirectory=
    4 
    5 [bin]
    6 SubDir0=bin\windows
    7 fulldirectory=
    8 
    91[TopDir]
    102file0=C:\sjboddie\gsdl\src\checkis\checkis_cd\Release\checkis.exe
    11 SubDir0=bin
    123
    134[General]
  • trunk/is_gsdl_cdrom/File Groups/Run-time files.fgl

    r2868 r2878  
    174174file12=C:\sjboddie\gsdl-2.37-cdrom\gsdl\etc\packages\rtftohtm\rtf-ctrl
    175175
     176[bin\windows]
     177file0=C:\sjboddie\gsdl-2.37-cdrom\Windows\bin\windows\setpw.exe
     178fulldirectory=
     179
    176180[bin]
    177181SubDir0=bin\java
     182SubDir1=bin\windows
    178183fulldirectory=
    179184
  • trunk/is_gsdl_cdrom/Greenstone Digital Library Software.ipr

    r2862 r2878  
    66
    77[Data]
    8 CurrentMedia=cdrom
     8CurrentMedia=web
    99set_mifserial=
    1010ProductName=Greenstone Digital Library Software
     
    4646[MediaInfo]
    4747mediadata0=cdrom/Media\cdrom
     48mediadata1=web/Media\web
    4849
    4950[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
    18
    29////////////////////////////////////////////////////////////////////////////////
     
    6269    prototype DialogSetupType();
    6370    prototype DialogSelectCollections();
     71    prototype DialogAskDestPath();
    6472    prototype DialogGetAdminPassword();
    6573    prototype SetComponents();
     
    8593
    8694    // your global variables
    87     BOOL bCompact;
     95    BOOL bCompact, bIsCDROM;
    8896    STRING svAdminPassword, svLogFile;
    8997
     
    154162    SetupScreen();
    155163
    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;
    157170
    158171    if (ShowDialogs()<0) goto end_install;
     
    173186    CleanUpInstall();
    174187
    175     InstallCollOrganizer();
     188    if (bIsCDROM) then
     189        InstallCollOrganizer();
     190    endif;
    176191
    177192    // If an unrecoverable error occurred, clean up
     
    210225        if (nResult = BACK) goto Dlg_SdLicense;
    211226
    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;
    215234       
    216235    else
     
    224243    SetComponents();
    225244   
    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       
    228257    if (nResult = BACK) then
    229258        if (bIs32BitSetup = FALSE) goto Dlg_SdLicense;
     259        if (bIsCDROM = FALSE) goto Dlg_GreenstoneInstallationType;
    230260        goto Dlg_SetupType;
    231261    endif;
     
    233263    Dlg_GetAdminPassWord:
    234264    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;
    236269
    237270    return 0;
     
    697730
    698731
     732function DialogAskDestPath()
     733    NUMBER nResult;
     734
     735begin
     736
     737    nResult = SdAskDestPath("", "", svDir, 0);
     738    TARGETDIR = svDir;
     739   
     740    return nResult;
     741end;
     742
     743
    699744function DialogGetAdminPassword()
    700745    STRING szTitle, szMsg, szField1;
     
    733778    if (bIs32BitSetup = FALSE) then
    734779        // Windows 3.1 - make certain no components that may contain
    735         // long filenames is selected
     780        // long filenames are selected
    736781        ComponentSelectItem(MEDIA, "Build-time files", FALSE);
    737782        ComponentSelectItem(MEDIA, "Build-time executables", FALSE);
     
    745790    endif;
    746791   
     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   
    747802end;
    748803
     
    755810
    756811    dbfile = TARGETDIR ^ "etc" ^ "users.db";
    757     cmd = "\"" + SRCDIR ^ "bin" ^ "windows" ^ "setpw.exe\"";
     812    cmd = "\"" + TARGETDIR ^ "bin" ^ "windows" ^ "setpw.exe\"";
    758813    cmdline = " -u admin -p " + svAdminPassword + " -o \"" + dbfile + "\"";
    759814
     
    11341189
    11351190
     1191
     1192
     1193
Note: See TracChangeset for help on using the changeset viewer.