Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Check for App Updates Using the ClickOnce API Making A REQUIRED Update?
 

Check for App Updates Using the ClickOnce API Making A REQUIRED Update?

Hello

I Am using click once api for updating my application to a remote server but i can only make the update optional i need to publish a "major" with i need required but i have no idea on how to do this because when i watched the video at: http://windowsclient.net/learn/video.aspx?v=6879; Rob didnt tell us "the video viewer" how to make a required update he only told us how to make any updates posted optional. i have had to put up with optional updates which i can not deploy masive changes that improve the use of my software and give the user what they want but if it becomes and optional update on load the update will tell then it is optional and it wont make masive changes and the user will be more in chance of clicking no to insall the update but i need all users to insall this update can anyone help?

p.s im sorry if i go over the top in detail and bore you with storys you dont need to no

danielb144  Thursday, July 23, 2009 4:42 AM
Sorry, I found that confusing. Here's some questions.

Are you using automatic updates, and having the application check for updates before it runs, or are you programmatically calling to do the updates? I'm asking because they are mutually exclusive, and if you are programmatically calling to do the updates, it happens in the background and the user has no choice.

If you are using automatic updates, in the Updates dialog, there is an option for "set minimum version" which you can check, and fill in the version you are currently deploying. It won't ask the user if he wants the update, it will just update it.

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Friday, July 24, 2009 6:47 AM
Sorry, I found that confusing. Here's some questions.

Are you using automatic updates, and having the application check for updates before it runs, or are you programmatically calling to do the updates? I'm asking because they are mutually exclusive, and if you are programmatically calling to do the updates, it happens in the background and the user has no choice.

If you are using automatic updates, in the Updates dialog, there is an option for "set minimum version" which you can check, and fill in the version you are currently deploying. It won't ask the user if he wants the update, it will just update it.

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Friday, July 24, 2009 6:47 AM

You can use google to search for other answers

Custom Search

More Threads

• Bug in installer project when changing active configuration
• How to create UnInstall Shortcut?
• For some custromers, ClickOnce deployment repeatedly failing part way through.
• Can I rename ClickOnce Setup.exe to someothername.exe:
• Use clickonce to deploy unreferenced assemblies?
• First Start and URL parameters
• Odd ClickOnce Deployment problem -
• Click Once Browser control application
• Click Once to Terminal Server Session - Application Shortcut
• How do I create a Custom Action to run BEFORE uninstalling?