[izpack-users] Define Install Path in a txt resource

J-Pro joker.pro at gmail.com
Tue Oct 17 10:20:46 CEST 2006


Hi, Klaus!

Thanks for your fast answer again. The answer is clear for me. I'll change 
some code to make it in my way then. Thanks for the clue.


> From: "Bartz, Klaus" <Klaus.Bartz at coi.de>
> Subject: Re: [izpack-users] Define Install Path in a txt resource
> WITHOUTTargetPanel appearance
> To: <izpack-users at lists.berlios.de>
> Message-ID: <591E33C080D2E5449BB1791B70D66B28891739 at coi11.coi.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Jurii,
> in the moment there is no standard way to support your
> needs. The resource will only be readed if TargetPanel will
> be involved.
> It seems so you are able to understand our code. If so,
> look into
> InstallerBase.buildWindowsDefaultPath
> There is the code which is used for default. You can see, that
> /com/izforge/izpack/installer/win32-defaultpaths.properties
> contains the locale dependant name of the windows default
> installation directory.
> That you can change in your own version of IzPack. But the
> drive letter is not defined in this properties else in the
> method.
>
> Hope it helps
>
> Klaus
>
>
>>-----Original Message-----
>>From: izpack-users-bounces at lists.berlios.de
>>[mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of J-Pro
>>Sent: Saturday, October 14, 2006 12:22 AM
>>To: izpack-users at lists.berlios.de
>>Subject: [izpack-users] Define Install Path in a txt resource
>>WITHOUTTargetPanel appearance
>>
>>
>>Good afternoon, dear IzPack gurus!
>>
>>I have one question: I want to define my own install path(not
>>C:\Program
>>Files), but supressing the TargetPanel appearance. I know that
>>to not show
>>TargetPanel I can just remove the string "<panel
>>classname="TargetPanel"
>>resid="TargetPanel.dir.windows"/>", but it not enough for me.
>>If I remove
>>that string I can't set the path by myself like I did it
>>before with "<res
>>id="TargetPanel.dir.windows" src="Target.txt"/>".
>>
>>Is there any other way to set my own InstallPath with no
>>possibility for
>>user to change it?
>>



________________________________
With respect,

Yurii Kartsev,
Soft IT 




More information about the izpack-users mailing list