The installer error code 1321 in QuickBooks manifests itself most frequently when the installer is unable to generate a specific report or a deficiency in the user's permissions or another issue connected to permissions. When this happens, the user should update the permission for the QuickBooks or the error message resources, whichever is applicable.
You will be able to troubleshoot and repair the QuickBooks error code 1321 without any difficulty if you follow the instructions that are outlined in this blog post.
Solutions to fix the QuickBooks error code 1312
SOLUTION 1: Try downloading and installing the update once more
SOLUTION 2: Use the QuickBooks install diagnostic tool
SOLUTION 3: Alter the permissions for Windows
SOLUTION 4: Create a new user account
SOLUTION 5: Disable your antivirus, reinstall it or bring it up to date