Tosken
Posts: 15
Joined: Wed Oct 09, 2013 11:51 am

Use Auto Updater with installer stored on usb drive?

Hi,

i wanted to know if it is possible to use the Auto Updater executable to use a update configuration file stored on a usb drive to check for newer version and also use a installer on the usb drive to install then this version.
The use case is that we have some offline machines which should be updated from a usb stick without to much user interaction.

Thank you and best regards
Sebastian
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Use Auto Updater with installer stored on usb drive?

Hi Sebastian,

The updates configuration file's URL location. This file must be placed on your server and it must contain all the necessary settings for the update process.

This must be a http:// URL, on a server supporting the HTTP protocol, so you cannot add them to a stick. Also note that the path might change, from one machine to another.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Tosken
Posts: 15
Joined: Wed Oct 09, 2013 11:51 am

Re: Use Auto Updater with installer stored on usb drive?

Hi Dan,

i have just tested this this morgnung and it works.
The url can also be in the form file://C:\updates.ini

It is also explained in the documentation.
So it works ;)
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Use Auto Updater with installer stored on usb drive?

Hello,

Please note that we do not recommend to add the update configuration file on your local drive. In your case, the configuration file will be stored on a usb stick. Note that the path may be changed from one machine to another.
It is also explained in the documentation.
Can you please tell us where did you find this in our help files?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Tosken
Posts: 15
Joined: Wed Oct 09, 2013 11:51 am

Re: Use Auto Updater with installer stored on usb drive?

Okay you are right that in the documentation there is only written that it is possible to use a local file for the url in the ini file.
So the url where the installer will be downloaded
(http://www.advancedinstaller.com/user-g ... rties.html)

But it works also for the updater.exe to specify the url of the ini file.

In my case i would like to use it as kind of offline update mechanism.

So my software tries to find a usb media which contains the update file.
Then i programmaticaly exchnage the drive letter inside the file to match the drive of the usb media and execute the updater.
It works like a charm.

Return to “Common Problems”