Skip to main content

Delete from User Profile

Use this predefined action to delete a file or folder from every existing user profile during a SYSTEM-context installation.

You can also remove the same item from the default user profile so new users do not receive it later.

Master Packager Advanced Editor - Predefined Custom Actions - Delete from User Profile

When to Use It

Use this action when you need to remove per-user files, folders, shortcuts, or application data from all users while the MSI runs under SYSTEM.

Fields

FieldDescription
Target pathSpecifies the per-user file or folder to delete.
Include default profileRemoves the item from the default profile so new users do not receive it.

Steps

  1. Open the MSI or MST in Master Packager.
  2. In the left pane, select Custom Actions.
  3. Open the Predefined Actions tab.
  4. Click Add Predefined Action and select Delete from User Profile.
  5. Set Target path to the per-user file or folder that should be deleted.
  6. Enable Include default profile if the item should also be removed from the default profile.
tip

The selected file or folder is deleted for all users on the target machine.