Consultor Eletrônico



Kbase P148954: How to create silent installation script on UNIX?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/07/2009
Status: Unverified

GOAL:

How to create silent installation script on UNIX?

GOAL:

Silent installation script example for UNIX

GOAL:

Batch installation script for UNIX

GOAL:

How to create batch installation script on UNIX?

FACT(s) (Environment):

Progress 9.0x
OpenEdge 10.x
UNIX

FIX:

The following example is shown for ONLY 3.1E WebSpeed messenger with language choice and defaults to "English - American".

Follow the steps to run the file on a batch mode on UNIX:

1. Copy the scripts in between comment marks (;) to the view editor or on your favorite text file and modify where needed. After you save the file as install.ini in UNIX, make sure to open it again with view to verify there is no special characters or line break on the file. If you have the multiple installation you can specify however many licenses you are installing in place of 1 or n for "NumberofConfigurations".

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Configuration Count]
; NumberofConfigurations=n
NumberofConfigurations=1

[Product Configuration 1]
name=PSC
serial=<progress or OE serial #>
version=3.1E
; Control code with SPACES as shown below
control=XXXXX XXXXX XXXXX
prodname=WebSpeed Messenger
;.
;.
;.
; [Product Configuration n]
; name=PSC
; serial=<progress or OE serial #>
; version=3.1E
; Control code with SPACES as shown below
; control=XXXXX XXXXX XXXXX
; prodname=Enterprise DB

[Language Choice]
; Depending on your language setting uncomment the appropriate lang choice
; lang=Arabic
; lang=Chinese (Simple)
; lang=Chinese (Traditional)
; lang=Czech
; lang=Danish
; lang=Dutch
lang=English - American
; lang=English - International
; lang=Finnish
; lang=French
; lang=German
; lang=Greek
; lang=Hebrew
; lang=Hungarian
; lang=Icelandic
; lang=Italian
; lang=Japanese
; lang=Korean
; lang=Norwegian
; lang=Persian
; lang=Polish
; lang=Portuguese
; lang=Portuguese - Brazilian
; lang=Russian
; lang=Serbian
; lang=Spanish
; lang=Spanish - Latin
; lang=Spanish - Mexican
; lang=Swedish
; lang=Thai
; lang=Turkish

[Language Default]
_szDefaultLanguage=English - American
[International Settings]
; See intlsets.txt on your CDROM for acceptable values
cpinternal=ISO8859-1
cpcollation=Basic
cpcase=Basic
dateformat=mdy
numsep=46
numdec=44
[Messenger]
InstallingWhereWebServerIsInstalled=yes
[WebServer]
; Type NSAPI
; Type CGI (If the type is CGI then the CgiScriptPath MUST exist)
WebServerType=CGI
CgiScriptPath=/<Web server script directory path>
CopyHtmlFiles=yes
DocumentRootPath=/<Web server document root directory path>
[Java]
; Make sure you have supported JVM version
jdkHomePath=/<JVM installation path>
[Server Engine]
; 4GL
; SQL
; BOTH
type=BOTH
[Type and Destination]
; Type is COMPLETE or TYPICAL
type=COMPLETE
path=/<progress or OE installation path>
workpath=/<working directory path>
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

2. If your "which java" command shows different JVM then one you specified on the above script, you may to set JDKHOME environment variable and append the $JDKHOME/bin on the PATH and export both environment variable before running the script as root on step 3 as shown below:

export JDKHOME=/JVM installation directory specified on the above script>
export PATH=$JDKHOME/bin:$PATH

3. Run the following to start the batch or silent installation on the UNIX:

/<PATH>/proinst -b /<PATH>/install.ini -l /<PATH>/silentinstall.log