We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

proxymity
Posts: 1
Joined: Mon Sep 23, 2013 9:32 pm

Download a resource from the web

Hi,

Ive already tryed some ways, but didnt find a working one :s

[Edit:]Im using 10.5.2 (trail)

First of all, which license will I need in the end for doing this?
And now to the question:

I want to build a "Setup and Update" Installer, means: the user will have the choice to install a package (first startup/ new install) (image and configuration files, no executable) which will be downloaded from a http-server (the file will be a *.zip, which needs to be extracted before actually copying it on the machine) and also a *.jar which is executable (while its installed, the *.jar should be executed, which has a own menu).
Also the user, if the program has been executed as a setup already, should have the choice to "update" the installed files - the installer should check for an update (the way it does with a .txt file), if there are new files, it will offer the user to download the new *.zip and *.jar.

When Im seeing it right, I can only do this with prerequisits.. but there is no way to check the version of them by including a txt file on the server, if im seeing it right...

Is this even possible in this way? Or do I have to set up a web-installer and a msi - if yes, how can I configure the msi to do that? :s

Regards,
T.E.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Download a resource from the web

Hello T.E. and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.
I want to build a "Setup and Update" Installer, means: the user will have the choice to install a package (first startup/ new install) (image and configuration files, no executable) which will be downloaded from a http-server (the file will be a *.zip, which needs to be extracted before actually copying it on the machine) and also a *.jar which is executable (while its installed, the *.jar should be executed, which has a own menu).
I'm afraid we don't have predefined support for this. However, in order to achieve this you can add the .zip file content and the .jar file in "Files and Folders" page. Then, from "Media page -> Configuration tab" you can choose to build a "Web installer" package type. Also, you can launch your .jar file during installation using the approach debated in our "Invoke a JAVA PROGRAM during Updating" thread.
Also the user, if the program has been executed as a setup already, should have the choice to "update" the installed files - the installer should check for an update (the way it does with a .txt file), if there are new files, it will offer the user to download the new *.zip and *.jar.
In order to achieve this you can use our Updater tool. In order to gain a better understanding of how our Updater tool works you can take a look on our "Using The Updater" tutorial. Also, you can take a look on our "Integrate the Updater with your application" and "Updater Diagram" articles.

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”