Error 1722 A program run as part of the setup failed

A program or custom action executed by the installation package failed.

First, check that this guide matches your problem

When it happens

Rollback occurs during service registration or configuration steps later in the installation.

Common causes

  • Custom action error
  • Missing required component
  • Invalid installation package

Step-by-step fixes

3 steps, 35 min–1 hr 10 min in total. The easiest checks come first, so stop as soon as the problem is fixed.

1722 means a program the install package ran (a custom action) failed. The components or steps you need depend on which action failed.

  1. Write down the action name (Action) and the location text shown in the error window exactly.
  2. For an .msi, create a verbose log with msiexec /i "package.msi" /l*v "%TEMP%\setup1722.log", then search the log for that action name and Return value 3.
  3. If the action name contains words such as .NET, VC, SQL, or Service, it most likely needs that component.

What to check

If the action name points to a needed component, install it in the next step. If the name is unclear, keep the log file and send it to the publisher.

Did this step fix it?

Frequently asked questions

Related PC FIX problems

Official references

Content reviewed: 2026-10-07