AHP Portal Silent Installation - AHPOneDatabase

Silent AHPDatabase Install Parameters

  • Example for new installation Content DB:
  • AHPOneDatabase.exe /s DBType=CONTENT SqlServer=APDB0501 AhpDBName=AHPOneContentP0 SqlUser=AHPOneContentP0 SqlPass=Metris-2015
  • Example for new installation Config DB:
  • AHPOneDatabase.exe /s DBType=CONFIG SqlServer=APDB0501 AhpDBName=AHPOneConfigP0 SqlUser=AHPOneConfigP0 SqlPass=Metris-2015
  • Example for update Content DB:
  • AHPOneDatabase.exe /s DBType=CONFIG SqlServer=APDB0501 AhpDBName=AHPOneConfigP0 SqlUser=AHPOneConfigP0 SqlPass=Metris-2015
  • Example for update Config DB:
  • AHPOneDatabase.exe /s DBType=CONFIG
  • Example to generate a password for silent mode:
  • AHPOneDatabase.exe /encrypt PfdX34!K$

In der folgenden Tabelle finden Sie die Übersicht der Werte, die bei einer Neuinstallation und bei einem Update verbindlich sind:

Name

Possible Values

New Install

Update

Description

/s

/s

NO

NO

if specified, program will run without GUI wizard

DBType

CONTENT; CONFIG; REPORTING

YES

YES

AHP database type, this parameter is only mandatory in full silent mode (/s)

Following parameters are not necessary if performing an update installation and the database connection parameters can be read from config files of AHP Products installed on the server this tool is running

SqlServer

IP, FQDN, Hostname, Instance Name

YES

NO

SQL Server (min. 2008R2), SQL Port can be specified by adding (",portnumber") to server name

AhpDBName

SQL database name

YES

NO

SQL database name,

if database exists: the scripts will run in "update" mode,

if not: scripts will run in "install new" mode

SQLUser

SQL database and login user

YES

NO

SQL login user

SQLPass

SQL login password

YES

NO

SQL login password, which meets the complexity rules of the SQL-Server

SQLAdmin

SQL admin (like sa)

NO

NO

SQL admin user, required if SQLWinAuth = 2

SQLAdminPass

SQL admin password

NO

NO

SQL admin password, required if SQLWinAuth = 2

SQLWinAuth

0 (default); 1; 2

NO

NO

0 = Integrated Windows Authentication;
1 = SQL User (Update Only);
2 = SQL Admin

ReportingCollectorPassword

password (encoded)

YES(*)

NO

(*) This password is used by any reporting collector install to authenticate against the reporting server. Since the password will be stored encrypted inside the CONFIG database, it is required for installing the CONFIG and not the REPORTING database.

/encrypt {PASSWORD}

Password to encrypt

Should be used without other options.

Silent AHPDatabase Return/Error Codes

Error code

Wert

Beschreibung

SUCCESS

0

Installation was successful

ERROR_INVALID_PARAMETERS

1

One or more install parameters are missing or have an invalid value

ERROR_INITIALZE_SCRIPTS

2

The installer failed to initialize the internal SQL scripts. Implies a corrupted installer.

ERROR_INSTALL_FAILURE

3

An error occurred during installation