Apply HKCU registries to all users

About

This is custom created predefined action by Master Packager team that applies specific HKEY_CURRENT_USER registries to all users during SYSTEM context installation.

When you use it?

When it is needed to apply per-user HKEY_CURRENT_USER (HKCU) registries to all users while MSI is installed under SYSTEM context.

For application packagers usually it is needed when application configuration is stored in HKCU registries.

How to use it?

  1. Open MSI/MST with Master Packager
  2. Click on Custom Actions in left menu
  3. Click on Edit pencil for Custom Actions view
  4. Click on Predefined Actions tab
  5. Click “Add New Predefined Action” and choose “Apply HKCU registries to all users”
  6. Click Browse HKCU .reg file or click edit

Format must be following:

Windows Registry Editor Version 5.00 
[HKEY_CURRENT_USER\Software\SomeKey] 
"SomeValue"="1"