Jump to content


need method to create updater in visual studio 2005 using C#


1 reply to this topic

#1 rahul

    New Member

  • Members
  • Pip
  • 1 posts

Posted 09 March 2007 - 10:07 AM

Hello all,
I am developing a windows application using C# in visual studio 2005. I need to write a code for my current application to check the server whether any updated version of this application is available or not everytime it starts. If available it should prompt the message "Higher version is available. Do you want to update your application.". If I click yes then it should uninstall my current application and install the updated application.

So please help...

#2 Kenneth Gorking

    Senior Member

  • Members
  • PipPipPipPip
  • 911 posts

Posted 10 March 2007 - 02:59 PM

You can use the 'Publish' feature. Right-click on your project -> Properties -> Publish -> Updates... -> Check the 'The Application should check for updates'
MSVC will now auto-generate the code needed for this feature. Create your installer by clicking the Build menu -> Publish 'project name' and you are done.
"Stupid bug! You go squish now!!" - Homer Simpson





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users