NanoTech-kw · Tech Guide Library

Error 15640 - ERROR_INSTALL_OPTIONAL_PACKAGE_REQUIRES_MAIN_PACKAGE_FULLTRUST_CAPABILITY

Windows · 15640

An optional package with a FullTrust entry point requires the main package to have the runFullTrust capability.

Symptoms

Troubleshooting steps

  1. Note the exact error 15640 (ERROR_INSTALL_OPTIONAL_PACKAGE_REQUIRES_MAIN_PACKAGE_FULLTRUST_CAPABILITY) and which operation failed.
  2. Check the Windows Event Viewer and the relevant application/service logs for related entries.
  3. Apply the fix documented by Microsoft for error ERROR_INSTALL_OPTIONAL_PACKAGE_REQUIRES_MAIN_PACKAGE_FULLTRUST_CAPABILITY (see the reference URL).
  4. Retry the operation after applying the fix and confirm the error no longer appears.

Reference: learn.microsoft.com

Open in the NanoTech-kw library →