Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Update ClickOnce Version by Replacing Deployment Files with New CU files

(0) ShareShare
ReportReport
Posted on by 460

Hi,

how do we update the clickonce clients?

Right now we have clickonce packages on a server xxx.yyy/customer/clickonce/ClickOnceDeploymentFiles/ ...


We know we need to make the new client files available, So that when the User open his ClickOnce the Client will be updates to the new Version. but how?

What I tried till now (2 different ways):

First Way:
- I replaced the .../Deployment/Applicationsfiles folder with the neu CU deployment Files. But I didn't replace the manifest!

- I also updated the manifest version No. with the new Bulid no.

- Also I made the required minim version to be 9.0.0.0

Unbenannt1.png

5466.Unbenannt2.png

Results:

  When the user open his click once is starts normally & nothing happens  :(

Second Way:

I made a new installation for the new Bulid + I renamed the new Folder to have the same name like the old deployment folder + I deleted the old Deployment folder!

Results:

  When the user open his click once it gave back an error & it cannot start the client, I have to install ClickOnce then it will work! --> I want to avoid this



So can anyone tell me please how can I make Clickone to update it self once the user open it? We have almost 50 user which uses clickonce, I donot want to make a new deployment! coz if i did so i have to deinstall the old client and reinstall the new client on 50 Pcs.

*This post is locked for comments

  • Mitr Profile Picture
    Mitr 182 on at
    RE: Update ClickOnce Version by Replacing Deployment Files with New CU files

    Hello Mr. Zayed,

    I  am stuck at the same place and new bee to NAV.

    so not able to understand.

    Can you please provide me the screenshots how this can be done.

    It will really help me where I am stuck..

    Please help

    Thanks

  • Verified answer
    M.Zayed Profile Picture
    M.Zayed 460 on at
    RE: Update ClickOnce Version by Replacing Deployment Files with New CU files

    Update Steps -----> I managed it :)

    Phase 1 (New installation CU xx):

    - Make new installation/Deployment Folder with name CU XX

    Phase 2 (Update Old installation):

    - Copy all files from Deployment folder (From New CUxx)   EXCEPT!!   (Config Files Datei)

    - Past the File in the Old installation deployment folder!

    Phase 3 (Submainfest):

    - !!!!!!!!!!!!Start Mageui as ADMINSTRATOR!!!!!!!

    - Modify the Sub-mainfest Version to = “new version Code 9.0.0.xxx”

    - Load the New Files a gain in the MainFest

    - Save & Close the SubMainfest

    Phase 4 (Mainfest):

    - Modify the main Mainfest  

           . Version                  = New version No.

           . Least version      = New version Code

           . Load the Submainfest Files again

    - Safe the certificates!

    - Start Your Cliernt

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans