Deploy the AX client by using Group Policy
- Create a distribution point – Create the location from which the software is installed.
- Create a transform for the ClientOba.msi file – Modify the Microsoft Windows Installer package, or .msi file, for the Microsoft Dynamics AX client to enable the client to be deployed by using Group Policy. There are two versions of the .msi file: ClientOba.msi, which is for 32-bit systems, and ClientOba64.msi, which is for 64-bit systems.
- Create a Group Policy object – Create a Group Policy object and publish it to the domain.
- (Optional) Update Group Policy settings on client computers – Run the Gpupdate utility if you want the changes to be applied to a client computer immediately. If you do not use Gpupdate, you must wait the default update interval or restart the computer.
- Log on to the server computer as an administrator.
- Create a shared network folder where you can put the .msi file for the Microsoft Dynamics AX client components.
- Set permissions on the shared network folder to allow access to the distribution package. Make sure that all users who must install Microsoft Dynamics AX have Read access to this directory.
- Install the package to the distribution point. From the folder where you saved the Microsoft Dynamics AX DVD image, run the msiexec tool. In the command, include the /a parameter, and specify the location of the distribution point. For example, you might use the following command to install the 64-bit Microsoft Dynamics AX client components to the distribution point:msiexec /a ClientOba64.msi TARGETDIR=\\<Server>\<Directory>\<SharedFolder>)Note: The msiexec tool lets you install, modify, and perform operations onWindows Installer files from the command line.For more information about how to use msiexec,see Msiexec (command-line options) on TechNet.
- Open ClientOba.msi or ClientOba64.msi by using the Orca editor.
- Click Transform > New Transform.
- Select the features that you want to install. In the left pane, select the Feature table. In the right pane, use the Level column to specify whether features are installed on client computers. The following table shows the possible values.LevelDescription0The feature is not available for installation.<150The feature is installed on the local hard disk.>150The feature is available for installation, but it is not installed by default.Note: If you do not want a feature to be installed automatically onclient computers, set the level to 0. If a parent feature has a level of 0,all child features are also unavailable.
- Set information about the connection to Application Object Server (AOS). In the left pane, select the Property table. In the right pane, double-click to add a line for each property and value. The following table describes the properties that you can set.
PropertyValueAOS2(Required) Enter the name of the AOS instance that clients connect to.ClientAOSServer(Required) Enter the name of the AOS instance that clients connect to.AOSPortEnter the TCP/IP port for the AOS. By default, the AOS uses port 2712.AOSWSDLPortEnter the WSDL port for the AOS. By default, the AOS uses port 8101.InstallDir(Required) Specify the location where program files for Microsoft
Dynamics AX are installed. By default, the path is <Drive>:\Program Files\Microsoft Dynamics AX\60.InstallDir32(Required for 64-bit operating systems) Specify the location where 32-bit versions of program files for Microsoft Dynamics AX are installed. You cannot specify the same path for both 64-bit files and 32-bit files.DIRECTEXECUTE(Required) Enter 1 to enable the .msi file to be run directly.
- Click Transform > Generate Transform. Enter a name and location for the .mst file.
- On the domain controller, click Administrative Tools > Group Policy Management to open the Group Policy Management console.
- Under the domain for which you want to create a GPO, right-click Group Policy Objects and then click New.
- Specify a name for the GPO and then click OK.
- Select the new GPO and then click the Settings tab.
- Under User Configuration, right-click, and then select Edit to open the Group Policy Management Editor.
- Expand User Configuration > Policies > Software Settings.
- Right-click Software Installation, and then select New Package.
- Browse to the distribution point that you set up.
- Click Advanced.
- On the Deployment tab, select a deployment type of Published.
- On the Modification tab, select the .mst file that you created.
- Click OK to finish configuring the GPO.