Skip to main content
Delphix

KBA1363 How To Automate / Script Install Of Delphix Connector For Windows Target and Staging Environments

 

 

Applicable Delphix Versions

 

Major Release

All Sub Releases

5.2 5.2.2.0

5.1

5.1.0.0, 5.1.1.0, 5.1.2.0, 5.1.3.0, 5.1.4.0, 5.1.5.0, 5.1.5.1, 5.1.6.0, 5.1.7.0, 5.1.8.0, 5.1.8.1, 5.1.9.0

5.0

5.0.1.0, 5.0.1.1, 5.0.2.0, 5.0.2.1, 5.0.2.2, 5.0.2.3, 5.0.3.0, 5.0.3.1, 5.0.4.0, 5.0.4.1 ,5.0.5.0, 5.0.5.1, 5.0.5.2, 5.0.5.3, 5.0.5.4

4.3

4.3.1.0, 4.3.2.0, 4.3.2.1, 4.3.3.0, 4.3.4.0, 4.3.4.1, 4.3.5.0

4.2

4.2.0.0, 4.2.0.3, 4.2.1.0, 4.2.1.1, 4.2.2.0, 4.2.2.1, 4.2.3.0, 4.2.4.0 , 4.2.5.0, 4.2.5.1

4.1

4.1.0.0, 4.1.2.0, 4.1.3.0, 4.1.3.1, 4.1.3.2, 4.1.4.0, 4.1.5.0, 4.1.6.0

4.0

4.0.0.0, 4.0.0.1, 4.0.1.0, 4.0.2.0, 4.0.3.0, 4.0.4.0, 4.0.5.0, 4.0.6.0, 4.0.6.1

3.2

3.2.0.0, 3.2.1.0, 3.2.2.0, 3.2.2.1, 3.2.3.0, 3.2.4.0, 3.2.4.1, 3.2.4.2, 3.2.5.0, 3.2.5.1, 3.2.6.0, 3.2.7.0, 3.2.7.1

3.1

3.1.0.1, 3.1.1.0, 3.1.2.0,  3.1.2.1, 3.1.3.0 , 3.1.3.1, 3.1.3.2, 3.1.4.0, 3.1.5.0, 3.1.6.0

3.0

3.0.0.3, 3.0.0.4, 3.0.1.0, 3.0.1.1, 3.0.1.2, 3.0.1.3, 3.0.2.0, 3.0.2.1, 3.0.3.0, 3.0.3.1, 3.0.4.0, 3.0.4.1, 3.0.5.0, 3.0.6.0, 3.0.6.1

Issue

In larger environments, it may be desirable to automate the installation of the Delphix Connector package, rather than walking through the UI install and configuration.  This document provides methodology for executing this via PowerShell, etc.

Resolution

As the Delphix Connector installer is distributed as a Windows installer (.msi) file, the installation can be completed silently from PowerShell using msiexec, which can greatly accelerate the deployment to target and staging hosts. 

Microsoft provides details on the msiexec execution options available at this hyperlink:

https://msdn.microsoft.com/en-us/library/windows/desktop/aa367988(v=vs.85).aspx

To execute a complete installation in quiet mode, with logging, an example is provided below: 

C:\Users\Administrator> msiexec /i C:\Users\Administrator\Downloads\DelphixConnectorInstaller.msi /quiet /qn /log C:\delphix_msi_log.txt

This command executes the installation using the .msi provided by Delphix, and places the installation log under C:.  The location of this log can be modified as desired.  

The Delphix Connnector installation defaults to C:\Program Files\Delphix\DelphixConnector. If an alternate installation path is desired, add the TARGETDIR property.  The next example installs the package to D:\DelphixConnector instead:

C:\Users\Administrator> msiexec /i C:\Users\Administrator\Downloads\DelphixConnectorInstaller.msi /quiet /qn /log C:\delphix_msi_log.txt TARGETDIR="D:\DelphixConnector"

Please note, if the installation requires the default TCP port for the connector (9100) to be altered, currently the GUI installation must be leveraged.  This behavior may be altered in a future release.