リリースはありません
プロダクトファイルとは、個々のプロダクト(ソフトウェア)を
インストール、アンインストール、アップデートするための定義のことです。
また、インストール全体の前処理、後処理の定義ファイルも記述内容はプロダクト定義ファイルと同じです。
<?xml version="1.0" encoding="Shift_JIS"?> <product os="windows"> <name>Apache</name> <ver>2.2.6</ver> <required>false</required> <localDir>products\apache\httpd-${product.ver}</localDir> <description>Webサーバーです。</description> <properties> <productBaseUrl>http://archive.apache.org/dist/httpd/binaries/win32</productBaseUrl> <openStandiaBaseUrl>http://openstandia.sourceforge.jp/download/stack</openStandiaBaseUrl> <dir>apache</dir> <mainFileName>apache_${product.ver}-win32-x86-no_ssl.msi</mainFileName> <confDefault>httpd-default.conf</confDefault> <confOpenStandia>httpd-openstandia.conf</confOpenStandia> <installDir>${define.windows.apache.installDir}</installDir> : </properties> <config> <pattern sub="1">標準設定</pattern> <pattern sub="2">OpenStandia推奨設定</pattern> </config> <files> <file url="${product.properties.productBaseUrl}/${product.properties.mainFileName}">${product.properties.mainFileName}</file> <file url="${product.properties.openStandiaBaseUrl}/${product.properties.dir}/conf/win/httpd-default-2.2.conf">conf/win/${product.properties.confDefault}</file> <file url="${product.properties.openStandiaBaseUrl}/${product.properties.dir}/conf/win/httpd-openstandia-2.2.conf">conf/win/${product.properties.confOpenStandia}</file> <file url="${product.properties.openStandiaBaseUrl}/${product.properties.dir}/sh/install/apache-install.bat">sh/install/apache-install.bat</file> <file url="${product.properties.openStandiaBaseUrl}/${product.properties.dir}/sh/install/apache-after.bat">sh/install/apache-after.bat</file> <file url="${product.properties.openStandiaBaseUrl}/${product.properties.dir}/sh/uninstall/apache-uninstall.bat">sh/uninstall/apache-uninstall.bat</file> <file url="${product.properties.openStandiaBaseUrl}/${product.properties.dir}/sh/update/apache-update.bat">sh/update/apache-update.bat</file> </files> <execs> <install> <exec cmd="cmd.exe"> <args> <arg>/c</arg> <arg>sh\install\apache-install.bat</arg> <arg>"${define.windows.openStandia.tmp}\${product.localDir}"</arg> <arg>"${product.properties.mainFileName}"</arg> <arg>"${product.properties.installDir}"</arg> <arg>"${product.properties.serviceName}"</arg> </args> </exec> <exec cmd="cmd.exe"> <args> <arg>/c</arg> <arg>sh\install\apache-after.bat</arg> <arg>${sub}</arg> <arg>"${define.windows.openStandia.tmp}\${product.localDir}\conf\win"</arg> <arg>"${product.properties.installDir}"</arg> <arg>${product.properties.confDefault}</arg> <arg>${product.properties.confOpenStandia}</arg> </args> </exec> : </install> <uninstall> <exec cmd="cmd.exe"> <args> <arg>/c</arg> <arg>sh\uninstall\apache-uninstall.bat</arg> <arg>"${define.windows.openStandia.tmp}\${product.localDir}"</arg> <arg>"${product.properties.mainFileName}"</arg> <arg>"${product.properties.installDir}"</arg> <arg>"${product.properties.serviceName}"</arg> </args> </exec> </uninstall> <update> <exec cmd="cmd.exe"> <args> <arg>/c</arg> <arg>sh\update\apache-update.bat</arg> <arg>${product.name}</arg> <arg>${product.ver}</arg> <arg>"${product.properties.installDir}"</arg> </args> </exec> </update> </execs> </product>
<product os="windows"> <name>Apache</name> <ver>2.2.6</ver> <required>false</required> <localDir>products\apache\httpd-${product.ver}</localDir> <description>Webサーバーです。</description> <properties/> <files> <file url="http://archive.apache.org/dist/httpd/binaries/win32/apache_2.2.6-win32-x86-no_ssl.msi">apache_2.2.6-win32-x86-no_ssl.msi</file> <file url="http://openstandia.sourceforge.jp/download/stack/sh/install/apache-install.bat">sh/install/apache-install.bat</file> </files> <execs> <install> <exec cmd="cmd.exe"> <args> <arg>/c</arg> <arg>sh\install\apache-install.bat</arg> </args> </exec> </install> <uninstall/> <update/> </execs> </product>
<name>Apache</name>
<ver>2.2.6</ver>
<seq>01</seq>
<required>true</required>
<localDir>products\apache</localDir>
<description>Webサーバーです。</description>
<properties> <openStandiaBaseUrl>http://openstandia.sourceforge.jp/download/stack</openStandiaBaseUrl> </properties>
<config> <pattern sub="1">標準設定</pattern> <pattern sub="2">OpenStandia推奨設定</pattern> </config>
<files> <file url="http://archive.apache.org/・・・/apache_2.2.6-win32-x86-no_ssl.msi">apache_2.2.6-win32-x86-no_ssl.msi</file> <file url="http://openstandia.sourceforge.jp/・・・/apache-install.bat">sh/install/apache-install.bat</file> </files>
<execs> <install> <exec cmd="cmd.exe"> <args> <arg>/c</arg> <arg>sh\install\apache-before.bat</arg> </args> </exec> <exec cmd="cmd.exe"> <args> <arg>/c</arg> <arg>sh\install\apache-install.bat</arg> </args> </exec> <exec cmd="cmd.exe"> <args> <arg>/c</arg> <arg>sh\install\apache-after.bat</arg> </args> </exec> </install> <uninstall/> <update/> </execs>
<pattern sub="1">標準設定</pattern>
<file url="http://archive.apache.org/・・・/apache_2.2.6-win32-x86-no_ssl.msi">apache_2.2.6-win32-x86-no_ssl.msi</file>
<install> <exec cmd="cmd.exe"> <args> <arg>/c</arg> <arg>sh\install\apache-before.bat</arg> </args> </exec> <exec cmd="cmd.exe"> <args> <arg>/c</arg> <arg>sh\install\apache-install.bat</arg> </args> </exec> <exec cmd="cmd.exe"> <args> <arg>/c</arg> <arg>sh\install\apache-after.bat</arg> </args> </exec> </install>
<uninstall> <exec cmd="cmd.exe"> <args> <arg>/c</arg> <arg>sh\uninstall\apache-before.bat</arg> </args> </exec> <exec cmd="cmd.exe"> <args> <arg>/c</arg> <arg>sh\uninstall\apache-uninstall.bat</arg> </args> </exec> <exec cmd="cmd.exe"> <args> <arg>/c</arg> <arg>sh\uninstall\apache-after.bat</arg> </args> </exec> </uninstall>
<update> <exec cmd="cmd.exe"> <args> <arg>/c</arg> <arg>sh\update\apache-before.bat</arg> </args> </exec> <exec cmd="cmd.exe"> <args> <arg>/c</arg> <arg>sh\update\apache-update.bat</arg> </args> </exec> <exec cmd="cmd.exe"> <args> <arg>/c</arg> <arg>sh\update\apache-after.bat</arg> </args> </exec> </update>
<check cmd="cmd.exe"> <args> <arg>/c</arg> <arg>sh\check\check.bat</arg> <arg>${sub}</arg> </args> </check>
<exec cmd="cmd.exe"> <args> <arg>/c</arg> <arg>sh\install\apache-install.bat</arg> <arg>${sub}</arg> </args> </exec>
<args> <arg>Apache</arg> <arg>JBoss</arg> </args>
<arg>Apache</arg>