Auto Update - Advanced Installer Community
brabbit14
Posts: 10
Joined: Mon Feb 17, 2014 9:44 am

Auto Update

2014-03-04_11h03_09.png
2014-03-04_11h03_09.png (45.3 KiB) Viewed 5134 times
Hello,

i want to create in my exe installer an updater. The updater should be download the newest version from the server, if a new version for the client are available. It would be perfect, if the updater run in the taskbar as a process and inform the user, if a new version are available. So the user decide to download and install that new version or not.

But for my configuration for the updater it wont be work - what ever i try. For me its not clear, what i enter to the updater dialog in the client (installer) and in the dialog in the updater (updates configuration).

For example:
The Server IP, where new install files (updates) are available, have the ip: 192.168.2.189. In the folder "InstallerFiles" is the Update.txt. Certainly is the folder approved for the networkuser. (for more information about that look at the second screenshot)

In the update configuration i'm enter the download url: -> "file://192.168.2.189/SetupFiles/***.exe"
Also, if a new version are online, the new exe is in this direction.

But i dont know what you mean at the topic "Update Installer" -> "File Path". alt: Absolute path of the update file.
(look at the first screenshot)

If i'm start the update file in the APPDIR, nothing start and popup!!!

Please help, all the instructions for the installer update cant be help me

Thanks !!!
Attachments
2014-03-04_11h05_16.png
2014-03-04_11h05_16.png (31.82 KiB) Viewed 5134 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Auto Update

Hello,

In order to get a starting point about how you should configure your installation projects to include our "Updater" support we highly recommend to carefully follow our "Using The Auto Updater" tutorial steps. Also, if you want the Updater to be triggered by a scheduled task, then you can configure this in the "Updater Execution" section from "Updater" page.
But i dont know what you mean at the topic "Update Installer" -> "File Path". alt: Absolute path of the update file.
This field, from your updates configuration project, contains the location where your upgraded package resides at build time. It has an informative role only.
If i'm start the update file in the APPDIR, nothing start and popup!!!
I'm not sure why this happens. In order to have a better view of your installation scenario can you please send us the AIPs (project files) of your target, upgraded and updates configuration project to support at advancedinstaller dot com so we can investigate them?

Also, as a side note, I've observed that you have set the "Updater page -> Downloads updates in this folder" field with the following location:

Code: Select all

[AppDataFolder][Manufacturer]\[ProductName]\updates\
Please keep in mind it is recommended to use a per-machine download location (instead a per-user one) like this:

Code: Select all

[CommonAppDataFolder][Manufacturer]\[ProductName]\updates\
If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
brabbit14
Posts: 10
Joined: Mon Feb 17, 2014 9:44 am

Re: Auto Update

Hello Daniel,

thanks for your answer.
By the way, i have one question. When i create a patch, in the dialog "images" i must select one msi for the target and a msi for a upgrade....

For example:
I have my installer for the programm Test with the version 1.0. For the patch, i haved create a second installer with the different files to the 1.0 version with the name as 'Update 2.0'.
I also have two msi files:

- version 1.0 with the main programm (main files)
- version 2.0 with the different files to the version 1.0

How i must select it in the patch (dialog images)?????

Thanks for your answer
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Auto Update

Hi,

For the "Upgraded" image you should choose the newer version of your product (i.e. version 2.0) and for the "Target" image you should choose the older version (i.e. version 1.0).

For more details about how to create a patch you can take a look on the Authoring a Windows Installer patch tutorial and also read the conversation from the Understanding Patch Image Hierachy thread which describes all the required steps.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”