[izpack-users] Reg: Command Line User Inputs

Friend follow_from at yahoo.co.uk
Tue Jan 24 11:08:47 CET 2006


Hi Miraodb,
   
  Thanks for your guidance,
   
  I hope you may have seen these line before
   
  > > I just studied and understood the silent installer "auto-install.xml",
> > but it is not helpful to sort out this problem,,

This is what you are suggesting me to go with (i completed and this and am expecting beyond that) but the thing is if am having the installer then I should not think for one more script file ( or the sort ) to control our installer by any ways. Installer should be one and one only as how we are doing with GUI based installations. Silent-installer will not work out always,, I cant predict the client environment. See I may have generated the install.jar on Solaris 9 terminal and want to install the product on the server that runs with or without any desktop.
   
  I appretiate silent-installer of IzPack but want to have the console based installer option from the same GUI based installer that we generate.
   
  If it is not possible by this time we may inform Julien for our to do list. Or any of you Friends may consider this feature for our future release of IzPack :-)
   
  regards,
   
  Se.
   
   
   
  
Miraodb <miraodb at hotmail.com> wrote:
  hi,

Here's my thoughts:

In the FinishPanel, there's a button for generating an automated file which
can be used by izpack to run in command line without any user interaction.
We can trick that to do your job.

First you need to run your installer somewhere which can have the gui. (with
all aspects! ) Do it as if you were gonna install it on your Solaris 9.
(leave the userinputs empty)
Once you click on the button to generate the xml file. you can edit it and
replace the empty strings with a specific variable name of your choice.
let's say you have:







Then with a simple SH script you can look for the "xxxxxxxxx" string and
replace it with the user input that your script would have asked for
previously.

Then all you have to do is launch your installer with the xml file as a
parameter: java -jar yourinstaller.jar yourfile.xml

hope this helps.
fabrice

----- Original Message ----- 
From: "Friend" 
To: 
Sent: Tuesday, January 24, 2006 7:32 AM
Subject: Re: [izpack-users] Reg: Command Line User Inputs


> Hi Hal,
>
> Thanks a lot for your sharing,
>
> Am stating that there will not be any graphics rendering or windowing
related software on the server side, even to have the X11 events,,
>
> Am working on Solaris 9 platform.
>
> All we have even at the server machine's screen is the console and bash
shell prompt that it provides to interact with the server, thats it.
>
> There we want the user(server admin may be) to have our product
installed from our GUI installer just by finguring necessary user input
values at the shell prompt, eventhough ours is the GUI installer.
>
> regards,
>
> Se.
>
> Hal Vaughan wrote:
> On Monday 23 January 2006 11:33 pm, Friend wrote:
> > Hi Friends,
> >
> > Hope you all well,
> >
> > As with all your guidance and help I successfully completed writing the
> > installer for the product which am working for,
> >
> > At last I came to understand that there is a need for installing the
> > product with the same installer in the environment where there will not
be
> > any GUI desktops at the high profile clients at times, even they only
allow
> > us to connect to their server through Secure SHells, the problem is
still
> > we need to have the user input read from the console's (character based
> > screen's) command prompt one by one including the installpath. Need a
way
> > to do this...
> >
> > I just studied and understood the silent installer "auto-install.xml",
> > but it is not helpful to sort out this problem,,
> >
> > Friends, please guide me on this issue.
>
> You've probably thought of this, but just in case, let me ask this: If
you're
> logging in through ssh, is it on some breed of Unix/BSD/Linux where you
can
> forward X11 events? I do that on some of my systems. That way I can run a
> command in the command line, on ssh, and it opens the window on my
computer.
>
> Hal
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> http://lists.berlios.de/mailman/listinfo/izpack-users
>
>
>
>
> ---------------------------------
> Yahoo! Messenger NEW - crystal clear PC to PC calling worldwide with
voicemail


_______________________________________________
izpack-users mailing list
izpack-users at lists.berlios.de
http://lists.berlios.de/mailman/listinfo/izpack-users
  


		
---------------------------------
Yahoo! Photos – NEW, now offering a quality print service from just 8p a photo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20060124/1ef942a6/attachment.html 


More information about the izpack-users mailing list