How To Fix Error Code 2503 The Installer Has Encountered Error Installing This Package

Опубликовано: 10 Октябрь 2024
на канале: Amorani
423
4

facebook :   / hammomione  
youtube:    / makarmache  
Fix Error 2502 and 2503 while installing or uninstalling
Help Center
Fix Error 2502 and 2503 while installing or uninstalling
Help Center
7 months ago Updated
While installing or uninstalling Foxit PDF Editor (PhantomPDF), you might encounter the one of the following error messages:

The Installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code 2503.

The Installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code 2502.



This error is mostly due to permissions issue with the Temp folder of Windows which can be usually found in C:\Windows\Temp. While the issue is not limited to permissions issue as sometimes virus or malware, incorrect registry, corrupt Windows Installer, incompatible 3rd party programs etc can also cause the error 2502/2503. To Fix this error, please refer to the below-listed troubleshooting solutions.

Note: Make sure to create a restore point (http://www.intowindows.com/how-to-cre...) before you try the following solutions just in case something goes wrong.

Method 1: Re-register Windows Installer

Method 2: Run CCleaner and Malwarebytes

Method 3: Install/Uninstall Foxit PDF Editor (PhantomPDF) with Admin rights using Command Prompt

Method 4: Run Explorer.exe with administrative privileges

Method 5: Set correct permissions for Windows Installer Folder

Method 6: Set Correct Permissions for Temp Folder



Method 1: Re-register Windows Installer

1. Press Windows Key + R then type the following in the run dialog box and press Enter key on keyboard: msiexec /unreg



2. Open the run dialog box again and type msiexec /regserver and hit Enter.



3. This would re-register the Windows Installer. Reboot your PC to save changes.

#How_To_Fix_Error_Code_2503 _The_Installer_Has_Encountered_Error_Installing_This_Package

Method 2: Run CCleaner and Malwarebytes

Perform a Full antivirus scan to make sure your computer is secure. In addition to this run CCleaner and Malwarebytes Anti-malware.

1. Download and install CCleaner & Malwarebytes.

2. Run Malwarebytes and let it scan your system for harmful files.

3. If malware is found it will automatically remove them.

4. Now run CCleaner and in the “Cleaner” section, under the Windows tab, we suggest checking the following selections to be cleaned:


5. Once you’ve made certain the proper points are checked, simply click Run Cleaner, and let CCleaner run its course.

6. To clean your system further select the Registry tab and ensure the following are checked:


7. Select Scan for Issue and allow CCleaner to scan, then click Fix Selected Issues.

8. When CCleaner asks “Do you want backup changes to the registry?” select Yes.

9. Once your backup has completed, select Fix All Selected Issues.

10. Restart your PC to save changes and this should Fix Error 2502 and 2503 while installing or uninstalling a program.




12. Click “Select a principal” and select your account.



13. Set permissions to “Full control” and Click OK.



14. Repeat the above steps for the built-in Administrators group.

15. Reboot your PC to save changes.