Компьютерный форум
Операционные системы
Windows 10
Не устанавливается файл с расширением .msi
|
|
Модератор форума: Barmenchik, Drinko, V-Efremov, sander23, MedMeks |
Компьютерный форум » Операционные системы » Windows 10 » Не устанавливается файл с расширением .msi (Не устанавливается файл с расширением .msi) |
Не устанавливается файл с расширением .msi |
|||||
|
|||||
|
|||||
|
|||||
|
|
||
|
||
Поиск: |
В связи с введением в действие Постановления Правительства Российской Федерации от 14.11.2023 № 1905 т.н. «о запрете популяризации VPN» с 1 марта 2024 года — любое обсуждение способов обхода блокировок и VPN на портале запрещено!
Windows 11 |
|
Windows 10 |
|
Windows 8.1 |
|
Популярное |
|
Опрос |
Нравятся ли вам изменения произошедшие в Windows 10? Да Нет Серьезных изменений не увидел Результаты · Архив опросов Всего ответов: 8525 |
Do you encounter Error Code 0x80070643 along with a warning message Failed to Install MSI Package in Windows 10 PC? If yes, then don’t worry as this article provides a decent range of solutions to fix this issue. Microsoft releases system updates to rectify the already present bugs and problems on your current operating system. If connected to the internet, Windows 10 based device automatically looks for updates to make the system more efficient and smoother as well.
Failed to Install MSI Package in Windows 10 is one of the more frequent error messages as compared to its previous versions. In general, this problem pops up while performing KB3106246, KB2267602 installation. Update or its installation often fails with the presence of stop code 0x80070643. This is associated with MSI software update registration, MS 2003 Components moreover .NET Framework. It mostly occurs if any of them is corrupted or if the system files get damaged somehow. In such scenarios, Windows update fails to access certain user data and thus leading to this issue on your PC. Here in this article, we will discuss several promising solutions such as Configuring .NET Framework, repairing Windows Updates Components, checking and system files to fix this bug entirely.
Error Code 0x80070643 Failed to Install MSI Package in Windows 10 Solutions
Here is how to fix Error Code 0x80070643 Failed to Install MSI Package in Windows 10 –
Repair or Update Windows .NET Framework
The outdated or corrupt file might be responsible for occurring of Error Code 0x80070643. Therefore you must update all of them. The “.Net Framework” is an application for software installation or system update. Now, if .NET Framework is active on your device, always make an attempt to keep it up to date. Therefore, the most feasible way to get rid of Error Code 0x80070643 Failed to Install MSI Package in Windows 10 is to either update or troubleshoot .NET Framework.
Downloading the .Net Framework Repair Tool from Microsoft and running it in your PC may resolve this trouble.
Manually Repair .NET Framework
If the above solution doesn’t work efficiently on your PC, try to manually repair this tool by going through these easy series of steps.
At first, click on the Cortana box and type Control Panel. Hit on the result to open Control Panel.
Make the icons into smaller view and then choose Programs and Features.
Move to the right pane and right-click Microsoft .NET Framework 4 Client Profile from the visible list of programs. Now, hit the Change option.
Mark the first option from pop-up window namely Repair .NET Framework 4 Client Profile and click the Next button.
Now go through the onscreen instructions and wait for a few seconds to repair this tool.
Note: If you cannot locate the “Microsoft .NET Framework 4 Client Profile” then download as well as install it to bypass the error.
Check Office Source Engine Service
If you occupy MS Office 2003, you may need to every now and then install its components. So, if you are confronting Error Code 0x80070643 including Failed to Install MSI Package in Windows 10, ose.exe file of Office 2003 might be the culprit. In that case, you need to restart Office Source Engine (OSE) to solve the problem.
Access Run dialog box and type services.msc on the available space. Click OK to open Services.
On the console, locate and double-click the service namely Office Source Engine (see snapshot).
Click the Startup type drop-down and pick Manual. Click OK to save the changes of the service and check for the error code.
Use Windows Update Troubleshooter
Windows 10 has yet another useful inbuilt troubleshooter to resolve the common issues that occur. After running, it will make an attempt to solve this problem automatically and let your system run error free.
Open Windows Settings program by jointly hitting Win + I shortcut keys. From the main interface, click the Update & security category, the last one.
On the left sidebar, choose the Troubleshoot option.
Now, jump to the right pane, locate Windows Update. Select it and click Run the troubleshooter button from the detail pane.
When the wizard will come, it will start detecting the issues related to Windows Update. Follow the on-screen instructions to choose the problematic area and wait for some time until it tries to fix.
Finally, check whether this resolves the Error Code 0x80070643 Failed to Install MSI Package in Windows 10.
Restart Windows Update Components
There is a possibility that several Windows Update components are basically the reason behind the occurrence of ‘Failed to Install MSI Package in Windows 10’ Error message. You need to restart these components and the security center of your system to fix the issue. You should first stop all these services and rename the SoftwareDistribution and cartoon2 folder, then start these components again.
Open Run dialog box by hitting “Win + R” shortcut keys altogether. Here, type CMD in the blank text field of Run. Now, to access it with admin rights, jointly press “Ctrl + Shift + Enter” hotkeys.
See our article on How to Open Command Prompt as Admin From Run Dialog in Windows 10.
If UAC prompts up on the computer screen, go ahead with the Yes option. Type the given below commands to stop these services and hit Enter after each command.
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
net stop wscsvc
Rename SoftwareDistribution and catroot2 folders just by running the underneath commands.
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32catroot2 Catroot2.old
If you are not comfortable with Command Prompt you should access ‘File Explorer‘, navigate to this path and right click on it.
C:\Windows\SoftwareDistribution
Here, perform a right-click on it, select Rename option. Change it as SoftwareDistribution.old.
Repeat these steps for the catroot2 folder as well.
Once the renaming process is completed start again those services. Just type or copy/paste the below-given commands and hit Enter at the last of each.
net start wuauserv
net start cryptSvc
net start bits
net start wscsvc
Once you successfully execute the above commands, restart Windows 10 PC. Hopefully, after going through this workaround, the system will no more encounter issues like Error code 0x80070643.
Perform Windows Update
For many, performing Windows Update helped in resolving Error Code 0x80070643.
Click the Start icon on the left of the taskbar and select Settings. Choose Update & Security tab on the homepage of the application.
On the right-hand side of Windows Update, make a click on the Check for updates button.
If they are available, grab and install them right away.
Check and Repair System Files
SFC /Scannow and DISM.exe are impactful commands that use to detect moreover repair corrupted Windows system files. In multiple cases, when internal Windows error occurs on your device, Windows updates will just stop functioning and display failure messages with various stop codes. Just execute these commands on elevated Command Prompt and you are done.
Open the taskbar search box and type cmd. Command Prompt icon will appear as the Best match. Right click on its icon and select ‘Run as Administrator‘ option from the context menu.
When this prompts up UAC dialog on your display screen, hit Yes.
Now type sfc /scannow and press Enter. This will take some time to search corrupt files present on your PC. You have to be patient and wait till the built-in tool repairs the faulty system files automatically.
Proceeding forward, execute this given list of DISM commands to bypass Error Code 0x80070643 Failed to Install MSI Package in Windows 10.
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
For reference, see SFC /Scannow, DISM.Exe, CHKDSK Windows 10.
Uninstall Antivirus Completely
Most of the time, the presence of third-party antivirus solutions can also lead to the Error Code 0x80070643. Their installation or configuration method may interrupt certain areas of your system which results in this specific issue.
Perform a right-click on Start icon and from the WinX menu, choose Apps and Features option.
Apps Settings page will appear. Switch to the right pane and select the 3rd party antivirus from the list of installed applications. Finally, make a hit on the “Uninstall” button and remove the software from your PC.
However, the remnants of the program may also cause issues on your system. So, you can Use Revo Uninstaller On Windows 10 to Force Uninstall Stubborn Programs.
Wrapping Up
The above-mentioned are the best workarounds to bypass Error Code 0x80070643 Failed to Install MSI Package in Windows 10.
Распределенное обучение с TensorFlow и Python
AI_Generated 05.05.2025
В машинном обучении размер имеет значение. С ростом сложности моделей и объема данных одиночный процессор или даже мощная видеокарта уже не справляются с задачей обучения за разумное время. Когда. . .
CRUD API на C# и GraphQL
stackOverflow 05.05.2025
В бэкенд-разработке постоянно возникают новые технологии, призванные решить актуальные проблемы и упростить жизнь программистам. Одной из таких технологий стал GraphQL — язык запросов для API,. . .
Распознавание голоса и речи на C#
UnmanagedCoder 05.05.2025
Интеграция голосового управления в приложения на C# стала намного доступнее благодаря развитию специализированных библиотек и API. При этом многие разработчики до сих пор считают голосовое управление. . .
Реализация своих итераторов в C++
NullReferenced 05.05.2025
Итераторы в C++ — это абстракция, которая связывает весь экосистему Стандартной Библиотеки Шаблонов (STL) в единое целое, позволяя алгоритмам работать с разнородными структурами данных без знания их. . .
Разработка собственного фреймворка для тестирования в C#
UnmanagedCoder 04.05.2025
C# довольно богат готовыми решениями – NUnit, xUnit, MSTest уже давно стали своеобразными динозаврами индустрии. Однако, как и любой динозавр, они не всегда могут протиснуться в узкие коридоры. . .
Распределенная трассировка в Java с помощью OpenTelemetry
Javaican 04.05.2025
Микросервисная архитектура стала краеугольным камнем современной разработки, но вместе с ней пришла и головная боль, знакомая многим — отслеживание прохождения запросов через лабиринт взаимосвязанных. . .
Шаблоны обнаружения сервисов в Kubernetes
Mr. Docker 04.05.2025
Современные Kubernetes-инфраструктуры сталкиваются с серьёзными вызовами. Развертывание в нескольких регионах и облаках одновременно, необходимость обеспечения низкой задержки для глобально. . .
Создаем SPA на C# и Blazor
stackOverflow 04.05.2025
Мир веб-разработки за последние десять лет претерпел коллосальные изменения. Переход от традиционных многостраничных сайтов к одностраничным приложениям (Single Page Applications, SPA) — это. . .
Реализация шаблонов проектирования GoF на C++
NullReferenced 04.05.2025
«Банда четырёх» (Gang of Four или GoF) — Эрих Гамма, Ричард Хелм, Ральф Джонсон и Джон Влиссидес — в 1994 году сформировали канон шаблонов, который выдержал проверку временем. И хотя C++ претерпел. . .
C# и сети: Сокеты, gRPC и SignalR
UnmanagedCoder 04.05.2025
Сетевые технологии не стоят на месте, а вместе с ними эволюционируют и инструменты разработки. В . NET появилось множество решений — от низкоуровневых сокетов, позволяющих управлять каждым байтом. . .
Windows Installer is a core service that manages the installation of everything in Windows, including apps, features, and many other things. If it breaks, you will be stuck with new installations and even app upgrades.
In this post, we will share a list of error codes and their solutions, some pointing to our existing solution, and how to solve them.
1] Run Program Install & Uninstall Troubleshooter
The first thing we would suggest is to run the Program Install and Uninstall Troubleshooter to repair issues that block program installation or removal because of corrupted registry keys. This program will fix corrupted registry keys on 64-bit operating systems, which control the update data, problems that prevent existing programs from being completely uninstalled or updated, and problems that block you from uninstalling a program through Add or Remove Programs (or Programs and Features) in Control Panel
2] Start the Windows Installer Service
In the Run prompt, type MSIExec, and then press Enter.
If you get the Windows Installer window which tells you everything about MSIExec, then it’s all good.
If you get an error, you might have to start it manually.
Right-click on the taskbar, and select Task Manager. Switch to Services, and look for msiserver. Start it.
You can also run services.msc to open Windows Services and go to Windows Installer, and restart it.
3] Windows Installer Service could not be accessed
You may see the message Windows Installer Service could not be accessed. This usually happens if the Windows Installer Engine is corrupted, installed incorrectly, or disabled. You will need to fix either the corruption or fix the configuration or enable it. The linked post also solves the issue where the Windows Installer service could not start, and gives the message as Error 5, Access is denied.
4] There is a problem with this Windows Installer package
If the Windows Installer package faces unstable network access during the uninstallation or installation process, sometimes, the error might appear if you fail to complete the process successfully. The error message might go like “There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor.”
5] Windows Installer keeps popping up
Usually, the Windows Installer or msiexec.exe runs in the background. You can check in the Task Manager under the list of processes that are running. However, if you see it constantly running, and the Windows Installer keeps popping up, it means it is stuck. It is possible that an installation is not able to complete, and this happens as a result.
Read: Windows Installer Service missing.
6] Installation Package could not be opened
If you are not able to install software that you just downloaded from the internet, and it keeps throwing the error message “Installation Package could not be opened“, then it’s probably a security issue. Windows many a time blocks applications you download from the internet as it does not trust them. You may have to unblock it or disable your antivirus to fix it.
7] Re-register Windows Installer service
If nothing works, the best option in our experience is to re-register the Windows Installer service. The reason why it works great because it fixes registry issues as well, and gets the basic settings ready again.
Launch the command prompt with admin privileges. Type the following commands and hit Enter after each one.
%windir%\system32\msiexec.exe /unregister %windir%\system32\msiexec.exe /regserver %windir%\syswow64\msiexec.exe /unregister %windir%\syswow64\msiexec.exe /regserver
Close the command prompt, save all your work, and restart your computer.
Check if you are facing Windows Installer issues.
Windows OS maintains a Windows Installer cache. Any files you install are temporarily extracted here and then installed on the PC. If you are deleting files from here manually or during installation or any other program is doing that, you will get an error.
How to check Windows Installer version?
To check the version of Windows Installer on your computer, open the Run box, type msiexec -?
and hit Enter. You will see the version mentioned at the top.
How do I fix a corrupted Windows installer?
Since the Windows Installer is a system file, the best way to repair or fix a corrupted Windows Installer is by running the built-in System File Checker. Alternatively, you could search for the latest version of Windows Installer file on the Microsoft.com website and download it from there,
Useful link: How to enable Windows Installer logging.
При попытке установить программу с помощью установочного MSI пакета на рабочей станции (права локального администратора имеются) возникает ошибка «Данная установка запрещена политикой, заданной системным администратором». Пытался запускать другие MSI файлы, они также не устанавливаются. Что делать?
Ответ
Сообщение Данная установка запрещена политикой, заданной системным администратором (The system administrator has set policies to prevent this installation) при установке (обновлении) программ из MSI пакетов или exe-инсталляторов указывает на то, что на компьютере включены политики, ограничивающие установку программ.
Если ваш пользователь обладает правами локального администратора, то вместо модификации локальных политик безопасности предлагаем простое обходное решение.
- Если это установщик, упакованный в EXE, щелкните по нему и выберите Запуск от имени администратора.
- Если это MSI пакет, откройте командную строку с правами администратора и запустите установку командой:
msiexec.exe /i C:\Install\MyApp-Installer.msi
Если программа не устанавливается даже с повышенными привилегиями, проверьте настройки групповых политик на компьютере. Можно получить настройки результирующих GPO на компьютере с помощью графической оснастки
rsop.msc
или с помощью команды gpresult. Проверьте, есть ли настроенные параметры политик в разделе Конфигурация компьютера -> Административные шаблоны -> Компоненты Windows -> Установщик Windows (Computer Configuration -> Administrative Templates -> Windows Components -> Windows Installer). Параметры GPO, которые могут отграничивать права установки программ через службу
msiserver
:
- Отключение установщика Windows (Turn off Windows Installer)
- Запретить пользователям, не являющимися администраторами, устанавливать обновления, подписанные изготовителем программы (Prohibit non-administrators from applying vendor signed updates)
- Запретить пользователям устанавливать обновления через Windows Installer (Prevent users from using to install updates and upgrades)
Если хотя бы одна из политик настроена, откройте редактор локальной GPO (
gpedit.msc
), перейдите в указанную выше ветку GPO, и измените настройку политики:
- Turn off Windows Installer:
Enabled
со значением
Never
- Prohibit non-administrators from applying vendor signed update:
Disabled
- Prevent users from using to install updates and upgrades:
Disabled
Политика позволяет запретить или разрешить пользователям (без прав администратора) выполнять обновление уже установленной программ (по умолчанию политика отключена). Если установленная программа запущена в привилегированном режиме (с правами SYSTEM), дополнительно нужно включить параметр GPO:
- Allow user to patch elevated products:
Enabled
После внесения изменений, примените настройки локальной GPO, выполнив команду:
gpupdate /force
Если на компьютере отсутствует редактор локальной GPO (например, в случае Home редакции Windows), или ограничивающие настройки применены непосредсвенно через реестр, нужно отредактировать значения в реестре. Перейдите в ветку
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer
и измените значение параметров следующим образом:
DisableMSI = 0 DisablePatch = 0 DisableLUAPatching=0 AllowLockdownPatch=1
Если параметры отсутствуют, можно создать их вручную.
Обратите внимание, что в Windows Server, в отличии от дестопных версий Windows, значение политики
Turn off Windows Installer
по умолчанию For managed application only. Поэтому в Windows Server под пользователем нельзя обновить установленное приложение.
В частности, это вызывает ошибку при обновлении компонентов 1C под пользователем, не являющимся локальным администратором:
Установка запрещена на основании системной политики. Обратитесь к системному администратору.
Чтобы разрешить установку обновлений 1С под пользователем, нужно отключить политику. Либо выполнять обновлений с правами администратора.
Также ограничения на установку программ (запуск определённых типов файлов) может быть внедрены с помощью политик ограниченного использования программ ( Software Restriction Policies) или AppLocker. Проверьте результирующие настройки политик в разделах:
- Computer Configuration -> Windows Settings -> Security Settings -> Software Restriction Policies
- Computer Configuration -> Windows Settings -> Security Settings -> Application Control Policies -> Applocker
Если ошибка возникает при установке или обновлении браузера Google Chrome под пользователем, сбросьте настройки политик браузера, удалив ветку
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\
.
Подробнее о сбросе локальных политик в Windows.