Hello, All.

I have package that has entries in HKEY_USER_SELECTABLE. Is this the same with HKCU/HKU registries? 

Is there any best practice for this when deploying the application in System Context? 

What should I do to this HKEY_USER_SELECTABLE? 



0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity



From http://kb.flexerasoftware.com/doc/Helpnet/installshield12helplib/IHelpRegHK_USER_SELECTABLE.htm

When you select HKEY_USER_SELECTABLE in the Registry view, the entries are created under the appropriate registry hive, according to the type of installation and the user's access rights. In a per-user installation, which means that the ALLUSERS property is set to 2 or that the installation is being run by someone with user-level access privileges, these entries would be made under HKEY_CURRENT_USER. In a per-machine installation, which means that ALLUSERS is not null and that the user is an administrator, the entries would be written under HKEY_LOCAL_MACHINE.

Answered 04/03/2013 by: andemats
Second Degree Black Belt

  • Just to confirm my understanding.

    Sample hive: HKEY_USER_SELECTABLE\Software\Microsoft\VendorName\AppName\Key.

    If my package has a property of ALLUSERS = 1 and it will be installed through system context then the HKEY_USER_SELECTABLE\Software\Microsoft\VendorName\AppName\Key will install in HKLM\Software\Microsoft\VendorName\AppName\Key?

    Is it correct?
    • Yes, that would be correct.
  • Therefore if the vendor msi has HKEY_USER_SELECTABLE\Software\Microsoft\VendorName\AppName\Key is it okay to move this registry to HKLM directly though I set the ALLUSERS=1?
Please log in to comment