Windows Develop Bookmark and Share   
 index > Windows Forms General > Creating an updatable windows application (PATCH)
 

Creating an updatable windows application (PATCH)

Hello,

I would like to make my windows application updatable through patches. I am using Visual Studio 2005.

I can create an .msi and .exe file by creating a "Setup Project" from the setup and deployment section of the Add->Project dialog.

My windows application runs smoothly. However, I am not able to update the system without uninstalling the original first or creating a new programs menu directory to hold the newproject output.

Please help me find a way toperform patches to my application once it has been deployed to the end-users.

Thanks,
KJAK

kjak  Friday, August 10, 2007 11:58 AM

Hi kjak,

To upgrade an existing installed product, you should take the following steps:

  1. Set RemovePreviousVersions to true
  2. Increment Version in the new setup project's properties and don't use values of Version for the setup project that are less than 1.0
  3. Make sure that your new setup project'sUpgradeCode is the same as the productwhich has been installed
  4. Make sure that your InstallAllUsers value is the same as the productwhich has been installed

Hope this helps.

Regards

Rong-Chun Zhang  Monday, August 13, 2007 6:10 AM

Hi kjak,

To upgrade an existing installed product, you should take the following steps:

  1. Set RemovePreviousVersions to true
  2. Increment Version in the new setup project's properties and don't use values of Version for the setup project that are less than 1.0
  3. Make sure that your new setup project'sUpgradeCode is the same as the productwhich has been installed
  4. Make sure that your InstallAllUsers value is the same as the productwhich has been installed

Hope this helps.

Regards

Rong-Chun Zhang  Monday, August 13, 2007 6:10 AM

You can use google to search for other answers

Custom Search

More Threads

• ListView Group
• Windows taskbar help
• HELP EXCEL FORMULA
• MainMenu won't load
• Removing controls from a Panel within code
• Add custom button to wiki page
• A bit more on drawing 32 bit images in greyscale and color with full support for transparency
• MenuStrip Accessibility Problem
• link to code file
• Enter Key, Dont Validating Yet