Eternal21
Posts: 21
Joined: Mon Aug 15, 2016 5:51 pm

How to add URL prerequisite for .NET Framework 4.5.2?

Mon Aug 15, 2016 6:02 pm

By default Advanced Installer added .NET Framework 4.0 URL prerequisite to my installer project. It came up with the following values:
NAME: .NET Framework 4.0

LOCATION: Download single file from URL
URL: http://download.microsoft.com/download/ ... 86_x64.exe
FOLDER: .NET Framework 4.0

EXACT FILE SIZE: 50449456
MD5 SINGATURE: 251743dfd3fda414570524bac9e55381

SILENT: /q /norestart

INSTALL CONDITIONS: Registry value with specified content: HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\Install
My question is how do I go about adding a .NET Framework 4.5.2 URL condition. I was hoping there would be a way to simply pick 4.5.2, and have Advanced Installer automatically fill out above fields, but it looks like it's not an option. Can you provide required values for the above fields? Thanks.

Eternal21
Posts: 21
Joined: Mon Aug 15, 2016 5:51 pm

Re: How to add URL prerequisite for .NET Framework 4.5.2?

Mon Aug 15, 2016 7:43 pm

After doing some research, I was able to come up with a solution. I used the following articles online:

https://www.itechtics.com/net-framework ... nstallers/
https://msdn.microsoft.com/en-us/librar ... aspx#net_b

And the settings required to add .NET Framework 4.5.2 prerequisite are as follows (based on information from the above articles):
NAME: .NET Framework 4.5.2

LOCATION: Download single file from URL
URL: https://download.microsoft.com/download ... OS-ENU.exe
FOLDER: .NET Framework 4.5.2

EXACT FILE SIZE: 69999448
MD5 SINGATURE: ee01fc4110c73a8e5efc7cabda0f5ff7

SILENT: /q /norestart

INSTALL CONDITIONS: Registry value with specified content: HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\Release
VALUE: 379892
COMPARISON: Greater than
Last edited by Eternal21 on Tue Aug 16, 2016 12:51 pm, edited 1 time in total.

Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: How to add URL prerequisite for .NET Framework 4.5.2?

Tue Aug 16, 2016 8:19 am

Hi,

The way you configured ".NET Framework 4.5.2" prerequisite is correct. However, in the latest versions of Advanced Installer this prerequisite can be found and added from the prerequisites predefined list.

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

Eternal21
Posts: 21
Joined: Mon Aug 15, 2016 5:51 pm

Re: How to add URL prerequisite for .NET Framework 4.5.2?

Tue Aug 16, 2016 12:27 pm

I didn't see an option to add a .NET framework prerequisite, how would I go about doing that if I didn't want to do it by hand (i.e. where do I find predefined prerequisites list)?

Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: How to add URL prerequisite for .NET Framework 4.5.2?

Tue Aug 16, 2016 12:47 pm

Hi,

The predefined prerequisites list is available in the "Prerequisites" page if you select "Packages" from the top of the page. You can select any prerequisite from that list in order to add it to your package.

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

Eternal21
Posts: 21
Joined: Mon Aug 15, 2016 5:51 pm

Re: How to add URL prerequisite for .NET Framework 4.5.2?

Tue Aug 16, 2016 12:54 pm

Found it, thanks. You need to click on Packages root in the tree. Perhaps you guys could make it more obvious in one of future releases (maybe make it a button on the ribbon toolbar, or something).

Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: How to add URL prerequisite for .NET Framework 4.5.2?

Tue Aug 16, 2016 1:19 pm

You're welcome. Glad to help.

We will consider your suggestion for making the predefined prerequisites list more obvious, thank you.

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

Eternal21
Posts: 21
Joined: Mon Aug 15, 2016 5:51 pm

Re: How to add URL prerequisite for .NET Framework 4.5.2?

Tue Aug 16, 2016 1:27 pm

Could also be an item in right click menu, because that's how I was adding prerequisites in the first place. I would right click on Pre-install folder, and select 'New Package Prerequisite'. If you added 'Predefined Prerequisites' menu item there I'd be able to find it without resorting to the forum.

Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: How to add URL prerequisite for .NET Framework 4.5.2?

Tue Aug 16, 2016 2:38 pm

Thank you very much for your feedback. We will consider adding this improvement in a future version of Advanced Installer.

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

Return to “Building Installers”