Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 1
Wiki Markup
{anchor:top}

h2. Overview 
{styleclass: Class=topLink}[top|#top]
{styleclass}
An additional properties file may be specified when using silent installation. For historical reasons, the properties in this file have different names, but map to the same values as the custom properties file. The silent installer properties file must exist on the file system of the computer being installed onto. The file name must be the first argument after the {{\-silent}} switch:

{code:none}
java -jar yellowfin-yyyymmdd-full.jar -silent install.properties

java -jar yellowfin-yyyymmdd-full.jar -silent install.properties
	option.winservice=true
	option.serverport=8090
{code}

When passing command-line arguments to the silent installer, you *must* include a silent installer properties file as the first argument before any additional options, even if it is just an empty file. The following will not work:
{code:none}
java -jar yellowfin-yyyymmdd-full.jar -silent
	option.winservice=true
	option.serverport=8090
{code}

h3. {expand:title=Properties}
Property names in the silent installer properties file:
|| Silent Installer Properties File || Custom Properties File ||
| {{JavaHome}} | {{option.javahome}}|
|| {{InstallPath}} | {{option.installpath}}|
|| {{ExtractOnly}} | {{action.nodbaccess}}|
|| {{InstallTutorialDatabase}} | {{option.pack.tutorial}}|
|| {{InstallUsageReports}} | {{option.pack.usage}}|
|| {{InstallJapaneseLangPack}} | {{option.pack.lang.ja}}|
|| {{InstallSpanishLangPack}} | {{option.pack.lang.es}}|
|| {{InstallFrenchLangPack}} | {{option.pack.lang.fr}}|
|| {{InstallPortugueseLangPack}} | {{option.pack.lang.pt}}|
|| {{InstallChineseLangPack}} | {{option.pack.lang.zh}}|
|| {{LicenceFilePath}} | {{option.licencefile}}|
|| {{ServicePort}} | {{option.serverport}}|
|| {{InstallService}} | {{option.winservice}}|
|| {{DatabaseType}} | {{option.db.dbtype}}|
|| {{Authentication}} | {{option.db.sqlauthtype}}|
|| {{LogonDomain}} | {{option.db.sqldomain}}|
|| {{InstanceName}} | {{option.db.sqlinstance}}|
|| {{ProgressDriver}} | {{option.db.progressdriver}}|
|| {{CreateYellowfinDB}} | {{option.db.createdb}}|
|| {{CreateYellowfinDBUser}} | {{option.db.createuser}}|
|| {{DatabaseHostname}} | {{option.db.hostname}}|
|| {{DatabasePort}} | {{option.db.port}}|
|| {{DatabaseName}} | {{option.db.dbname}}|
|| {{DatabaseDBAUser}} | {{option.db.dbausername}}|
|| {{DatabaseDBAPassword}} | {{option.db.dbapassword}}|
|| {{DatabaseUser}} | {{option.db.username}}|
|| {{DatabasePassword}} | {{option.db.userpassword}}|
|{expand}

h3. Example

An example silent installer properties file:
{code:none}
InstallPath=/applications/yellowfin
InstallTutorialDatabase=True
InstallUsageReports=True
InstallJapaneseLangPack=False
InstallSpanishLangPack=False
ServicePort=8080
InstallService=False
DatabaseType=MySQL
CreateYellowfinDB=True
CreateYellowfinDBUser=False
DatabaseHostname=localhost
DatabaseName=yellowfin
DatabaseDBAUser=root
DatabaseDBAPassword=
DatabaseUser=yf
DatabasePassword=secret
{code}

\\
\\
{horizontalrule}
{styleclass: Class=topLink}[top|#top]
{styleclass}