/build/static/layout/Breadcrumb_cap_w.png

What is the meaning of HKEY_USER_SELECTABLE?

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? 

 

Thanks.


0 Comments   [ + ] Show comments

Answers (1)

Posted by: andemats 11 years ago
2nd Degree Black Belt
0

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.


Comments:
  • 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? - ajcbasilio 11 years ago
    • Yes, that would be correct. - andemats 11 years ago
  • 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? - ajcbasilio 11 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ