Hi,
Please note that
HKEY_USERS contains multiple keys, based on the user which is currently logged on. The
DEFAULT key stores the profile used when no users are logged on to the computer. Therefore, if you write information in this key, it will not be accessible to the user you are creating.
Note that the HKEY_USERS hive also contains a key for the Security Identifier of the current user. Therefore, you can use it to write information for the user which runs the installation. Unfortunately Windows Installer cannot write information in the registry hive of another user. Therefore, I'm not sure if you can write information in the HKEY_USERS hive in order to be used by another user account.
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging