Clickonce update - how to

MaW
Member Posts: 74
Hi,
We're about to update our shared hosted environment with NAV 2013 R2 Rollup update 4.
The documentation is pretty clear on how to update serverside, help etc.
But how do we update the clickonce clients?
Right now we have clickonce packages on a server xxx.yyy/customer/clickonce/NAVClientinstallation.html and .../Deployment/Microsoft.Dynamics.Nav.Client.application etc.
We know we need to make the new client files available, but how?
Can we replace the .../Deployment/Applicationsfiles folder, or do we make a new folder only with the new files in it?
Which files do we change, and with what entries? I tried searching MSDN for this specific issue, but haven't found a guide helping me.
The file Microsoft.Dynamics.Nav.Client.application has the following parameters:
<subscription>
<update>
<beforeApplicationStartup />
</update>
</subscription>
So in my book that says that the client will check for update every time it starts.
Thanks.
We're about to update our shared hosted environment with NAV 2013 R2 Rollup update 4.
The documentation is pretty clear on how to update serverside, help etc.
But how do we update the clickonce clients?
Right now we have clickonce packages on a server xxx.yyy/customer/clickonce/NAVClientinstallation.html and .../Deployment/Microsoft.Dynamics.Nav.Client.application etc.
We know we need to make the new client files available, but how?
Can we replace the .../Deployment/Applicationsfiles folder, or do we make a new folder only with the new files in it?
Which files do we change, and with what entries? I tried searching MSDN for this specific issue, but haven't found a guide helping me.
The file Microsoft.Dynamics.Nav.Client.application has the following parameters:
<subscription>
<update>
<beforeApplicationStartup />
</update>
</subscription>
So in my book that says that the client will check for update every time it starts.
Thanks.
0
Comments
-
Hi,
Very interesting question.
I never tried this my self but I would think that it should work.
I would take a backup of the whole folder "xxx.yyy/customer/clickonce/".
Copy the Rollup 4 files (RTC Client file) on the server xxx.yyy/customer/clickonce/ApplicationFiles
As the files are updated/changed the manifest won't be valid any more.
So you probably need to run
Deployment\ApplicationFiles>mage -update Microsoft.Dynamics.Nav.Client.exe.manifest -fromdirectory .
Make sure that application file did not change
this section
<deploymentProvider codebase="xxx.yyy/customer" />
should be the same.
Then create a new application manifest:
Deployment>mage -update Microsoft.Dynamics.Nav.Client.application -appmanifest ApplicationFiles\Microsoft.Dynamics.Nav.Cli
ent.exe.manifest -appcodebase xxx.yyy/customer/clickonce/Deployment/ApplicationFiles/Microsoft.Dynamics.Nav.Client.exe.manifest
More info on cliconce installation can be found here
http://msdn.microsoft.com/en-us/library/hh997056%28v=nav.71%29.aspx
I hope this helps.0 -
You have to change the version number and minimum required version in the manifest in order for the ClickOnce to recognize there has been a change. See this section "Upgrading to a New Version of the Microsoft Dynamics NAV Client" in this http://msdn.microsoft.com/en-us/library/hh997056(v=nav.70).aspx article for details.0
-
This video explains it in detail:
http://msdn.microsoft.com/en-us/dynamics/nav/dn463855
Br., ChristianChristian Heide Damm
Developer @ Microsoft0 -
Hi,
Thank you for your replies.
I ended up looking an extra time at the MSDN link: http://msdn.microsoft.com/en-us/library ... 6(v=nav.71).aspx
And also found a video from NAV 2013, describing the process pretty good: http://blogs.msdn.com/b/nav/archive/201 ... -of-5.aspx
My main reason to headache was no documentation of which specific files were changed in the Roll up update 4. There is a complete client folder, to be pasted into the existing client folder. However that is no good when having a clickonce clientonly folder.
I had to manually copy file by file from the update to the clickonce. The first try I got some dev. environment files, so the mage.exe gave me errors. This process would have been much easier with a listing of changed files. Could it be correct that no such documentation is available?
Next thing was that my mage.exe would put a thumbs.db in the file list in the manifest file. The thumbs.db file should be located in the .\images\ dir. But no such file exist. So I did not find a solution to that, other than running mage.exe manually, populate the file list. Removing the thumbs.db file, and saving the manifest. Very annoying when these things have been running smoothly before. Anyone have a solution to that problem, so the clickonce process can be automated from commandline or powershell?
But once it works, the clickonce is pretty smart :-)0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions