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?
- Open MSI/MST with Master Packager
- Click on Custom Actions in left menu
- Click on Edit pencil for Custom Actions view
- Click on Predefined Actions tab
- Click “Add Predefined Action” and choose “Remove HKCU registries from all users”
- 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"