Summary
Discussion on validation error ICE57Symptoms
ICE57 only occurs during validation and can be displayed in the following formats:
- Component has both per-user and per-machine data with a per-machine KeyPath.
- WARNING: Component has both per-user and per-machine data with an HKCU Registry KeyPath.
- Component has a registry entry that can be either per-user or per-machine and a per-machine KeyPath.
- Component has both per-user data and a KeyPath that can be either per-user or per-machine.
- Component has both per-user data and a KeyPath that can be either per-user or per-machine.
Cause
- A component's destination is set to a per-machine location, such as ProgramFilesFolder. A key has been created under the HKEY_CURRENT_USER hive in the Registry Data section of the component.
- A component's destination is set to a per-machine location, such as ProgramFilesFolder. A key has been created under the HKEY_USER_SELECTABLE hive in the Registry Data section of the component.
- A component's destination is set to a per-user location, such as AppDataFolder. A key has been created under the HKEY_LOCAL_MACHINE hive in the Registry Data section of the component.
- A component's destination is set to a per-user location, such as AppDataFolder. A key has been created under the HKEY_USER_SELECTABLE hive in the Registry Data section of the component.
And one of the following is true:
- A component's destination is set to a per-user location, such as AppDataFolder. A key has been created under the HKEY_USER_SELECTABLE hive in the Registry Data section of the component that is set as the key path.
- A component's destination property is set to a per-machine location, such as ProgramFilesFolder, but a key has been created under HKEY_CURRENT_USER hive in the component?s registry view.
Resolution
- Open the Setup Design or Components view and find the component displayed in the error message.
- Expand the component and go to the Registry Data section of the component displayed in the error message. Go to the HKEY_CURRENT_USER, HKEY_USER_SELECTABLE, or HKEY_LOCAL_MACHINE hive depending on which one contains additional keys.
- Set a value for one of the keys as the key path. This can be done by right-clicking a value, such as Default, within a key and selecting Set Key Path.
This solution requires you to create a new component into which you will move all registry data from HKEY_CURRENT_USER, HKEY_USER_SELECTABLE, or HKEY_LOCAL_MACHINE from your old component. Do not delete your old component for it will contain your files.
Important: If a component contains keys under multiple hives, a new component must be created for each hive.
- Open the Setup Design view and right-click the feature that contains the component mentioned in the validation error message and select New Component from the menu options.
- Match the Destination location of the new component to the location of the registry data.
- If the Destination property is set to a per-machine location and a key has been created under the HKEY_CURRENT_USER hive, change the Destination property to a per-user location.
- If the Destination property is set to a per-user location and a key has been created under the HKEY_LOCAL_MACHINE hive, change the Destination property to a per-machine location.
- In the case of HKEY_USER_SELECTABLE, change the Destination property to a per-machine location.
- If the Destination property is set to a per-machine location and a key has been created under the HKEY_CURRENT_USER hive, change the Destination property to a per-user location.
- Expand the old component and go to its Registry Data section and note all the keys and values listed under the HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE, or HKEY_USER_SELECTABLE hive.
- Delete the keys listed under the appropriate hive by right-clicking the key and choosing Delete.
- Open to the Registry Data section of the new component and do one of the following:
- If your Destination property is set to a per-user location, in the new component's HKEY_CURRENT_USER hive, recreate all the keys deleted from the old component's HKEY_CURRENT_USER hive.
- If your Destination property is set to a per-machine location, in the new component's HKEY_LOCAL_MACHINE or HKEY_USER_SELECTABLE hive, recreate all the keys deleted from the old component's HKEY_LOCAL_MACHINE or HKEY_USER_SELECTABLE hive.
- If your Destination property is set to a per-user location, in the new component's HKEY_CURRENT_USER hive, recreate all the keys deleted from the old component's HKEY_CURRENT_USER hive.
Additional Information
More information can be found on dynamic file linking in the InstallShield Help Library topic Dynamic File Linking.
Per-user data is installed to areas of the system that will be accessed only by the current user. For a list of per-user folders, see the Windows Installer Help Library topic Per-User Installations.
Per-machine data is installed to areas of the system that will be accessed by all users. For a list of per-machine folders see the Windows Installer Help Library topic Per-Machine Installations.
ICE57 is documented in the Windows Installer Help Library topic ICE57.
Related KB Articles
Complete Listing Of Pre-Defined Folders Used By MSIRelated Articles
Discovery - SSH Validation Error 5Number of Views ICE03 Validation Error 11Number of Views Troubleshoot Windows validation error: NTSTATUS 0x8004100c 35Number of Views Validation Error ICE38 3Number of Views Validation Error ICE43 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