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.
- Write down the action name (Action) and the location text shown in the error window exactly.
- 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.
- 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?
Custom actions often run on .NET Framework or the Visual C++ runtime. If those components are missing or the Windows Installer service is blocked, the action fails as soon as it starts.
- Install the .NET Framework and Visual C++ Redistributable listed in the publisher's system requirements from Microsoft's official pages. Turn on .NET Framework 3.5 in WinR → optionalfeatures.
- In WinR →
services.msc, check that the Windows Installer service's startup type is not Disabled. The default is Manual.
What to check
After installing the components, try again and see whether the configuration stage completes. If not, change the installer and run environment in the next step.
Did this step fix it?
A corrupted download or an old package can make custom actions fail on current Windows. Security software sometimes blocks helper programs that run during setup.
- Download a fresh installer from the publisher's official site and save it to a local folder on drive C.
- Install with right-click → Run as administrator, and check Windows Security protection history for anything blocked during setup.
What to check
Once setup completes, check that the service or program registered properly. If the same action keeps failing, send the verbose log, action name, and OS version to the publisher.
Did this step fix it?
Frequently asked questions
Related PC FIX problems
Official references
Content reviewed: 2026-10-07