Silent Installer for Windows Platforms

The Windows PowerShell installation script includes command line options to define installation choices. The script also allows silent deployment options combination.

The silent installer option is useful for deployment automation and repeatability in large environments, elastic provisioning of new systems in cloud or closed data-center environments and cleaner separation of system ownership, administration and deployment roles by limiting exposure of sensitive system keys and passwords.

 

The PowerShell installer for Windows platforms includes the following parameters:

  • -eula – Accept EULA
  • -db – install embedded database
  • -nodb – connect to external database
  • -dbType Oracle|MSSQL|MySQL|PostgreSQL
  • -dbServer SERVER
  • -dbUser USER
  • -dbPassword PASSWORD
  • -dir – install Directory Services
  • -nodir – connect to external Directory Services
  • -dirServer SERVER
  • -dirPassword PASSWORD
  • -gui – install the application GUI
  • -nogui – install the application without GUI component
  • -worker – install the application Worker process
  • -noworker – install the application without Worker process
  • -session – install session manager
  • -nosession – install the application without session manager
  • -cas – install Federated Sign-In Module
  • -casversion CAS52 | CAS65 - version of Federated Sign-In Module
  • -nocas – install the application without Federated Sign-In Module
  • -ldap – connect to LDAP during installation
  • -ldapServer SERVER
  • -ldapUser USER
  • -ldapPassword PASSWORD
  • -noldap – do not connect to LDAP during installation
  • -sso – configure SSO access through Managed Path
  • -managedPath MANAGED-PATH
  • -nosso – disable SSO access
  • -mp MASTER-PASSWORD – install with provided master password instead of generated one
  • -folder – automatically confirm current folder
  • -admin LOGIN – initial system administrator
  • -adminFirst FIRST_NAME – first name of the initial system administrator
  • -adminLast LAST_NAME – last name of the initial system administrator
  • -adminPassword PASSWORD|GENERATE – password of the initial system administrator
  • -location INSTALLATION_FOLDER – installation folder
  • -output FILE – file output for generated keys and passwords
  • -help – prints this message
  • -certBundle - path to the certificate bundle for remote session manager deployments

To install the software to the current folder from PowerShell prompt run the script as:

Copy
& .\XtamSetup.ps1

 

To install the software to the specified existing location folder from Windows command line prompt run the script as:

Copy
PowerShell -File XtamSetup.ps1 -location c:\pam

 

Below is the example of command line arguments to automatically install the system with default options selected into the folder $PAM_HOME (for example, c:\pam), create system administrator user with generated password and save the generated passwords and keys into the file pam.info:

Copy
& .\XtamSetup.ps1 -location c:\pam -eula -db -dir -gui -worker -session -nocas -nosso -noldap -folder -admin pamadmin -adminFirst System -adminLast Admin -adminPasswd INITIAL-PASSWORD -output pam.info