Summary
Val0006 infoSymptoms
When performing Upgrading and Patching Validation, a validation error may occur in one of the following formats:
"Error Val0006 The Component [1] identified by ComponentID [2] is missing fro <!-- Inject Script Filtered --> m the newest version of your setup. You cannot delete components and still do a minor/small upgrade. You must perform a major upgrade."
"Warning Val0006 The Feature [3] is missing from the newest version of your setup. You can not delete features and still do a minor/small upgrade. You must perform a major upgrade."
[1] is a placeholder that contains the component name that has been removed. [2] contains the ComponentID associated with the component that was deleted. [3] contains the feature name that has been removed.
Cause
This validator detects when a minor upgrade is being attempted, even though a major upgrade should be performed.
If any components or features have been deleted from the latest version of the setup, you must perform a major upgrade to avoid potential problems associated with leaving resources and registrations on a machine. Also note that if you move a feature or component to another location in the setup, you have effectively deleted it from its original location.
This validator does not apply to major upgrades. It identifies when a minor/small upgrade should be a major upgrade.
To perform this validation test, the validation engine compares the previous version of your setup to the latest version of your setup.
Resolution
The easiest way to resolve this error is to remove the Minor Upgrade item and create a Major Upgrade item in the Upgrades view within the InstallShield IDE. As the criteria for a minor upgrade was not met, the criteria for a major upgrade should be met as it's not as strict in its requirements. As a rule, if you need to make major architecture changes to your setup, you should apply a major upgrade.
If you must use a Minor Upgrade item, you need to re-add the component or feature specified in the validation message to restore the original setup architecture. When adding the component or feature back into the project, make sure it is added to the same location in the setup hierarchy. For example, if re-adding a component, make sure the component is associated with the same feature as in your original setup. In addition when re-adding a component, make sure that it contains the same component code as the original component. This can be verified in the Components view within the InstallShield IDE.
Additional Information
You can also use the RemoveFile, RemoveRegistry, and RemoveIniFile tables to clean up some resources that may be orphaned. However, this does not clean up the Windows Installer registration information for those components and features. Leaving that registration information behind can cause unpredictable results in a future install or uninstall of your setup.
Each of these tables is documented in the Windows Installer Help Library in self-titled topics. For example, see topic RemoveFile Table.
Additional information on minor and major upgrades can be found in the InstallShield Help Library topics Minor Upgrades and Major Upgrades.
This error is also documented in the InstallShield Help Library topic Val0006.
Related Articles
Validator Number Val0001 3Number of Views Validator Number Val0009 3Number of Views Validator Number Val0008 3Number of Views FlexNet Manager for Engineering Applications release numbers and corresponding product versions 49Number of Views Unable to instantiate the validator class for UserId validation 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. | |
Case id: 00001065
Activity: Status change: 2 hours ago