Instructions for pushing Discovery Agent via GPO
Prerequisite on target devices: .NET Framework 4.7.2
Instructions provided below describe how to create a basic transform (.MST file) for the Discovery Agent setup using ORCA (a free tool available from the MSI SDK). Then it explains how to distribute the Discovery Agent via GPO using the MSI and MST.
Prepare the .MST File:
Transform (*.MST) files are used to customize setups created using Microsoft Installer (MSI) technology. An .MST file can be used to install Discovery agent with pre-determined parameters without a Graphical User Interface or user interaction. The .MST file customizes the property of the Discovery Agent MSI package for the License key (Discovery Agent license key for the company).
To install Windows Installer SDK v.2.0 or higher:
Download and install the Windows Installer SDK v. 2.0 higher
Navigate to the installation location and launch Orca.msi from the \bin folder.
The Orca.msi launches the Orca setup program. Once the setup program is complete, an Orca shortcut is added to the Start Menu.
Now to generate the .MST file:
Open the Discovery agent setup file downloaded from UI in ORCA.
Under the Tables go to Property
On the main toolbar, navigate to Transform > New Transform.
Now add new row with the below key value pair as WRAPPED_ARGUMENTS Value as /VERYSILENT /SUPPRESSMSGBOXES /=<Discovery Agent License key from UI>
Note: make sure to include the forward slash
Once entered Transform> Generate Transform and save the .
Now in GPO
Create a new Policy and Navigate to Computer Configuration > Policies > Software Settings > Software
Add > New
Once you pick the MSI file provided click on Advanced.
Go to modifications tab on the next screen and click Add.
Now select the .MST file you have created and click 'OK'.
For immediate deployment restart of client devices is required, and then you are all set!
For Command Line Installation: (Please update the license/extension key as required in the below. DO NOT ADD any additional double )
Navigate to the file download folder
Execute the below:
> / _ARGUMENTS="/VERYSILENT /SUPPRESSMSGBOXES /=<license key from UI>"