locked
ClickOnce application [Update] RRS feed

  • Question

  • I am having the hardest time with this ClickOnce.

    I have a program I have an updater for. It worked about 75% of the time depending on the computer. I found ClickOnce and it has an autoupdater in it.

    One small problem. The updater dosent work. I have the version on the form as a label and I know I publish it to the webserver, but it seems to think there is no update.

    Any help?

    • Moved by Carl Cai Thursday, November 28, 2013 1:19 AM more related with ClickOnce but it lasts for a long time so suggest that post a new thread in that forum to let more communicities help to solve this issue (from VB)
    Friday, November 22, 2013 2:39 AM

Answers

  • Hi,

    Welcome to MSDN.

    I am afraid that this is not the proper forum for this issue, since there is a more dedicated forum for ClickOnce issues:

    ClickOnce and Setup & Deployment Projects

    You could post a new thread in that forum for more dedicated support.

    Thanks for your understanding.

    Regards.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Just Karl Friday, December 6, 2013 5:33 PM
    • Marked as answer by Just Karl Tuesday, December 10, 2013 9:28 PM
    Thursday, November 28, 2013 1:17 AM

All replies

  • I am having the hardest time with this ClickOnce.

    I have a program I have an updater for. It worked about 75% of the time depending on the computer. I found ClickOnce and it has an autoupdater in it.

    One small problem. The updater dosent work. I have the version on the form as a label and I know I publish it to the webserver, but it seems to think there is no update.

    Any help?


    Be sure to change the version number in Project - Application tab Assembly Information... button dialog.

    Be sure to set up in Publish tab Updates... button dialog

    Be sure the files on the specified web site or whatever.

    http://www.codeproject.com/Articles/17003/ClickOnce-Quick-steps-to-Deploy-Install-and-Update

    • Proposed as answer by Mr. Monkeyboy Friday, November 22, 2013 4:45 AM
    Friday, November 22, 2013 4:04 AM
  • I am having the hardest time with this ClickOnce.

    I have a program I have an updater for. It worked about 75% of the time depending on the computer. I found ClickOnce and it has an autoupdater in it.

    One small problem. The updater dosent work. I have the version on the form as a label and I know I publish it to the webserver, but it seems to think there is no update.

    Any help?


    Be sure to change the version number in Project - Application tab Assembly Information... button dialog.

    Be sure to set up in Publish tab Updates... button dialog

    Be sure the files on the specified web site or whatever.

    http://www.codeproject.com/Articles/17003/ClickOnce-Quick-steps-to-Deploy-Install-and-Update

    This did not work.

    I tried everything and I even manually updated the application to 1.0.0.4 and the next time I opened it up and it said there was an update. I clicked on it and it downgraded it to 1.0.0.4

    Friday, November 22, 2013 8:57 PM
  • This did not work.

    I tried everything and I even manually updated the application to 1.0.0.4 and the next time I opened it up and it said there was an update. I clicked on it and it downgraded it to 1.0.0.4

    So you manually changed it to 1.0.0.4 and it downgraded to 1.0.0.4? The statement does not make sense?

    I am not sure but I seem to remember it has to be a change to the major version ie 9.4.2.3 to 9.5.0.0. Changes to the minor version ie 1.0.0.4 to 1.0.0.5 don't do anything.

    We cant see your code from here so it is hard to do anything for you.


    • Edited by tommytwotrain Friday, November 22, 2013 9:34 PM changed version to 9.4.2.3
    • Proposed as answer by tommytwotrain Tuesday, December 10, 2013 10:43 PM
    Friday, November 22, 2013 9:28 PM
  • This did not work.

    I tried everything and I even manually updated the application to 1.0.0.4 and the next time I opened it up and it said there was an update. I clicked on it and it downgraded it to 1.0.0.4

    So you manually changed it to 1.0.0.4 and it downgraded to 1.0.0.4? The statement does not make sense?

    I am not sure but I seem to remember it has to be a change to the major version ie 9.4.2.3 to 9.5.0.0. Changes to the minor version ie 1.0.0.4 to 1.0.0.5 don't do anything.

    We cant see your code from here so it is hard to do anything for you.


    I had the application 1.0.0.0 installed on my computer and I updated it so the application was 1.0.0.4
    • Proposed as answer by tommytwotrain Tuesday, December 10, 2013 10:43 PM
    • Unproposed as answer by tommytwotrain Tuesday, December 10, 2013 10:43 PM
    Friday, November 22, 2013 9:45 PM
  • This did not work.

    I tried everything and I even manually updated the application to 1.0.0.4 and the next time I opened it up and it said there was an update. I clicked on it and it downgraded it to 1.0.0.4

    So you manually changed it to 1.0.0.4 and it downgraded to 1.0.0.4? The statement does not make sense?

    I am not sure but I seem to remember it has to be a change to the major version ie 9.4.2.3 to 9.5.0.0. Changes to the minor version ie 1.0.0.4 to 1.0.0.5 don't do anything.

    We cant see your code from here so it is hard to do anything for you.


    I had the application 1.0.0.0 installed on my computer and I updated it so the application was 1.0.0.4
    You are right. The major version does have to change for the application to detect an update. Is there anyway to make it so it will update when it changes?
    Friday, November 22, 2013 9:48 PM
  • This did not work.

    I tried everything and I even manually updated the application to 1.0.0.4 and the next time I opened it up and it said there was an update. I clicked on it and it downgraded it to 1.0.0.4

    So you manually changed it to 1.0.0.4 and it downgraded to 1.0.0.4? The statement does not make sense?

    I am not sure but I seem to remember it has to be a change to the major version ie 9.4.2.3 to 9.5.0.0. Changes to the minor version ie 1.0.0.4 to 1.0.0.5 don't do anything.

    We cant see your code from here so it is hard to do anything for you.


    I had the application 1.0.0.0 installed on my computer and I updated it so the application was 1.0.0.4

    You are right. The major version does have to change for the application to detect an update. Is there anyway to make it so it will update when it changes?

    When what changes?

    Heh, well, I am not really an expert with it and to be honest I dont use click once as I found it flakey but probably just did not understand it. Maybe others who know more can answer that. However, the only other advice I can give, is do what I did at this point, use the advanced installer and write your own updater. Its more work but now I almost understand it. But don't get discouraged, I am sure you can get it working if you keep at it and then it will make sense to you.

    :)


    PS I mean I am sure you can get One click working and perhaps someone who knows more will help. I am just kidding you a little. Maybe its time for a beer and try again tommorow?
    Friday, November 22, 2013 10:09 PM
  • This did not work.

    I tried everything and I even manually updated the application to 1.0.0.4 and the next time I opened it up and it said there was an update. I clicked on it and it downgraded it to 1.0.0.4

    So you manually changed it to 1.0.0.4 and it downgraded to 1.0.0.4? The statement does not make sense?

    I am not sure but I seem to remember it has to be a change to the major version ie 9.4.2.3 to 9.5.0.0. Changes to the minor version ie 1.0.0.4 to 1.0.0.5 don't do anything.

    We cant see your code from here so it is hard to do anything for you.


    I had the application 1.0.0.0 installed on my computer and I updated it so the application was 1.0.0.4

    You are right. The major version does have to change for the application to detect an update. Is there anyway to make it so it will update when it changes?

    When what changes?

    Heh, well, I am not really an expert with it and to be honest I dont use click once as I found it flakey but probably just did not understand it. Maybe others who know more can answer that. However, the only other advice I can give, is do what I did at this point, use the advanced installer and write your own updater. Its more work but now I almost understand it. But don't get discouraged, I am sure you can get it working if you keep at it and then it will make sense to you.

    :)

    I did make my own updater. I just figured this would be easier. It would be If it updated when there was a revision, not a major.
    Friday, November 22, 2013 10:14 PM
  • Hi,

    Welcome to MSDN.

    I am afraid that this is not the proper forum for this issue, since there is a more dedicated forum for ClickOnce issues:

    ClickOnce and Setup & Deployment Projects

    You could post a new thread in that forum for more dedicated support.

    Thanks for your understanding.

    Regards.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Just Karl Friday, December 6, 2013 5:33 PM
    • Marked as answer by Just Karl Tuesday, December 10, 2013 9:28 PM
    Thursday, November 28, 2013 1:17 AM