Hi,
The detection criteria for the predefined Prerequisites will be updated in a future version of Advanced Installer.
The method recommended by Microsoft to detect the presence of the .NET Framework:
http://msdn2.microsoft.com/en-us/librar ... 30_topic14
Hence, in order to check for .NET Framework 2.0 or higher:
1. Create a new Prerequisite in the Prerequisites page, "Software" tab.
2. In the "Install Conditions" tab of the "Edit Prerequisite" dialog, instead of the default "File version" criteria, use 2 "Registry value with specified content" searches, one for .NET 2.0 and the other for .NET 3.0. You will use the following Registry Values:
Code: Select all
HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727\Install
and:
Code: Select all
HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.0\Setup\InstallSuccess
In both cases, the Value field will be set to "1" and the Comparison to "Exact match".
3. You will also use the option "Install if all of the above searches fail" (that is, the Prerequisite will be installed if neither .NET 2.0, nor .NET 3.0 exist on the system).
Note that, due to a bug (fixed in AI 4.9.2 which is scheduled for release soon), the text of the 2 radio buttons was incorrect and their logic is inversed.
Hope this helps.
Regards,
Ionut
FOLLOW US
Get the latest news in Application Packaging