summaryrefslogblamecommitdiff
path: root/config/izpack/install-nsc.xml
blob: 08737a42fec15d6eeab60b525f2b656c40faa5e7 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                      






                                      
                    

                                  
 

                                              
                                                     















                                            











                                                                                        





                                         

                                     
                                     




                                          
                                                     
                                                               


                   

                                                     





                                                         
                                                         


                                                               
                                                                        
                                                         
                           
                                                                              
                                       
                                                                                


                      

                                                             
                                                        


                                             
                                                                        


                                            
                                                                    

                                        

                                               
                                                      







                                                                                              



               
<?xml version=1.0" encoding="UTF-8" standalone="yes"?>
<!-- $Id$ -->

<installation version="1.0">

  <info>
    <appname>Scala</appname>
    <appversion>@VERSION@</appversion>
    <url>@URL@</url>
    <javaversion>1.4</javaversion>
  </info>

  <native type="izpack" name="ShellLink.dll"/>

  <guiprefs resizable="yes" height="400" width="600">
    <laf name="metouia">
      <os family="unix"/>
    </laf>
    <laf name="looks">
      <os family="windows"/>
      <param name="variant" value="extwin"/>
    </laf>
  </guiprefs>

  <locale>
    <langpack iso3="eng"/>
    <langpack iso3="fra"/>
    <langpack iso3="deu"/>
  </locale>

  <resources>
    <res id="installer.langsel.img"        src="@RESOURCEDIR@/images/Splash.png"/>
    <res id="Installer.image"              src="@RESOURCEDIR@/images/install.png"/>
    <res id="HTMLInfoPanel.info_eng"       src="@RESOURCEDIR@/locales/INFO_en.html"/>
    <res id="HTMLInfoPanel.info_fra"       src="@RESOURCEDIR@/locales/INFO_fr.html"/>
    <res id="HTMLInfoPanel.info_deu"       src="@RESOURCEDIR@/locales/INFO_de.html"/>
    <res id="HTMLLicencePanel.licence_eng" src="@RESOURCEDIR@/locales/LICENSE_en.html"/>
    <res id="HTMLLicencePanel.licence_fra" src="@RESOURCEDIR@/locales/LICENSE_fr.html"/>
    <res id="HTMLLicencePanel.licence_deu" src="@RESOURCEDIR@/locales/LICENSE_de.html"/>
    <res id="TargetPanel.dir.macosx"       src="@RESOURCEDIR@/targets/path_macosx.txt"/>
    <res id="TargetPanel.dir.unix"         src="@RESOURCEDIR@/targets/path_unix.txt"/>
    <res id="ProcessPanel.Spec.xml"        src="@RESOURCEDIR@/izpack_process.xml"/>
    <res id="shortcutSpec.xml"             src="@RESOURCEDIR@/izpack_shortcut.xml"/>
  </resources>

  <panels>
    <panel classname="HelloPanel"/>
    <panel classname="HTMLInfoPanel"/>
    <panel classname="HTMLLicencePanel"/>
    <panel classname="TargetPanel"/>
    <panel classname="InstallPanel"/>
    <panel classname="ProcessPanel"/>
    <panel classname="ShortcutPanel"/>
    <panel classname="SimpleFinishPanel"/>
  </panels>

  <packs>
    <pack name="Package Installation" required="yes">
      <description>Installing the Scala software.</description>

      <!-- unix -->

      <fileset os="unix"
               dir="distribs/unix/@PREFIX@-@VERSION@"
               targetdir="$INSTALL_PATH"
               includes="share/**"/>
      <!-- The <singlefile> tag allows the file -->
      <!-- to be renamed (unlike <file>).       -->
      <singlefile os="unix"
                  target="$INSTALL_PATH/bin/.nsc_symlink"
                  src="sources/bin/izpack.symlink.tmpl"/>
      <executable os="unix"
                  targetfile="$INSTALL_PATH/bin/.nsc_symlink"/>
      <singlefile os="unix"
                  target="$INSTALL_PATH/share/@PREFIX@/bin/.nsc_symlink"
                  src="sources/bin/izpack.symlink.tmpl"/>
      <executable os="unix"
                  targetfile="$INSTALL_PATH/share/@PREFIX@/bin/.nsc_symlink"/>
      <executable os="unix" keep="true"
                  targetfile="$INSTALL_PATH/share/@PREFIX@/bin/.scala_wrapper"/>

      <!-- windows -->

      <!-- we share common resources doc/*.pdf and lib/** -->
      <fileset os="windows"
               dir="distribs/windows/@PREFIX@-@VERSION@"
               targetdir="$INSTALL_PATH"
               excludes="doc/*.pdf, lib/**"/>
      <fileset os="windows"
               dir="distribs/unix/@PREFIX@-@VERSION@/share/doc/@PREFIX@"
               targetdir="$INSTALL_PATH/doc"
               includes="*.pdf"/>
      <fileset os="windows"
               dir="distribs/unix/@PREFIX@-@VERSION@/share/@PREFIX@"
               targetdir="$INSTALL_PATH"
               includes="lib/**"/>
      <fileset os="windows"
               dir="config/izpack/registry/bin"
               targetdir="$INSTALL_PATH/Uninstaller"/>
      <executable os="windows" stage="uninstall"
                  targetfile="$JAVA_HOME\bin\java">
        <arg>-Djava.library.path=$INSTALL_PATH\Uninstaller</arg>
        <arg>-cp</arg>
        <arg>$INSTALL_PATH\Uninstaller\registry.jar;$INSTALL_PATH\Uninstaller\setenv.jar</arg>
        <arg>Main</arg>
        <arg>@VERSION@</arg>
      </executable>
    </pack>
  </packs>

</installation>