Remove HKCU registries from all users

About

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

When you use it?

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

For application packagers usually it is needed when it is required to remove some specific per-user registry configuration.

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 Predefined Action” and choose “Remove HKCU registries from 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"