Few Questions
Questions:
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
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
suchi.jigar
13 years ago
Hi,
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:
http://msdn.microsoft.com/en-us/library/aa368961(VS.85).aspx
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:
http://msdn.microsoft.com/en-us/library/aa368961(VS.85).aspx
Posted by:
michaelnowell
13 years ago
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.
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.

so that the conversation will remain readable.