Why hkcu reg is set as a keypath not a user file?

Why REINSTALL & REINSTALLMODE are used in conjunction?

How to remove an advertised application?
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


if you are not setting hkcu as a key-path then, you will get ICE38 validation error:

ICE38 error: Component1 installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file.

Description: The value of the attributes column of Component1 is 0, meaning that the component must use a file as its KeyPath. This causes difficulties when multiple users install the component on the same computer. To fix this error on Component1, set the RegistryKeyPath bit in the Attributes column of the Component table and change the entry in the KeyPath column to a value listed in the Registry column of the Registry table.

for more information:
Answered 08/07/2009 by: suchi.jigar
Purple Belt

Please log in to comment
1. If you have a component that contains both user files/user registry keys and one of the files is set as the keypath, then sealf healing/active setup will not work for the contents of that component. You have to set a reg key as the keypath for it to work.

2. REINSTALL is used to tell Windows Installer to which features to reinstall on the PC. REINSTALLMODE is used to tell Windows Installer how you want the reinstall to work, e.g. HKCU reg keys, HKLM reg keys, overwrite all files, overwrite missing files....etc. I'm sure that you get the point.
Answered 08/07/2009 by: michaelnowell
Second Degree Blue Belt

Please log in to comment