[izpack-users] Post installation script execution issue..

Ajay Kumar Gour ajay.g at s7solutions.com
Mon Jan 14 10:27:04 CET 2008


Hi All,

Iam trying to execute the script as a post installation task. For this  
purpose, i have used both ProcessPanel and executable approach but  
Installer is not able to execute it. It appears that Installer is not  
preserving the execution rights of the script. Script has only Read and  
Write rights after installation.

Does anybody knows how to sort it out? Any help would be highly  
appreciated. Here is installer configuration -

<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
<installation version="1.0">
     <info>
         <appname>Test</appname>
         <appversion>1.0</appversion>
     </info>

	<variables>
		<variable name="PORT" value="5401"/>
	</variables>
     <guiprefs width="860" height="420" resizable="no"/>

     <resources>
         <res id="LicencePanel.licence" src="License.txt"/>
         <res id="InfoPanel.info" src="Readme.txt"/>
         <res id="userInputSpec.xml" src="userInputSpec.xml"/>
         <res id="ProcessPanel.Spec.xml" src="ProcessPanel.Spec.xml"/>
     </resources>

     <panels>
         <panel classname="HelloPanel"/>
         <panel classname="InfoPanel"/> <!-- Panel will contain ReadMe  
text-->
         <panel classname="LicencePanel"/> <!-- Panel will contain License  
text-->
         <panel classname="TargetPanel"/>
         <panel classname="UserInputPanel"/>
         <panel classname="PacksPanel"/>
         <panel classname="InstallPanel"/>
         <panel classname="ProcessPanel"/>
         <panel classname="FinishPanel"/>
     </panels>

     <packs>
         <pack name="Base" required="yes">
             <description>Connector Server Executibles</description>
             <file src="Readme.txt" targetdir="$INSTALL_PATH"/>
             <file src="License.txt" targetdir="$INSTALL_PATH"/>
             <file src="executionrights.bash" targetdir="$INSTALL_PATH"/>
             <file src="test.jar" targetdir="$INSTALL_PATH"/>
             <file src="conf" targetdir="$INSTALL_PATH"/>
             <file src="lib" targetdir="$INSTALL_PATH"/>
             <file src="test" targetdir="$INSTALL_PATH"/>
             <parsable targetfile="$INSTALL_PATH/conf/test_config.xml"  
type="xml"/>
             <parsable  
targetfile="$INSTALL_PATH/test/scripts/test_standalone.bash"/>
		<!--executable targetfile="$INSTALL_PATH/executionright.bash"  
stage="never"/-->
         </pack>
     </packs>
</installation>

Thanks,
-Ajay


More information about the izpack-users mailing list