Modifying the Microsoft Dynamics NAV 2013 R2 Installation Program to Include Microsoft.Dynamics.Nav.Client.WinForms.tlb

With NAV 2013 R2 Update Rollup 3, in the process of build sealing, it has been changed the Library GUID used to register Microsoft.Dynamics.Nav.Client.WinForms.tlb.

Accordingly to this previous blog post: Installing Microsoft Dynamics NAV 2013 R2 Side-by-Side with Microsoft Dynamics NAV 2013, the TypeLib GUID has been changed from the RTM value of {5020AC1E-A4F0-402B-A920-3FED4E3B05CC} to {95819FD3-CF0A-4706-BE93-35B3DDCB817C}.

Due to this change, if you try to patch a Microsoft Dynamics  NAV 2013 R2 DVD with the latest platform hotfix from Update Rollup 3, you will probably receive an error from the Setup.exe that is related to a missing registration of this TypeLib during the installation of the Microsoft Dynamics NAV Windows client.

 

In order to successfully deploy a new DVD that is fully patched with the latest platform hotfixes, we at the NAV core team could create a new client MSI file for every localized version that we have released for Microsoft Dynamics NAV 2013 R2 and include this into the hotfix stack, or we could create a new hotfix package that only contains a specific, country-/region specific MSI file.

Since this does not follow the normal hotfix sealing procedure and the effort to put through is consistent, the recommended best practices is to deploy Microsoft Dynamics NAV 2013 R2 based on the installation program in the original release and then fully patch the installation afterwards with the platform hotfixes.

However, you can choose to change the MSI file TypeLib value using an MSI editor. Microsoft provides a set of Windows Installer Development Tools for free. We recommend that you use the Orca.exe tool that is part of the Windows Installer Development Tools. If you download the tools, you can install Orca.exe from the following location:

On an x86 computer:  \Program Files (x86)\Microsoft SDKs\Windows\v7.0\Bin\Orca.msi

On an x64 computer: \Program Files\Microsoft SDKs\Windows\v7.0\Bin\Orca.msi

Once you have installed Orca.exe, to edit the Microsoft Dynamics NAV client components MSI file, follow the following steps:

  1. Run Orca.exe.
  2. Choose File, and then choose Open.
  3. Browse to the Role Tailored Client folder in your copy of the Microsoft Dynamics NAV 2013 R2 DVD to locate and open the Microsoft Dynamics NAV RoleTailored Client.msi file.
  4. When the file is opened, in the left pane, under Tables, choose the TypeLib entry as illustrated in the following screenshot.

  5. In the row that refers to Microsoft.Dynamics.Nav.Client.WinForms.tlb , in the LibId field, change the value to {95819FD3-CF0A-4706-BE93-35B3DDCB817C}.
  6. Choose the Save button. The following screenshot illustrates the result of your modification:
     
  7. Close Orca.exe.

Now you can replace the Microsoft Dynamics NAV RoleTailored Client.msi file that is in the Role Tailored Client folder on your copy of the Microsoft Dynamics NAV 2013 R2 DVD with this modified file.

 

These postings are provided “AS IS” with no warranties and confer no rights. You assume all risk for your use.

 

Duilio Tacconi (dtacconi)          &             Marco Mels (mmels)

Microsoft Dynamics Italy                        Microsoft Dynamics Netherlands

Microsoft Customer Service and Support (CSS) EMEA