Summary
Error -6247 occurs during build time stating the .NET Framework redistributable is not found.
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 will either be 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. Beginning with Developer 7.02, InstallShield 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
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 Releases 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.
Contact your system administrator to verify that you have sufficient security privileges to access the file location specified in the error message.
Additional Information
If using Developer 7.02 or later, download and install the InstallShield Developer 7 .NET Update . This update fully enables the .NET features of Developer and includes the production version of the .NET Framework. It requires Microsoft Internet Explorer 5.01 to work properly. After installing this update, rebuild your setup to include the changes.
If using InstallShield Developer 8.0 or 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 to the location specified in the error message. After doing this, rebuild your setup.
Additional information on .NET support can be found in the following InstallShield Help Library topics:
- Adding .NET Assemblies to Installation Projects
- Installing Assemblies
- Adding .NET Framework Support to an Installation Project
- Scanning for .NET Dependencies and Properties
This error is briefly documented in the InstallShield Help Library topic Build Errors and Warnings.
Related Articles
Build Error 6247 4Number 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