openInstaller provides a way to declare platform specific config attributes
openInstaller has a way to provide the platform specific value in declarative way.
User need not to write java code to specify platform specific config attribute value.
Following is an example.
e.g
In this example we have config attribute "InstallHome",Here we show the way to specify
platform specific value for property "installhome".
<prop name=InstallHome>
<!-- applies to all other Unix -->
<value osType="Unix">/opt/sun/wbsvr7</value>
<!-- applies to all Solaris -->
<value osType="Unix" osName="SunOS">/opt/SUNWwbsvr7</value>
<!-- applies to all Solaris 10-->
<value osType="Unix" osName="SunOS" osVers="5.10">/opt/SUNWwbsvr7/s10</value>
<!-- applies only to Solaris 11 x86_64 -->
<value osType="Unix" osName="SunOS" osVers="5.11" osArch="x86_64">/opt/SUNWwbsvr7/s11/x64</value>
<!-- applies to all Linux -->
<value osType="Unix" osName="Linux">/opt/sun/linuxwb7</value>
<!-- applies to windows -->
<value osType="Windows">C:\\WebServer7</value>
</prop>
So in above example you can see we are declaring, for solaris, most generic to more
specific platform value,also this example contains value for Linux and Windows platform too.
If Installer runs on windows or Linux platform it pickus up windows or Linux value specified.
If openInstaller runs on Solaris, as you are seeing we have different value for solaris,
Installer picks up most specific value.So if installer runs on solaris version 11
with Arch 64, It will pick up "/opt/SUNWwbsvr7/s11/x64" value.
If it run on anyother UNIX flavour platform, Installer picks up "/opt/sun/wbsvr7" value.
Thats it for now.
Keep watching for more openInstaller feature,You can try openInstaller from http://openinstaller.org/.
Also you can login to IRC channel #openInstaller to get any openInstaller support.