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

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

Rate This
  • Comments 6

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

Leave a Comment
  • Please add 7 and 1 and type the answer here:
  • Post
  • This product is getting worse and worse to support, installing af hotfix is somthing that shoud be easy and fast, and not involve the need to create your own msi files and stuff!

    When will you start to create a good solid product again?

  • And by the way

    I can't find Orca.msi.

    I installed the Microsoft® Windows® Software Development Kit for Windows 7 and .NET Framework 4 to my PC, but no ORCA.msi file is to be found on my PC!

    And i installed the compleate set!

  • Hi there,

    how about simply providing a new set of product DVD images after such changes? The technicalities and the how-to of mucking around with msi files might be interesting (or so), but for most of us it's simply a giant waste of time. We've got work to do.

    with best regards

    Jens Glathe

  • Hi guys, I was just trying to be of any practical help. My apologize on behalf of Microsoft for the extra work that you have to do in this direction.

  • Hi Dulio,

    no offense... I appreciate your intent. It just would be better to have no need for a blog on how to build your own NAV MSIs... because the RTM ones just work. Unfortunately, that's not the case since... NAV2013?

    with best regards

    Jens

  • @ Martin Honore:

    You can find it here:

    %programfiles%\Microsoft SDKs\Windows\v7.1\Bin

    If not, file a support case and we will provide you an updated MSI.

    The reason behind all this is that we had to allow Side by Side installations for our valued ISV's thus change the interface which the old MSI does not have knowledge about.

    Apologies that this may cause issues for the majority of new installations that utilize administrative installations.

Page 1 of 1 (6 items)