[izpack-users] Setting "TargetPanel.dir" has no effect..

Markus Schlegel markus.schlegel at pulinco.com
Fri Nov 24 17:08:33 CET 2006


ok, Ill take a look at it.
BTW: We also write Shortcuts that way and we do also read and write
from/to the registry.
We do not need any external jar for this, but we have to save some
temporary files (scripts) during execution of those commands.
And -  as you may expect, this is not the fastest solution...
 
Markus

________________________________

From: izpack-users-bounces at lists.berlios.de
[mailto:izpack-users-bounces at lists.berlios.de] On Behalf Of Bartz, Klaus
Sent: Thursday, November 23, 2006 4:44 PM
To: izpack-users at lists.berlios.de
Subject: Re: [izpack-users] Setting "TargetPanel.dir" has no effect..


Hi Markus,
I do not use WSH, I am not firm with things like VBS or JavaScript.
I assume, that not all boxes allow WSH. But let us look.
If you make class and a script file without externel references in the
java code (IzPack uses no external jars)
I will test it on my box(es).
 
Cheers
 
Klaus

	-----Original Message-----
	From: Markus Schlegel
[mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of Markus
Schlegel
	Sent: Thursday, November 23, 2006 4:00 PM
	To: izpack-users at lists.berlios.de
	Subject: AW: [izpack-users] Setting "TargetPanel.dir" has no
effect..
	
	
	I ve just set up the project and will take a look at it.
	We do lookup Windows settings in our application by calling the
"WindowsScriptingHost" with a JavaScript via Exec.
	 
	Maybe this could be a way for IzPack too. We use this for 5
Years without any doubt.
	 
	Could this be an option for you?
	 
	Markus

________________________________

	Von: izpack-users-bounces at lists.berlios.de im Auftrag von Bartz,
Klaus
	Gesendet: Do 23.11.2006 15:23
	An: izpack-users at lists.berlios.de
	Betreff: Re: [izpack-users] Setting "TargetPanel.dir" has no
effect..
	
	
	Hi Markus,
	I do not know whether the docu is wrong or the usage will be a
little
	bit tricky. I know, that the way to resolve the default install
path depending
	to different OSes has a longly code. Some years ago I have
written the 
	subpath "mimik" instead.
	I have only little time and it works in my three installations
since some years,
	therefore this problem is not on the top of my made-stack for
IzPack. If you
	have time, look into the sources.
	 
	Cheers
	 
	Klaus

		-----Original Message-----
		From: Markus Schlegel
[mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of Markus
Schlegel
		Sent: Thursday, November 23, 2006 3:08 PM
		To: izpack-users at lists.berlios.de
		Subject: AW: [izpack-users] Setting "TargetPanel.dir"
has no effect..
		
		
		Ok, thanks, this works.
		But still the documentation states, that it should work
with that "TargetPanel.dir" thing.
		 
		Either the Code or the Documentation is wrong in this
point.
		 
		Markus

________________________________

		Von: izpack-users-bounces at lists.berlios.de im Auftrag
von Bartz, Klaus
		Gesendet: Do 23.11.2006 14:55
		An: izpack-users at lists.berlios.de
		Betreff: Re: [izpack-users] Setting "TargetPanel.dir"
has no effect..
		
		
		Hi Markus,
		use instead <info><appsubpath>, that works.
		see docu subchapter "The Information Element <info>"
		 
		Cheers
		 
		Klaus

			-----Original Message-----
			From: izpack-users-bounces at lists.berlios.de
[mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of Markus
Schlegel
			Sent: Thursday, November 23, 2006 2:45 PM
			To: izpack-users at lists.berlios.de
			Subject: [izpack-users] Setting
"TargetPanel.dir" has no effect..
			
			
			Hi
			I am a new user of IzPack (3.9) and I am trying
to set the default Installation Path displayed in the TargetPanel.
			According to the Documentation, I have to save
the Path in a Txt-File:
			 
			 TargetDir.txt:
			$APPLICATIONS_DEFAULT_ROOT/Pulinco/MyProductXY
			 
			and declare that resource in the install.xml
file.
			 
			The generated jar-file contains a file
"TargetPanel.dir", which contains that String. So the compiler and the
filepath in the installer.xml are ok.
			 
			It seems, that TargetPanel does not handle this
setting correctly.
			 
			Any hints?
			 
			Thanks Markus
			 
			PS: see also my next post about the
Installationdirectory on International versions of Windows...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20061124/29389c54/attachment.html 


More information about the izpack-users mailing list