Master PackagerMaster Packager DEV

Add registry values from .reg file

Converts .reg files into PowerShell commands for easier registry deployment, automatically generating installation and removal code for PSAppDeployToolkit scripts.

This feature allows converting .reg files into PowerShell commands used in PSAppDeployToolkit scripts. It eliminates the need to manually write registry manipulation commands by automatically generating them based on the imported file.

Add registry values from .reg file - Script Builder in Master Wrapper

How it works

  1. Click Browse .reg and select a registry export file from your system.
  2. Master Wrapper will parse the .reg content and automatically convert it into Set-ADTRegistryKey commands for installation and Remove-ADTRegistryKey commands for uninstallation.
  3. If the registry keys are under HKCU, the tool will use Invoke-ADTAllUsersRegistryAction to ensure that the changes apply to all user profiles during a SYSTEM-level installation.

Generated code

  • Install code: Appears in the top code window and contains Set-ADTRegistryKey commands. This is meant to be copied into the Install or Repair section of the deployment script.
  • Uninstall code: Appears in the bottom code window with Remove-ADTRegistryKey commands. This should be added to the Uninstall section of your script to clean up registry keys if needed.