How to assign specific values for InstallBuilder tags on different platforms

asked 14 Sep '11, 05:38

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%


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
linuxLinux
linux-x64Linux x86 64 bits
linux-ia64Linux IA64
osxMacOS X
linux-ppcLinux PPC
linux-s390Linux s390
windowsWindows
solaris-sparcSolaris Sparc
solaris-intelSolaris Intel
freebsdFreeBSD 5.x
freebsd6FreeBSD 6.x
freebsd6-x64FreeBSD 6.x 64 bits
freebsd4FreeBSD 4.x
hpuxHP-UX
aixAIX
irix-n32IRIX

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>
link

answered 14 Sep '11, 05:43

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×6
×2
×2
×2

Asked: 14 Sep '11, 05:38

Seen: 1,052 times

Last updated: 14 Sep '11, 05:45