SimLoe
Posts: 66
Joined: Thu Mar 12, 2020 11:37 am

Setup requires Internet conection if I add an prerequisite

Fri Jul 02, 2021 8:46 am

The following now happened twice and we had to publish an emergency update because users were complaining and AI didn't notify us:

Create a new sample project, don't add any prerequisites. Go to Launch Conditions. The checkbox "Run only if an active Internet connection is found" is unchecked.

Go to the prerequisites page, add Visual C++ Runtime as a prerequisite. Select: Include offline page

Go to Launch Conditions. The checkbox "Run only if an active Internet connection is found" is checked.

Expected behavior: If I select "include offline package", setup should not add the "internet connection" checkbox without telling me anything.
Either there has to be a warning, or the checkbox shouldn't be selected at all.

Catalin
Posts: 6537
Joined: Wed Jun 13, 2018 7:49 am

Re: Setup requires Internet conection if I add an prerequisite

Fri Jul 02, 2021 4:43 pm

Hello Simon,

That option is indeed checked automatically just in case the user presses "No" when asked whether he wants to include the prerequisite or not in the setup.

However, please note that Advanced Installer should notify you about that:
Notification.png
Notification.png (86.45KiB)Viewed 6992 times

Beside the "Notifications" tab, a message should appear where the "X" is, i.e.:
Notification2.png
Notification2.png (14.75KiB)Viewed 6992 times

Are you not getting this notification when adding the prerequisite to your setup?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

SimLoe
Posts: 66
Joined: Thu Mar 12, 2020 11:37 am

Re: Setup requires Internet conection if I add an prerequisite

Mon Jul 05, 2021 8:55 am

Hello Catalin,

you are right, I tried again and saw the notification. However, I didn't see it twice before and it disappeared quite fast. Still, it doesn't make sense to me that you are adding this option even though I am choosing "no". I could only understand this behavior when I selected "yes", but maybe this is due to technical limitations.
Thank you for clarifying this.

Best regards,
Simon

Catalin
Posts: 6537
Joined: Wed Jun 13, 2018 7:49 am

Re: Setup requires Internet conection if I add an prerequisite

Tue Jul 06, 2021 7:08 pm

You are always welcome, Simon!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”