Summary
Warning -6220: Dynamically acquired data [1] conflicts with static data associated with component [2]. Overwriting with dynamic dataSymptoms
When building an InstallShield project, the following warning may occur:
"Warning -6220: Dynamically acquired data [1] conflicts with static data associated with component [2]. Overwriting with dynamic data."
[1] is a placeholder that contains the specific data that will overwrite the existing data, and [2] contains the name of the component from which this COM information is being extracted.
Cause
If the .NET Scan at Build property for a component is set to a value other than None, during the build process the .NET dependencies and/or properties are extracted from the .NET assembly and written into the MSI tables. This warning occurs when manual entries made to the MsiAssembly and MsiAssemblyName tables conflict with .NET assembly properties that result from scanning.
This is merely a warning and will not necessarily cause problems with the installation. When data is already contained within the MSIAssembly and MSIAssembly Name tables for a .NET assembly, this indicates that the information was already extracted from the assembly. When the .NET Scan at Build property is used, it dynamically extracts the data during each build to ensure it is the most current and accurate information. Therefore, it should not be a cause of alarm that this data overwrites the data that already exists, as it is the most accurate data available for the assembly.
Resolution
This build warning does not need a resolution as it is merely an informative message. However, this warning can be resolved by using one of the methods below.
Turn off .NET Scan at Build
By turning off the .NET Scan at Build, no dynamic information will be extracted from the .NET assembly during the build. Therefore, no information will be overwritten, as no information is being extracted from the assembly. This can be turned off by following these steps:
- Select the Components view.
- Highlight the component specified in the warning in the center column.
- Set the .NET Scan at Build property to None in the right panel.
- Rebuild the release.
Delete all static information from MSI tables
If you would like to continue using the .NET Scan at Build functionality, this ensures the most accurate and current information is extracted from the .NET assembly. However, it is then necessary to remove the information that already exists within these tables so no data is overwritten. This can be done by following these steps:
- Select the Direct Editor view.
- Highlight the MSIAssembly table in the center column.
- Remove any information contained within this table.
- Repeat steps 2 & 3 for the MSIAssemblyName table as well.
- Rebuild the release.
Additional Information
Additional information on .NET assemblies can be found in the Microsoft article Understanding Assemblies.
This error is briefly documented in the Help Library topic Build Errors and Warnings.
Related Articles
Build Warning 6220 3Number of Views Build Warning -7235 5Number of Views Build Warning -4354 3Number of Views Build Warning 4354 3Number of Views Build Warning 4354 3Number 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