In enterprise networks it is convenient to automate the PROMT Agent installation to workstations.

In this section, the solution for mass installation of the PROMT Agent using the Active Directory group policy is suggested.

CAUTION:
Prior to application of this method it is necessary to install the following prerequisites to workstations:
  1. Windows Installer 3.1
  2. .NET Framework 4.0 or .NET Framework 4.5


Solution:
To install the PROMT Agent using the Active Directory group policy, perform the following actions:
  1. Save the self-unpacking archive containing the PROMT Agent distribution kit from the PROMT Agent section of the application server web page.
  2. Extract the self-unpacking archive contents to a shared directory using any archive program, for example WinRAR or 7-Zip.
  3. Open the Group Policy Management console: Execute->gpmc.msc
  4. Create a new object of the group policy and open it for editing.
  5. In the group policy editor open the Computer Configuration-> Windows Settings-> Scripts (Startup/Shutdown) section. Open Startup Properties window.
  6. In the Add a Script window, in the Script Name line: provide the UNC path to the PROMT Agent.msi file of the PROMT Agent installer (the path looks something like that:\\_name\_name\PROMT Agent.msi).
  7. In the Add a Script window, in the Script Parameters line, provide the necessary installation parameters:
    • / q – installation in the hidden mode; no messages will be shown (for Msiexec)
    • /i – installation or configuration
    • /s – installation in the hidden mode; no messages will be shown (for Setup.exe)
    • /v – parameter for the Msiexec transfer
    • PTA_CS – specifies the PTS server connection string
    • PTA_USEAUTH – sets the mode of authentication, possible values:True or False
    • PTA_PROXYADRSS – sets the mode of using a proxy, possible values:True or False
    • PTA_PROXYADRSS – sets the proxy address
    • PTA_AUTHLOGIN – sets the user name if the PTA_USEAUTH value is True
    • PTA_AUTHPSWD – sets the user password if the PTA_USEAUTH value is True
    • PTA_PROXYLOGIN – sets the user name for the server proxy
    • PTA_PROXYPSWD – sets the user password for the server proxy
    Some parameters can be set automatically.

    Example of string for installation using group policy and PROMT Agent.msi:

    /q PTA_CS="http://techw8serv09/AS/Services/v1/soap.svc" PTA_USEAUTH="true" PTA_AUTHLOGIN="user_login" PTA_AUTHPSWD="user_password" PTA_USEPROXY="true" PTA_PROXYADRSS="proxy.promt.ru:3128" PTA_PROXYLOGIN="user_login" PTA_PROXYPSWD="proxy_password"

    Example of string for installation using group policy and Setup.exe:

    /s /v"/q PTA_CS="http://techw8serv09/AS/Services/v1/soap.svc" PTA_USEAUTH="true" PTA_AUTHLOGIN="user_login" PTA_AUTHPSWD="user_password" PTA_USEPROXY="true" PTA_PROXYADRSS="proxy.promt.ru:3128" PTA_PROXYLOGIN="user_login" PTA_PROXYPSWD="proxy_password""
  8. Assign the created group policy object to the appropriate department.

After the specified procedures are completed, when the workstation included in the appropriate department is in the network, the PROMT Agent will be installed automatically.

You can run PROMT Agent.msi and Setup.exe from command line (using the same parameters).

Example of running PROMT Agent.msi from command line:

msiexec /q /i "C:\PROMT10_PTA2\PROMT Agent.msi" PTA_CS="http://techw8serv09/AS/Services/v1/soap.svc" PTA_USEAUTH="true" PTA_AUTHLOGIN="user_login" PTA_AUTHPSWD="user_password" PTA_USEPROXY="true" PTA_PROXYADRSS="proxy.promt.ru:3128" PTA_PROXYLOGIN="user_login" PTA_PROXYPSWD="proxy_password"

Example of running Setup.exe from command line:

msiexec "C:\PROMT10_PTA2\setup.exe" /s /v"/q PTA_CS="http://techw8serv09/AS/Services/v1/soap.svc" PTA_USEAUTH="true" PTA_AUTHLOGIN="user_login" PTA_AUTHPSWD="user_password" PTA_USEPROXY="true" PTA_PROXYADRSS="proxy.promt.ru:3128" PTA_PROXYLOGIN="user_login" PTA_PROXYPSWD="proxy_password""

Information in this article concerns the following products:
PTS 10, PTS 11, PTS 12
Was this information helpful for you?