Changes

Jump to: navigation, search

Microsoft Dynamics AX 2012 R2

3,818 bytes added, 08:07, 27 February 2014
Created page with "=Microsoft Dynamics AX 2012 R2 = This is a silent installer for Microsoft Dynamics AX 2012 R2. For reference, see page [http://technet.microsoft.com/en-us/library/ee355091.aspx I..."
=Microsoft Dynamics AX 2012 R2 =
This is a silent installer for Microsoft Dynamics AX 2012 R2. For reference, see page [http://technet.microsoft.com/en-us/library/ee355091.aspx Install Microsoft Dynamics AX in silent mode] on MSDN.


== Prerequisites ==
1. .NET 4 and .NET 3.5 must be installed

2. install-params file has to be created and Client config file provided. And if you want to automatically provide client config file, install AX
manually and generate it with Microsoft Dynamics AX 2012 Configuration tool. Otherwise you can just strip out the ClientConfigFile path.
<source lang='xml'>
AcceptLicenseTerms=1
InstallClientUI=1
ClientConfig=1
ClientConfigFile=\\AXSERVER\AX_config\AX_Test_x86.axc
ClientLanguage=en-US
HideUI=1
ClientAosServer=AXSERVER
ConfigurePrerequisites=1
</source>
You may also want to specify InstallOfficeAddins=1, however I haven't tested installation with this parameter.

3. Download [http://www.microsoft.com/en-us/download/details.aspx?id=14422 Microsoft Chart Controls for Microsoft .NET Framework 3.5] and place it in %SOFTWARE%\AX2012R2\Prerequisites\

== Package file ==
<source lang='xml'>
<?xml version="1.0" encoding="UTF-8"?>
<packages:packages
xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.wpkg.org/packages ../../xsd/packages.xsd" >
<package id="AX2012R2Client"
name="Microsoft Dynamics AX 2012 R2 Client"
revision="2013.04.12.09.41"
reboot="false"
priority="10">
<!-- Reference your dotnet packages here
<depends package-id="dotnetfx4" />
<depends package-id="dotnetfx3.5" />
-->
<variable name="PKG_LOGDIR" value="%WPKG%\logs\AX2012R2Client\%COMPUTERNAME%"/>
<variable name="PKG_PARAMFILE" value="%SOFTWARE%\AX2012R2\Install\install-params_x86.txt" architecture="x86" />
<variable name="PKG_PARAMFILE" value="%SOFTWARE%\AX2012R2\Install\install-params_x64.txt" architecture="x64" />
<variable name="PKG_INSTALL_WIF" value="%SOFTWARE%\AX2012R2\Prerequisites\Windows6.0-KB974405-x86.msu" os="Windows Vista" architecture="x86"/>
<variable name="PKG_INSTALL_WIF" value="%SOFTWARE%\AX2012R2\Prerequisites\Windows6.0-KB974405-x64.msu" os="Windows Vista" architecture="x64"/>
<variable name="PKG_INSTALL_WIF" value="%SOFTWARE%\AX2012R2\Prerequisites\Windows6.1-KB974405-x86.msu" os="Windows 7" architecture="x86"/>
<variable name="PKG_INSTALL_WIF" value="%SOFTWARE%\AX2012R2\Prerequisites\Windows6.1-KB974405-x64.msu" os="Windows 7" architecture="x64"/>
<check type="registry" condition="exists" path="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dynamics\6.0\ProductVersion" />
<!-- Prerequisites -->
<!-- MSChart -->
<install cmd='"%SOFTWARE%\AX2012R2\Prerequisites\MSChart.exe" /q'>
<exit code="1638" /> <!-- Already installed -->
<exit code="0" />
</install>
<!-- Windows Identity Foundation -->
<install cmd='wusa.exe %PKG_INSTALL_WIF% /quiet'>
<exit code="any" />
</install>
<!-- AX Client -->
<install cmd='"%SOFTWARE%\AX2012R2\setup.exe" ParmFile=%PKG_PARAMFILE% LogDir=%PKG_LOGDIR%' />
<!-- Client and Office addins -->
<remove cmd="msiexec /qn /x{4975AF0B-A44C-410F-ACE5-64405A9ADC32}" architecture="x86" />
<remove cmd="msiexec /qn /x{4975AF0B-A44C-410F-ACE5-64405A9ADC64}" architecture="x64" />
<!-- Setup support files -->
<remove cmd="msiexec /qn /x{6E02C462-FFF0-4DA5-8845-280E07DDB164}" architecture="x86" />
<remove cmd="msiexec /qn /x{6E02C462-FFF0-4DA5-8845-280E07DDB132}" architecture="x64" />
</package>
</packages:packages>
</source>

[[Category:Silent Installers]]
[[Category:Microsoft software]]

Navigation menu