[izpack-users] IzPack 3.8.1 getting started problem

Michael Scherer mscherer at gis-systemhaus.de
Tue Aug 15 11:24:51 CEST 2006


IzPack doesn't provide a "console" based installer.

It's either GUI or automation.

Greetings,
 Michael

Roshan Bhat wrote:
> thanks for the info but my requirement was not a SILENT installer but a
> CONSOLE installer like the one provided by InstallAnywhere.
> 
> As opposed to panels, a CONSOLE installer accepts user input from the
> command prompt. It provides the same functionality as a GUI PANEL based
> installer but without a GUI front end.
> 
> This is my requirement.
> 
> Any help on this front would be absolutely priceless.
> 
> We also needed the SILENT installation option and your inputs are highly
> useful in that regard.
> 
> thanks once again
> 
> Roshan
> 
> 
> On 8/14/06, Miraodb <miraodb at hotmail.com> wrote:
>>
>> Hi Roshan,
>>
>> Command installer is "kind of" provided with IzPack.
>> If you choose the finishPanel in your installer. You're asked once
>> reached
>> this panel whereas you want to save an automation script or not.
>> If you do so, all the info youv've provided during the install is stored
>> into and xml file.
>> Then, you can just use the xml generated as an argument to your
>> installer:
>>
>> java -jar installer.jar automation.xml
>>
>> The command line interface have been discussed many many times on this
>> list,
>> you can do a search on the list to get more info. I personnaly use this
>> way
>> to run installation on many computers with the same parameters.
>> You could also parser the xml using any scripting language you please
>> (ant,
>> shell, batch...) to make the changes you need to it depending on the
>> target
>> machine.
>>
>> Cheers,
>> Fabrice
>> ----- Original Message -----
>> From: "Roshan Bhat" <roshan.bhat at gmail.com>
>> To: <izpack-users at lists.berlios.de>
>> Sent: Monday, August 14, 2006 12:58 PM
>> Subject: Re: [izpack-users] IzPack 3.8.1 getting started problem
>>
>>
>> Thanks. I fgured that on out and my POC was done :-)
>>
>> But now I have one more challenge - to create a command line installer
>> for
>> 32 bit and 64 bit UNIX platforms.
>>
>> Where can I some info on how to do this?
>>
>> It would be wonderful if I could get some help on this as this would be a
>> great step forward for IzPack.
>>
>> I know of this link where there was some information, but the entire
>> source
>> code is not provided.
>>
>>
>> http://www.izforge.com/izpack/wiki/command_line_interface?DokuWiki=d07925e9a396913070eb0a27408c936c#source_code_of_startup_class
>>
>>
>>
>> thanks
>> Roshan
>>
>>
>> On 8/8/06, mika <mika.works at gentlemansclub.de> wrote:
>> >
>> > Hm,
>> >
>> > I see you are using windows. If so, replace all slashes with
>> backslashes.
>> > But I don't know if this is the only reason.
>> >
>> > I would look if the Licence.txt is in the directory outputted by the
>> > error...
>> >
>> > Thanks,
>> > mika
>> >
>> > > I downloaded the latest version 3.8.1 of IzPack.
>> > >
>> > > I have configured Eclipse 3.1.2 ro tun my project.
>> > >
>> > > But my run Compiler class task with the program arguments
>> > >
>> > > "-HOME ${workspace_loc:Izpack_PC}
>> > > ${workspace_loc:Izpack_PC}/src/config/install.xml
>> > > -b ${workspace_loc:Izpack_PC}/src
>> > > -o c:/temp/install.jar"
>> > >
>> > > is giving me an exception even though the License.txt is present
>> there.
>> > > Please help me as I have a timeline to present a POc on IzPack.
>> > >
>> > >
>> > > .:: IzPack - Version 3.8.1 ::.
>> > >
>> > > < compiler specifications version : 1.0 >
>> > >
>> > > - Copyright (C) 2001-2006 Julien Ponge
>> > >
>> > > - Visit http://www.izforge.com/ for the latests releases
>> > >
>> > > - Released under the terms of the Apache Software License version
>> 2.0.
>> > >
>> > > -> Processing :
>> > C:\rbhatEclipseWorkspace\Izpack_PC/src/config/install.xml
>> > >
>> > > -> Output : c:/temp/install.jar
>> > >
>> > > -> Base path : C:\rbhatEclipseWorkspace\Izpack_PC/src
>> > >
>> > > -> Kind : standard
>> > >
>> > > -> Compression : default
>> > >
>> > > -> Compr. level: -1
>> > >
>> > > Adding resource: IzPack.uninstaller
>> > >
>> > > Setting the installer information
>> > >
>> > > Setting the GUI preferences
>> > >
>> > > Adding langpack: eng
>> > >
>> > > Adding resource: flag.eng
>> > >
>> > > -> Fatal error :
>> > >
>> > > C:\rbhatEclipseWorkspace\Izpack_PC/src/config/install.xml:91:
>> Resource
>> > not
>> > > found: C:\rbhatEclipseWorkspace\Izpack_PC\src\Licence.txt
>> > > *
>> > >
>> > > com.izforge.izpack.compiler.CompilerException*:
>> > > C:\rbhatEclipseWorkspace\Izpack_PC/src/config/install.xml:91:
>> Resource
>> > not
>> > > found: C:\rbhatEclipseWorkspace\Izpack_PC\src\Licence.txt
>> > >
>> > > at com.izforge.izpack.compiler.CompilerConfig.parseError(*
>> > > CompilerConfig.java:1518*)
>> > >
>> > > at com.izforge.izpack.compiler.CompilerConfig.findProjectResource(*
>> > > CompilerConfig.java:1447*)
>> > >
>> > > at com.izforge.izpack.compiler.CompilerConfig.addResources(*
>> > > CompilerConfig.java:1044*)
>> > >
>> > > at com.izforge.izpack.compiler.CompilerConfig.executeCompiler(*
>> > > CompilerConfig.java:313*)
>> > >
>> > > at
>> > > com.izforge.izpack.compiler.CompilerConfig.main(*CompilerConfig.java
>> > :1847
>> > > *)
>> > >
>> > > at com.izforge.izpack.compiler.Compiler.main(*Compiler.java:620*)
>> > >
>> > > (tip : use -? to get the commmand line parameters)
>> >
>> > --
>> >
>> >
>> > "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
>> > Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
>> > _______________________________________________
>> > izpack-users mailing list
>> > izpack-users at lists.berlios.de
>> > http://bat.berlios.de/mailman/listinfo/izpack-users
>> >
>>
>>
>>
>>
>> ----------------------------------------------------------------------------
>>
>> ----
>>
>>
>> > _______________________________________________
>> > izpack-users mailing list
>> > izpack-users at lists.berlios.de
>> > http://bat.berlios.de/mailman/listinfo/izpack-users
>> >
>>
>> _______________________________________________
>> izpack-users mailing list
>> izpack-users at lists.berlios.de
>> http://bat.berlios.de/mailman/listinfo/izpack-users
>>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> http://bat.berlios.de/mailman/listinfo/izpack-users




More information about the izpack-users mailing list