Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > update check
 

update check

so I want to make my application check for update when it starts.
I will like it to read from registry like HKLM/Software/<MYappName> and here will be a key named version and will have the value my app has.
to mention that I don't want my app to create that registry key. that will be made with installer.
so the app will check from my server a file called update.txt or so that contains the version and d/l url.

update.txt example
:

[My Project name]
version = 1.1
url = http://example.com/app.exe

key = HKLM/Software/<MYappName>/version

I think it's easy but I'm new to visual basic and I need some help
also I would like a MsgBox that will show up a information like "Update for <my project> has been found"
and when clicked ok it will close the app and open up the d/l in default browser

well any help is highly appreciated
  • Moved byMartin Xie - MSFTMSFTTuesday, September 29, 2009 10:55 AMMove it to ClickOnce and Setup Deployment forum for better support. (From:Visual Basic General)
  •  
Gwolf2u  Thursday, September 24, 2009 8:16 PM

Hi Gwolf2u,

Welcometo MSDN forums!

Here are some tutorials about ClickOnce ApplicationAutomatic Updates for you to check.

Official document: How to Manage Updates for a ClickOnce Application
http://msdn.microsoft.com/en-us/library/1zyc39fb.aspx
ClickOnce applications can check for updates automatically or programmatically. As a developer, you have lots of flexibility in specifying when and how update checks are performed, whether updates are mandatory, and where the application should check for updates.

Example 1: This article presents quick and clear steps to Deploy, Install and Update your application via the ClickOnce deployment.
http://www.codeproject.com/KB/install/QuickClickOnceArticle.aspx



Example 2: This article describes the steps to add automatic update capabilities to your application quickly and easily using the DDay.Update library.

http://www.codeproject.com/KB/install/DDayUpdate_Part1.aspx



I move it to Setup Project and ClickOnce Deployment Forum for better responses.

Best regards,
Martin Xie


Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Martin Xie - MSFT  Tuesday, September 29, 2009 10:53 AM

If you dont want to do this within your program, then try clickonce and setup forum for your question
http://social.msdn.microsoft.com/Forums/en-US/winformssetup/threads

kaymaf


I hope this helps, if that is what you want, just mark it as answer so that we can move on
kaymaf  Thursday, September 24, 2009 9:07 PM

Hi Gwolf2u,

Welcometo MSDN forums!

Here are some tutorials about ClickOnce ApplicationAutomatic Updates for you to check.

Official document: How to Manage Updates for a ClickOnce Application
http://msdn.microsoft.com/en-us/library/1zyc39fb.aspx
ClickOnce applications can check for updates automatically or programmatically. As a developer, you have lots of flexibility in specifying when and how update checks are performed, whether updates are mandatory, and where the application should check for updates.

Example 1: This article presents quick and clear steps to Deploy, Install and Update your application via the ClickOnce deployment.
http://www.codeproject.com/KB/install/QuickClickOnceArticle.aspx



Example 2: This article describes the steps to add automatic update capabilities to your application quickly and easily using the DDay.Update library.

http://www.codeproject.com/KB/install/DDayUpdate_Part1.aspx



I move it to Setup Project and ClickOnce Deployment Forum for better responses.

Best regards,
Martin Xie


Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Martin Xie - MSFT  Tuesday, September 29, 2009 10:53 AM

You can use google to search for other answers

Custom Search

More Threads

• Delploying Office 2003 in MSI with GPO
• Conditional use of either x86 or x64 isolated COM component from manifest file
• Finding a registry key
• Not able to run Click Once with Third Party dll
• Upgradation Problem
• Change Target CPU of ClickOnce Application - Error
• enterprise Library configuration won't start
• A weird problem about uncleaned uninstallation
• Dec CTP bug
• Multiple ClickOnce Applications