[izpack-users] Problem with os specific installings

Jacobo García jacobo.garcia at gmail.com
Fri Sep 1 01:18:35 CEST 2006


I'm creating an installer that does only have to copy a folder (which
contains the application) to the specified install location, this folder is
different depending on what operating system is being installed the
application (different compilations in different folders), there is one
source folder for each operating system too.

In doc says that you can use os attribute to restrict the instalation of one
file to only one operating system.  And this way is how I generated my
izpack install.xml

Here is the izpack xml code:

<?xml version="1.0" encoding="UTF-8"?>
<installation version="1.0">
    <appname>Hello World</appname>
      <author email="jacobo at foobar.com" name="Jacobo García"/>
  <guiprefs height="600" resizable="no" width="800"/>
    <langpack iso3="eng"/>
    <res id="InfoPanel.info"
    <panel classname="HelloPanel"/>
    <panel classname="InfoPanel"/>
    <panel classname="InstallPanel"/>
    <pack name="Main" required="yes">
      <description>Main Pack that does all the installation</description>
      <file os="linux" override="true"
src="/Users/jacobo/Desktop/export/linux.gtk.x86" targetdir="/opt/Hello
      <file os="windows" override="true"
src="/Users/jacobo/Desktop/export/win32.win32.x86" targetdir="c:\Program
Files\Hello World"/>
      <file os="mac" override="true"
targetdir="/Applications/Hello World"/>

The problem comes when I run the installer and by default it installs me the
linux and mac versions. I am running Mac OS X.

It is not enough with this os attribute?, should I do separate packs for
every compilation?

Jacobo García López de Araujo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20060901/1f23a929/attachment.html 

More information about the izpack-users mailing list