[izpack-users] verifier after install path selection needed

Bernd Jürgens bernd at promedico.com
Thu Aug 9 19:43:57 CEST 2007


Hello,

I need to verify the $INSTALL_PATH, since
this the files for this project need to be 
installed into an existing directory structure.

So I need to verify that the parents of 
$INSTALL_PATH contain some known files. 

I tried for some hours now, but my jar
never got called, 
"java -DTRACE=true -DSTACKTRACE=true -jar install.jar"
shows no hints of izPack trying to access it.

Has anyone a working example of a verifier
that gets called after install path selection?

Thanks a lot,

Bernd




-- install.xml --
<jar src="proIzPack.jar" stage="install"/>

<resources>
        <res id="InfoPanel.info" src="Readme.txt"/>
	<res id="TargetPanel.dir" src="TargetDir.txt" />
	<res id="TargetPanel.Spec.xml" src="TargetPanel.Spec.xml"/>
</resources>

-- TargetPanel.Spec.xml --
<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<processing>
	<job name="VerifyPath">
	    <logfiledir>$INSTALL_PATH</logfiledir>
<!---		<os family="windows" /> -->
			<executeclass name="com.promedico.izpack.CheckPath">
				<args>
					<arg value="bla"/>
				</args>
			</executeclass>
<!--		</os> -->
	</job>
</processing>



More information about the izpack-users mailing list