Changeset 28822


Ignore:
Timestamp:
2014-01-31T20:09:58+13:00 (8 years ago)
Author:
ak19
Message:

Fixing up the Windows shortcuts for Expeditee (ak19)

Location:
other-projects/expeditee-release-kits
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • other-projects/expeditee-release-kits/kits/rke/ant-scripts/compile.xml

    r28800 r28822  
    3030            <exec dir="${rk.home}/shared/core/search4j" executable="nmake"><arg value="/f"/><arg value="win32.mak"/></exec>
    3131            <copy file="${rk.home}/shared/core/search4j/search4j.exe" todir="${basedir}/compiled/bin" />
     32            <!-- copy icon for windows -->
     33            <copy file="${rk.home}/shared/core/icon/icon.ico" todir="${basedir}/compiled/bin" />
    3234        </if>
    3335        <!-- copy run scripts -->
  • other-projects/expeditee-release-kits/kits/rke/installer/build.xml

    r28721 r28822  
    7373        <!-- if windows -->
    7474        <!-- figure out the start menu path -->
    75         <getfreepath path="${win32.personal.programs_menu}\${projectname}" property="startmenu.path"/>     
     75        <getfreepath path="${win32.personal.programs_menu}\@projectname@" property="startmenu.path"/>       
    7676        <path id="startmenu.path.path" path="${startmenu.path}"/>
    7777        <pathconvert targetos="unix" property="startmenu.path.unix" refid="startmenu.path.path"/>
     
    163163    <target name="Installing Start Menu Shortcuts">
    164164
    165         <mkdir dir="${startmenu.path}\Documentation"/>
    166 
    167         <!-- Server shortcut -->
    168         <if><bool><available file="${installDir}/web/images/server.ico"/></bool>
    169             <property name="servericon" value="${installDir}\web\images\server.ico"/>
    170             <else>
    171                 <property name="servericon" value="${installDir}\web\images\serverico.ico"/>
    172             </else>
    173         </if>
    174 
     165        <!-- Expeditee shortcut -->
     166        <property name="expediteeicon" value="${installDir}\bin\icon.ico"/>
     167       
    175168        <shortcut
    176             file="${startmenu.path}\Greenstone Server.lnk"
    177             execute="${installDir}\gs2-server.bat"
     169            file="${startmenu.path}\Expeditee.lnk"
     170            execute="${installDir}\run.bat"
    178171            workingDirectory="${installDir}"
    179             iconFile="${servericon}"
     172            iconFile="${expediteeicon}"
    180173            iconIndex="0" />
    181 
    182         <!-- Librarian shortcut -->
    183         <if><bool><available file="${installDir}/web/images/librarian.ico"/></bool>
    184             <property name="libraryicon" value="${installDir}\web\images\librarian.ico"/>
    185             <else>
    186                 <property name="libraryicon" value="${installDir}\web\images\icon.ico"/>
    187             </else>
    188         </if>
    189 
    190         <shortcut
    191             file="${startmenu.path}\Librarian Interface (GLI).lnk"
    192             execute="${installDir}\gli\gli.bat"
    193             workingDirectory="${installDir}\gli"
    194             iconFile="${libraryicon}"
    195             iconIndex="0" />
    196            
    197         <!-- Remote Server shortcut -->
    198         <if><bool><available file="${installDir}/web/images/clientgli.ico"/></bool>
    199             <property name="clientgliicon" value="${installDir}\web\images\clientgli.ico"/>
    200             <else>
    201                 <property name="clientgliicon" value="${installDir}\web\images\icon.ico"/>
    202             </else>
    203         </if>
    204 
    205         <shortcut
    206             file="${startmenu.path}\Remote Librarian Interface (Client GLI).lnk"
    207             execute="${installDir}\gli\client-gli.bat"
    208             workingDirectory="${installDir}\gli"
    209             iconFile="${clientgliicon}"
    210             iconIndex="0" />
    211 
    212         <!-- GEMS shortcut -->
    213         <if><bool><available file="${installDir}/web/images/metadata.ico"/></bool>
    214             <property name="gemsicon" value="${installDir}\web\images\metadata.ico"/>       
    215             <else>
    216                 <property name="gemsicon" value="${installDir}\web\images\gems.ico"/>   
    217             </else>
    218         </if>
    219 
    220         <shortcut
    221             file="${startmenu.path}\Metadata Set Editor (GEMS).lnk"
    222             execute="${installDir}\gli\gems.bat"
    223             workingDirectory="${installDir}\gli"
    224             iconFile="${gemsicon}"
    225             iconIndex="0" />
    226 
    227         <!-- Uninstall shortcut -->
    228         <if><bool><available file="${installDir}/web/images/newuninstall.ico"/></bool>
    229             <property name="uninstallicon" value="${installDir}\web\images\newuninstall.ico"/>     
    230             <else>
    231                 <property name="uninstallicon" value="${installDir}\web\images\uninstall.ico"/>     
    232             </else>
    233         </if>
    234        
    235         <shortcut
    236             file="${startmenu.path}\Uninstall.lnk"
    237             execute="${installDir}\uninstall\Uninstall.bat"
    238             workingDirectory="${installDir}\uninstall"
    239             iconFile="${uninstallicon}"
    240             iconIndex="0" />
    241 
    242         <!-- Misc shortcuts -->
    243         <shortcut
    244             file="${startmenu.path}\Documentation\READMEen.lnk"
    245             execute="${installDir}\READMEen.txt" />
    246 
    247         <shortcut
    248             file="${startmenu.path}\Documentation\Greenstone Wiki.url"
    249             url="http://wiki.greenstone.org" />
    250 
    251         <shortcut
    252             file="${startmenu.path}\Documentation\Greenstone Website.url"
    253             url="http://www.greenstone.org" />
    254174
    255175    </target>
Note: See TracChangeset for help on using the changeset viewer.