I have installed NAV 2013 on a Windows 2008 Server.  Everything is working fine and it is time to create the OneClick installation source.  I followed the documentation from Microsoft.  Make sure that when you install NAV 2013 to select ClickOnce Installer Tools.

I first found that the SDK needed for the mage.exe command is not available on the server.  I downloaded and installed Microsoft Windows SDK for Windows 7 and .NET Framework 4 from Microsoft.

I created the folder C:\inetpub\wwwroot\NAV2013Beta as the source for deployment and the folder C:\inetpub\wwwroot\NAV2013Beta\Deployment\ApplicationFiles for the application.  I created a read only share for the folder NAV2013Beta.  I copied everything from the folder C:\Program Files (x86)\Microsoft Dynamics NAV\70\RoleTailored Client to this folder.

I found the folder C:\ProgramData\Microsoft\Microsoft Dynamics NAV\70 and copied the ClientUserSettings.config file to my C:\inetpub\wwwroot\NAV2013Beta\Deployment\ApplicationFiles folder.  First I made sure that the server was not set to localhost but to the network server name.

I found the folder C:\Program Files (x86)\Microsoft Dynamics NAV\70\ClickOnce Installer Tools\TemplateFiles and copied all files to my C:\inetpub\wwwroot\NAV2013Beta folder, selecting to merge the Deployment folder.

Next I opened Command Prompt and typed

I got the following errors

Decided to remove the Development Client and only install the Role Tailored Client and restarted the process and got a better result.

Continuing in the command prompt

I change the Name to identify the installation

I changed the description

and I needed to change the Start Location

Again, I saved the file selecting not to sign it.

In my \\nav2013\NAV2013Beta folder I used Word to create the Software License Terms for my company and saved is as Rich Text Format as PartnerSolutionLicense.rtf.

Then I opened the NAVClientInstallation.html file in Notepad and removed the TODO both for the text and for the link.

Next I tried the installation by browsing to the folder \\nav2013\NAV2013Beta on a Windows 2008 Remote Desktop Server and double clicking on NAVClientInstallation.html file.  After a few click I had my NAV 2013 Beta up and running.

9 thoughts on “NAV 2013 and ClickOnce Install

  1. Adam says:

    If you happen to have a copy of the NAV Beta ISO you can post somewhere for download, it would be greatly appreciated.

    Adam

  2. Daniel says:

    Hi.. Do you also know, how to provide a NAV Rollup (e.g. NAV 2013 R2 – Rollup 1) after a ClickOnce Installation. Because I try it and I always get a fault:
    (the Manifest is not accesible or invalid)

    It´s not done with copying the rollup files into the application file folder and generate a new manifest!

    1. Hi

      I am planning on making a PowerShell script to handle that…

      But manually I create a new Application folder with the updated files and update the manifest for that folder.
      Then I update the manifest in the Deployment folder to point to the new application folder and I change the version number for the manifest and the minimum number to force a update for the client.

  3. Daniel says:

    Hi…
    I found the issue. With the rollup files for germany, an *Excel*.dll file exist´s twice in the manifest and it was not possible to install the client.

    After solving that issue I found the next one.

    When I´m running rtc client (NAV 2013 R2) via the installed link (Application Reference (.appref-ms)) and export to Excel and try to print – Excel crashes.

    If I run the rtc client exe file located in \%AppData%\Local\Apps\…

    The Excel export and printing works fine.

    Any idear for that issue?
    Or maybe you can check, if you get the same fault?

    For me it looks like that it runs in another “container” via the appref startup?

    Thanks in advance
    Daniel

    1. Hi Daniel

      I tested this on my installation and Excel also crashes. Will you report this to Microsoft ?

  4. Daniel says:

    Hi Gunnar,

    yes I´m going to do this right now.

    Daniel

  5. Dirk Zastrow says:

    Howdy, there are serveral add-on issues more in 2013 R2 (xml/codeviewer/excel). Have you ever tried to create & deploy this via visual studio (2012/2013)? Would be interesting cause it’s more stable than with margeui/mage.

    1. Hi Dirk

      I have not tried that.

Leave a Reply

%d bloggers like this: