I am creating an installer in Windows. I need the program to have auto update feature. How to do this?

asked 31 Jan, 06:55

Codename%20K's gravatar image

Codename K
accept rate: 50%

To do this you can build an AutoUpdate wizard which will do the following:

  • Read the INI file that contains information about where to contact the server and which version is currently installed. This INI file must be delivered together with the binary and placed in the same directory.
  • Get the XML file from the server, which contains available versions for each platform.
  • If there’s a newer version available for the target platform (checking that the version ID received is higher than the current one stored in INI file), download and install it or notify the user depending on the execution mode.

You can find more information about autoUpdate here:



answered 03 Feb, 11:54

Michiel's gravatar image

Michiel ♦
accept rate: 19%

I tried your details and what is explained in the link. But it shows a dialog asking to update. Can this be done automatically without showing the user the update dialog?

(04 Feb, 11:10) Codename K

It's possible to run the autoupdate-installers in unattended mode.



answered 06 Feb, 03:46

Michiel's gravatar image

Michiel ♦
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 31 Jan, 06:55

Seen: 171 times

Last updated: 06 Feb, 03:46