Install external installer (exe) from URL based on feature. - Advanced Installer Community
jhebbel
Posts: 9
Joined: Tue Mar 15, 2016 1:49 pm

Install external installer (exe) from URL based on feature.

I would like to download and install an exe installer from an external location based on weather or not a feature is selected. Is this currently possible?
Horatiu
Posts: 42
Joined: Tue Nov 29, 2016 1:19 pm

Re: Install external installer (exe) from URL based on feature.

Hello,

Yes, this is possible.

1. Create a PrerequisitesDlg in Dialogs > First Time Install section, to display the option of selecting which Prerequisites to install.
2. Add your exe installer to Prerequisites by adding an URL Prerequisite in Prerequisites > Packages > Feature-based section.

Best regards,
~Horatiu
jhebbel
Posts: 9
Joined: Tue Mar 15, 2016 1:49 pm

Re: Install external installer (exe) from URL based on feature.

So you are saying I cannot install external exe's as a feature? I want it to be a feature not prerequisites.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Install external installer (exe) from URL based on feature.

Hello,

This is possible too, by using a file download operation. Just go to "Files and Folders" page, select the folder where you want the external EXE be downloaded to, go to the right pane and use the "New File Operation -> File Download" context menu option to add a download operation. In the condition field you can click on the [...] right button and use our smart edit condition support to set a condition using your feature action.

If you have any questions or doubts just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jhebbel
Posts: 9
Joined: Tue Mar 15, 2016 1:49 pm

Re: Install external installer (exe) from URL based on feature.

That handles the download, how do I install it? (its an exe installer)
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Install external installer (exe) from URL based on feature.

Hello,

To install it you should only use a "Launch file" custom action to launch the downloaded file. The custom action should be added as a custom action with sequence after the "Install Execution Stage -> Add resources" action group.

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

Return to “Building Installers”