Enrollment Code (6.0.1 Agent or later)

Starting with the 6.0 Reveal Agent, it is now possible to specify an enrollment code instead of a filepath to a bundle file. The processes for specifying the code instead of the bundle filepath are identical, except for the replacement of BUNDLE_FILEPATH with ENROLL_CODE. i.e.:

msiexec.exe /i agent_x64_release_signed.msi /qn ENROLL_CODE=<enrollment_code>

Enrollment Bundle (All Agent versions)

When running the MSI installer manually, the user will be prompted to supply an enrollment bundle to enroll the agent with the Reveal Platform. If however you wish to use the /qn flag to perform an unattended install (for example via GPO or SCCM push) the bundle filepath must be specified as part of the command.

Method 1 - Direct command

msiexec.exe /i agent_x64_release_signed.msi /qn BUNDLE_FILEPATH=\\fileserver\path\to\bundle.bundle

Method 2 - MSI transform file

In order to do this, first acquire the orca.exe tool from the Windows SDK. Open the Reveal Agent MSI in Orca, and select Transform > New Transform. Next find the 'Property' table.

Then add a new row to this table, with Property = BUNDLE_FILEPATH and Value set to the path to the enrollment bundle as shown in the screenshot above. It is possible to use Windows Environment Variables in this path - for example if you have a collection of enrollment bundles named %COMPUTERNAME%.bundle stored on an accessible shared fileserver. Note that the path must be fully qualified, including either the correct drive root, or resolvable fileserver name. Relative paths are also possible for agent version 4.0.0+, for example if the bundle file is included in the same folder as the MSI.

Next select Transform > Generate transform

With this file you can either specify the transform as part of the GPO configuration, or add this to the msiexec command 

msiexec.exe /i agent_x64_release_signed.msi /qn TRANSFORMS="bundle-transform.mst"