PDA

View Full Version : Silent install in Solaris



VJKinstall
04-28-2006, 09:43 AM
Operating system : SOLARIS

Could someone explain,

1) How to record (create) a reponse file in Solaris ?

2) What is the option to be used for passing the response file when the installable is invoked in silent mode ?

3) What is the format of the response file ?

Is there any link, which explains these in detail ?


Thanks in advance for your help.

enanrum
05-02-2006, 03:05 PM
The response files are pretty much the same for all platforms, it's just a simple text file.

To create it you need to be in where the archiveName.jar file is and run:

java -cp archiveName.jar run -options-template optionsFileName

Be aware that if you have variables in dialogs or custom events and you did not add them to the GenerateOptions method of the dialog you will need to add them to this file by simply adding:

-V VariableName="default value"

it's pretty simple!

to run

setup.bin -silent -options optionsFileName

This can also be done with Windows installs but you would have to put the command in a batch file and run the batchfile - otherwise it comes right back to a dos prompt but runs the install in silent mode! By putting it in a batch file - it does not come back to the prompt until the install is complete!

Regards,
Tom