Hello,

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
236545966
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:

https://installbuilder.bitrock.com/docs/installbuilder-userguide.html#_autoupdate_tool.

link

answered 03 Feb, 11:54

Michiel's gravatar image

Michiel ♦
33614
accept rate: 18%

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.

http://answers.bitrock.com/questions/467/autoupdate-installers-in-unattended-mode

link

answered 06 Feb, 03:46

Michiel's gravatar image

Michiel ♦
33614
accept rate: 18%

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×175
×51
×20
×19

Asked: 31 Jan, 06:55

Seen: 79 times

Last updated: 06 Feb, 03:46