Download prerequesite if checkbox checked - Advanced Installer Community
Radzhab
Posts: 13
Joined: Wed Sep 07, 2016 6:20 pm

Download prerequesite if checkbox checked

I have one checkbox and i have one prerequesite. By default installer download prerequesite and install it. I wanna make - if checkbox checked - then download and install prerequesite, else not download and not install. How make it?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Download prerequesite if checkbox checked

Hi,

To achieve this you can copy the property related to that checkbox and use it as a condition for the feature related to your prerequisite in the "Organization" page (this works only if the prerequisite is added as "feature-based" or "post-install").

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Radzhab
Posts: 13
Joined: Wed Sep 07, 2016 6:20 pm

Re: Download prerequesite if checkbox checked

Can you share example *.aip?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Download prerequesite if checkbox checked

Hi,

I attached a sample project, so you can take a look of its configurations. The checkbox is placed on the "WelcomeDlg" dialog.

Just let me know if you need more details.

Best regards,
Eusebiu
Attachments
Install Prerequisite Based On Checkbox.aip
(17.28 KiB) Downloaded 299 times
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Radzhab
Posts: 13
Joined: Wed Sep 07, 2016 6:20 pm

Re: Download prerequesite if checkbox checked

I simply replace url for download app and its not worked.
Attachments
test.aip
(133.83 KiB) Downloaded 267 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Download prerequesite if checkbox checked

Hi,

Your project seems to be configured correctly and the installation of the prerequisites should be done based on the check boxes you used on your dialog. Can you please give me more details about the problem that you encounter? Also can you send me a verbose log of the installation, so I can investigate it?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Download prerequesite if checkbox checked

Hi,

From the log file that you sent I can see that the check boxes related to your prerequisites are not checked. In this case the prerequisites will not be installed and the custom launch conditions that you added will not pass, so the message from your screenshot will be displayed.

If you keep those conditions in the "Custom" tab of the "Launch Conditions" page the user will always be forced to install the prerequisites, otherwise those conditions will block the installation.

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

Return to “Common Problems”