Summary
Error -6247: The .NET Framework redistributable [1] is not found on the system. [2]Symptoms
When building an InstallShield setup, the following error may occur:
Error -6247: The .NET Framework redistributable [1] is not found on the system. [2]
[1] and [2] are placeholders that contain the specific path to the file not found. The file specified is either dotnetfx.exe or dotnetredist.exe.
Cause
This error occurs when the files dotnetredist.exe and dotnetredistSp2.exe are not located in the correct locations. These files are critical to the .NET Framework installation, and this build error occurs if these files are not in the expected location on the build machine.
This error is known to occur in the following scenarios:
- The .NET Framework is not properly installed, or the files are missing. InstallShield Express offers full .NET support. The .NET Framework must be installed on the development machine to take advantage of this functionality.
- The .NET Framework was included in the release but is not installed and is not required by your application.
- You do not have sufficient privileges to access the location specified in the error message.
Resolution
Follow these steps:
- If using Express 5.x or later, run InstallShield Express in Modify mode. To do this, re-insert the InstallShield CD or re-run the InstallShield Express installer. When the Maintenance dialog appears, choose the Modify option. Make sure the feature ".NET Redistributables" is selected. If the same behavior occurs after doing this, run InstallShield Express in Repair mode using the same steps as indicated above but choose the Repair option instead of Modify. After updating InstallShield Express, rebuild your setup to include the changes.
Another option is to use the Redistributable Downloader utility from the Tools pull-down menu. This utility allows you to download various versions of the .NET Framework to be used in your projects.
- If using InstallShield Express 4.x or earlier or if the above steps don't work for Express 5.x and later, download and install the .NET Framework from Microsoft directly. After installing the .NET Framework, copy the dotnetredist*.exe files mentioned in the Cause section of this article to the location specified in the error message. After doing this, rebuild your setup.
- If you included the .NET Framework in the release, but it is not required by your application and is not installed, follow these steps to remove it from your release:
- Select the Build Your Release view.
- Click the desired release.
- In the property sheet, locate the .NET Framework Location property.
- Make sure its value is set to Do Not Include.
- Rebuild the setup.
- Select the Build Your Release view.
- Contact your system administrator to verify that you have sufficient security privileges to access the file location specified in the error message.
Related Articles
Build Error 6247 6Number of Views Build Error -1024 13Number of Views Build Error -6605 7Number of Views Build Error -1007 8Number of Views Build Error 6118 7Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
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. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago