Trouble trying to understand updates - Advanced Installer Community
renejdm
Posts: 26
Joined: Sat Sep 13, 2014 1:46 pm

Trouble trying to understand updates

After reading your documentation, I am still confused about creating the directory structure for updates. I am using Amazon S3. For instance, my first beta version is 0.73. I create a folder called ‘073’ on Amazon and upload 2 files that were created with Advanced Installer (Setup.exe, Setup.msi).

Here is the current directory structure (not exact but similar) from Amazon:

https://amazonaws.com/pdddownloads/0.73/Setup.exe
https://amazonaws.com/pdddownloads/0.73/Setup.msi


Or should I rename the files with the version number, for example:

https://amazonaws.com/pdddownloads/Setup-0.73.exe
https://amazonaws.com/pdddownloads/Setup-0.73.msi

The second structure would allow me to place all versions in the same server directory. But where do I put the upgrades? Do I create an upgrade folder like the following:

https://amazonaws.com/pdddownloads/upgrades

And then all upgrades would be placed in this folder? In this case the upgrades would also have to have different names.

Note that I am new to this and I have successfully created an installer and was able to download, install, and run my application. I have not yet created an upgrade project.

Rene
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Trouble trying to understand updates

Hi Rene,

In order to create an upgrade for your application you can just follow the Deploying updates tutorials.

Please keep in mind that the structure of the folders is not important, all you need to do is to place the .exe file in the same folder with its related .msi file and write the correct URLs in the "Updates configuration file URL" field from the "Updater" page and in the "Download URL" field form the "Update Configuration" project.

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

Return to “Common Problems”