Dennis van der Stelt

The most votes generally drown out the best votes

Community

News

  • Meet me at PDC08

Email Notifications

I read...

I Use...

Tags

Recent Posts

Archives

Turn off automatic updates with ClickOnce

I got an e-mail with the question how to turn off automatic checking for updates, when you're doing a manual check for updates with ClickOnce. Strangely enough I forgot to mention this in my previous article.

ClickOnceAutoUpdateOff

The above dialog window can be obtained in the properties window of your project (Right-click your project in the solution explorer), under the "Publish" tabpage, using the "Updates..." button.

In the above window the "The application should check for updates" is turned on. Uncheck it and your application won't automatically check for updates anymore.

Note that at the bottom, I've filled in the update location. For some reason, when you deploy your application with auto update turned off, it won't be able to find the update location anymore. It's being removed from the manifest! I have no idea if this is a bug or not, but it can be solved by entering the update location in the bottom textbox. Now the manual check for updates with ClickOnce works again.

Technorati Tags:

Comments

Manual check for updates with ClickOnce - Dennis van der Stelt said:

Pingback from  Manual check for updates with ClickOnce - Dennis van der Stelt

# February 4, 2008 1:47 PM

Jeroen de Zeeuw said:

Hi,

I was googling for a solution for the problem as described in the referenced article, concerning the "Launching Application" dialog.

Indeed, when un-checking the "The application should check for updates" check, the dialog is supressed until I call the CheckForDetailedUpdate() method in the ApplicationDeployment class. If I choose not to update the application, the dialog is back when restarting the application.

Is this a bug or am I missing something here?

However, nice walkthrough!!

Jeroen.

# February 14, 2008 12:37 PM

fmonroy said:

Hello Jeroen de Zeeuw, I've the same problem. It behaves like a bug.

Did you find a workaround?

# March 17, 2008 8:14 PM

turn off automatic update notifications said:

Pingback from  turn off automatic update notifications

# June 4, 2008 10:47 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)