CD installation fails to check website for updates the first time it is run

I have a ClickOnce application that is installed from a CD, which should be available offline and check for updates from a website before the application starts.

When I double click on the deployment manifest the application installs and runs, but it fails to check for updates. If I close the application and run it again by clicking on the application reference in the start menu the check for updates is made before the application starts.

Is it possible to configure the ClickOnce deployment so that when the application is installed from a CD it automatically checks for updates before starting the first time.



Answer this question

CD installation fails to check website for updates the first time it is run

  • Cherian

    I totally agree with BCA.

    Why doesnt a ClickOnce application check for updates the first time it starts, if its installed from a cd-rom Otherwise the users will most likely run an obsolete version the first time they run it.

    The only way I know to solve this right now is to programatically restart the ClickOnce application the first time it's run. There should be a better way, shouldnt there


  • Mazzica

    There is an option under update in publish which defines how to check for updates. One option is check for update before application start or check after application starts. Try enabling the first option.

    Thanks.



  • Paul Gerald

    The option that you mention is set.

    It does not work when the application is automatically run by the installation.


  • CD installation fails to check website for updates the first time it is run