Error 15634 - ERROR_INSTALL_OPTIONAL_PACKAGE_REQUIRES_MAIN_PACKAGE
A main app package is required to install this optional package. Install the main package first and try again.
Symptoms
- A main app package is required to install this optional package. Install the main package first and try again.
- System error 15634 (ERROR_INSTALL_OPTIONAL_PACKAGE_REQUIRES_MAIN_PACKAGE)
Troubleshooting steps
- Note the exact error 15634 (ERROR_INSTALL_OPTIONAL_PACKAGE_REQUIRES_MAIN_PACKAGE) and which operation failed.
- Check the Windows Event Viewer and the relevant application/service logs for related entries.
- Apply the fix documented by Microsoft for error ERROR_INSTALL_OPTIONAL_PACKAGE_REQUIRES_MAIN_PACKAGE (see the reference URL).
- Retry the operation after applying the fix and confirm the error no longer appears.
Reference: learn.microsoft.com