When you trying to install or uninstall a program on Windows, you may receive the following errors:
For example:
The installer encountered an unexpected error while installing this package. This could indicate a problem with this package. Error code 2503.
The installer encountered an unexpected error while installing this package. This could indicate a problem with this package. Error code 2502.
RunScript is called.
InstallFinalize is called.
Errors were detected with the installation of Microsoft Games For Windows Live (GfWL), XSplit Broadcaster, VirtualBOX, ESET Smart security, but other programs are being installed
In order to uninstall a program with this problem, you need to identify the MSI file that it uses.
Press Windows key + R and the “Run” window will open.
Enter C:\Windows\Installer and click “ОК”.
Right-click View -> Details.
The tile has displayed columns. Right-click anywhere in the column pane and click “Details”
Find “subject” in the list. Click OK.
lick on a subject to sort everything alphabetically. You must determine which file is correct.
Open a command prompt as administrator.
Enter C:\Windows\Installer\ followed by the file name of the program you want to uninstall and “.msi”. For example, file 54c55 will type like this: C:\Windows\Installer\54c55.msi
Removing programs will successfully complete its task. You can close the command prompt window
Errors 2502 and 2503 can also be resolved by adding full privileges to the Everyone group on the C: \ Windows \ TEMP folder.
There is another solution if this did not help for Windows 10:
Follow the path C:\Windows
Find the TEMP folder, right-click and select “Properties”
TEMP window will open: The Properties, select the “Security” tab
By default, there is no Everyone group in the “Groups and users” list, you need to add it for this error to disappear.
Click “Change”
The Permissions window for the TEMP group will open, click on the “Add” button
The Select: Users or Groups window will open, click on the “Advanced” … button.
Click on the “Search” button and in the search results look for the “All” item in the table, select it, click “OK”
The “All” group has been added to the list of the “Permissions” for the TEMP group window, select “All” and below Permissions for the “Everyone” group, select the Full access checkboxes, all checkboxes from the list will become active
One of the commenters on this post was unable to solve in any of the above ways. In his case, it was necessary to reset Windows 10 (“Reset the computer to its original state”)
Плагин рейтинга создан автором этого блога. Буду очень признателен, если вы сможете его поддержать (ссылка)
p.s. Если статья была полезной и вас переполняет чувство благодарности, можете поддержать меня долларом на патреоне
Romuald Shmidtelson
Web Developer. I have expirience in FrontEnd, Backend, Devops.
PHP, Python, Javascript (Vue.js, React.js)