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!

mars_888
Posts: 4
Joined: Wed May 03, 2017 8:57 am

Copy installer media during installation?

I'm trying to build an installer that has both a server and client component. I'd like the original installer files to be hosted on the server after that has been installed, so users can then download it from there to install their clients. Is it possible to copy the installation media itself to a specified directory while the installation is running?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Copy installer media during installation?

Hello and welcome to our forums,

You can create a web-based installation. With this kind of installation, the build will contain an exe webinstaller and a msi along with other potential install files, which will be placed on the server. For a successful installation the user only needs the web-installer exe launched on his disk.

If this does not fit your needs please give us a more detailed scenario.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mars_888
Posts: 4
Joined: Wed May 03, 2017 8:57 am

Re: Copy installer media during installation?

Thank you for your reply, Daniel!

The original idea was to have a single installer be able to install both a client feature and a server feature (depending on what the user selects via a dialog) and to also host the same installer within the server feature by copying over the original installation media. In this manner a user can easily install multiple clients on different machines by visiting the server machine in their network.

Having said that, we are also considering using two separate installers. But since we would like to give users a single file to download this would probably mean hosting both the server and client in a single package somehow. Another drawback is that this would increase the download size, as the prerequisites would have to be included multiple times (once for client, once for server).
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Copy installer media during installation?

You're always welcome.

Another solution you could try will be to use our File Download feature

Here is an implementation you could configure:

1. Go to "Dialogs Page" and create a new dialog. On this new dialog create a radio box. Change the property name of this radio box to "INSTALL_TYPE". This radio box should contain two buttons: Server, with the value "server" and Client with the value "client". By this the INSTALL_TYPE property value changes to either client or value based on user's selection.

2. Go to "Files and Folders" page and create a new "File Operation" - "File Download". In "Condition" field enter INSTALL_TYPE="server" if you need this file for server application and INSTALL_TYPE="client" for client application.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mars_888
Posts: 4
Joined: Wed May 03, 2017 8:57 am

Re: Copy installer media during installation?

Step 1 is pretty much how we've set things up right now with regards to the user interface.
Step 2 might work, but one issue that we may encounter is that internet access may not always be available on the machines that a user runs the installer on. Would it be possible to use a local file for this step?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Copy installer media during installation?

Hello,

Yes, It is possible to use a file from the disk by using an URL with the following form:

Code: Select all

file://c:\file.msi
Let us know if you have any questions.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mars_888
Posts: 4
Joined: Wed May 03, 2017 8:57 am

Re: Copy installer media during installation?

After further testing we've devised a way to bundle another client installer within the main installer and start that after the main installation finishes. I think this will be good enough for us for now. Thanks for the help, Daniel!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Copy installer media during installation?

You're always welcome.

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

Return to “Building Installers”