How to assign specific values for InstallBuilder tags on different platforms

Answered

Comments

1 comment

  • Avatar
    Jake

    You should consider using platformOptionList tag. It lets you assign specific values to InstallBuilder common properties for different platforms. platform tag may include the following values (please remember that all and unix values are not allowed).

    Value Platform
    linux Linux
    linux-x64 Linux x86 64 bits
    linux-ia64 Linux IA64
    osx MacOS X
    linux-ppc Linux PPC
    linux-s390 Linux s390
    windows Windows
    solaris-sparc Solaris Sparc
    solaris-intel Solaris Intel
    freebsd FreeBSD 5.x
    freebsd6 FreeBSD 6.x
    freebsd6-x64 FreeBSD 6.x 64 bits
    freebsd4 FreeBSD 4.x
    hpux HP-UX
    aix AIX
    irix-n32 IRIX

    The good example describing the platformOptionsList presented below:
    <platformOptionsList>
      <platformOptions>
        <platform>linux</platform>
        <leftImage>images/abc_linux_left.png</leftImage>
        <height>400</height>
      </platformOptions>
      <platformOptions>
        <postInstallationScript>${installdir}/linux-x64-script.sh</postInstallationScript>
        <platform>linux-x64</platform>
      </platformOptions>
      <platformOptions>
        <platform>solaris-sparc</platform>
        <leftImage>images/abc_solaris_sparc_left.png</leftImage>
      </platformOptions>
      <platformOptions>
        <platform>solaris-intel</platform>
        <leftImage>images/abc_solaris_intel_left.png</leftImage>
      </platformOptions>
      <platformOptions>
        <platform>windows</platform>
        <leftImage>images/abc_left.png</leftImage>
      </platformOptions>
      <platformOptions>
        <platform>osx</platform>
        <leftImage>images/abc_osx_left.png</leftImage>
        <height>500</height>
      </platformOptions>
    </platformOptionsList>
    

Please sign in to leave a comment.