Summary
This article discusses how to detect whether .NET Framework 4.6 was detected and display a Show Message Dialog indicating whether .NET Framework 4.6 was detected. This can be customized to detect other .NET Framework versions.Synopsis
This article discusses how to detect whether .NET Framework 4.6 was detected and display a Show Message Dialog indicating whether .NET Framework 4.6 was detected with InstallAnywhere. This can be customized to detect other .NET Framework versions.Discussion
The following is an example of how to detect .NET Framework 4.6 on Windows 7, Windows 8, Windows 8.1, and Windows 10 and display a Show Message Dialog indicating whether .NET Framework 4.6 was detected using InstallAnywhere 2015:- Create a new project.
- Add a Get Windows Registry Entry Action.
- Configure the Windows Registry Entry Action as follows:
- Registry Key=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\1033
- Value Name=Release
- Store Value in Variable=$REG_NETFRAMEWORK_KEY$
- Store Key Existence in Variable=$REG_NETFRAMEWORK_COUNT$
- Add a Show Message Dialog.
- Configure the Show Message Dialog as follows:
- Title=Test
- Label=Test
- Message=.NET Framework 4.6 Detected
- Add a Compare InstallAnywhere Variables Rule (R1).
- Configure R1: $REG_NETFRAMEWORK_KEY$ equals 393295
- Add a Check Platform Rule (R2).
- Configure R2: Remove Windows (All) from the Do Not Perform On column and add only Windows 10 to the Perform On column.
- Add a Compare InstallAnywhere Variables Rule (R3).
- Configure R3: $REG_NETFRAMEWORK_KEY$ equals 393297
- Add a Check Platform Rule (R4).
- Configure R4: Remove Windows (All) from Do Not Perform On column and add Windows 7 and Windows 8 to the Perform On column.
- Configure Rule Expression: (R1 && R2) || (R3 && R4)
Additional Information
For more information about the Get Windows Registry Entry Action, click here.For more information about the Show Message Dialog, click here.
For more information about the Compare InstallAnywhere Variables Rule, click here.
For more information about the Check Platform Rule, click here and here.
Here is more information about the DWORD values for the Release Value Name for .NET Framework 4.5 and .NET Framework 4.6 on various Windows versions:
Was this helpful?
Related Articles
Microsoft .NET Framework Redistributable 3Number of Views Including the .NET Framework 3Number of Views
Revenera Assistant
Online
Hi, I am Reva - Ask me anything.
Updates
No new updates
Chat
Home
Updates
/**/
Thanks for the feedback!
Your feedback has been saved.Rate this response:
1
2
3
4
5
Add Additional feedback ( Optional )
0/240
English
English
Language changed successfully
Something went wrong
Email sent successfully
Something went wrong
Case create successfully
Are you sure you want to cancel
the case creation?
Please select a product to submit the case.
Please select a product version to submit the case.
0/255
Upload Attachment
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
Are you sure you want to cancel the case creation?
Case closed successfully
File Upload
Maximum file size allowed is 3 MB.
File type not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
Revenera Assistant
© 2026 Flexera Software. All Rights Reserved.
Case id: 00001065
Activity: Status change: 2 hours ago