- Windows Installer
- Where applicable
- Developer audience
- Run-time requirements
- msiexec.exe Установщик Windows®
- Что такое файл пакета установщика Windows (MSI)
- Приложения Microsoft Store против приложений для настольных компьютеров
- Почему выгодно использовать установщик Windows
- Проблемы, связанные с установщиком Windows
- Не работает windows installer на windows 7
- Не работает Windows Installer на Windows 7
- Как восстановить Windows Installer
- Проверьте компьютер на вирусы
- Проверьте, какой тип запуска стоит у службы Windows Installer
- Стартует ли сама программа windows installer
- Возможно, повреждены файлы, необходимые для работы установщика Windows
Windows Installer
This documentation is intended for software developers who want to use Windows Installer to build installer packages for applications. If you’re looking for a redistributable for Windows Installer 4.5 and earlier, see this article. Note that there is no redistributable for Windows Installer 5.0. This version is included with the OS in Windows 7, Windows ServerВ 2008В R2, and later client and server releases (including Windows 10).
Microsoft Windows Installer is an installation and configuration service provided with Windows. The installer service enables customers to provide better corporate deployment and provides a standard format for component management. The installer also enables the advertisement of applications and features according to the operating system. For more information, see Platform Support of Advertisement.
This documentation describes Windows InstallerВ 5.0 and earlier versions. Not all the capabilities available in later Windows Installer versions are available in earlier versions. This documentation does not describe versions earlier than Windows InstallerВ 2.0. Installation packages and patches that are created for Windows InstallerВ 2.0 can still be installed by using Windows InstallerВ 3.0 and later.
Windows InstallerВ 3.0 and later, can install multiple patches with a single transaction that integrates installation progress, rollback, and reboots. The installer can apply patches in a specified order regardless of the order that the patches are provided to the system. Patching using Windows InstallerВ 3.0 only updates files affected by the patch and can be significantly faster than earlier installer versions. Patches installed with Windows Installer 3.0 or later can be uninstalled in any order to leave the state of the product the same as if the patch was never installed. Accounts with administrator privileges can use the API of Windows InstallerВ 3.0 and later to query and inventory product, feature, component, and patch information. The installer can be used to read, edit, and replace source lists for network, URL, and media sources. Administrators can enumerate across user and install contexts, and manage source lists from an external process.
Windows Installer 4.5 and later can install multiple installation packages using transaction processing. If all the packages in the transaction cannot be installed successfully, or if the user cancels the installation, the Windows Installer can roll back changes and restore the computer to its original state. The installer ensures that all the packages belonging to a multiple-package transaction are installed or none of the packages are installed.
Beginning with Windows Installer 5.0, a package can be authored to secure new accounts, Windows Services, files, folders, and registry keys. The package can specify a security descriptor that denies permissions, specifies inheritance of permissions from a parent resource, or specifies the permissions of a new account. For information, see Securing Resources. The Windows Installer 5.0 service can enumerate all components installed on the computer and obtain the key path for the component. For more information, see Enumerating Components. By Using Services Configuration, Windows Installer 5.0 packages can customize the services on a computer. Setup developers can use Windows Installer 5.0 and Single Package Authoring to develop single installation packages capable of installing an application in either the per-machine or per-user installation context.
Where applicable
Windows Installer enables the efficient installation and configuration of your products and applications running on Windows. The installer provides new capabilities to advertise features without installing them, to install products on demand, and to add user customizations.
Windows Installer 5.0 running on Windows ServerВ 2012 or WindowsВ 8 supports the installation of approved apps on WindowsВ RT. A Windows Installer package, patch, or transform that has not been signed by Microsoft cannot be installed on WindowsВ RT. The Template Summary property indicates the platform that is compatible with an installation database and in this case should include the value for WindowsВ RT.
Windows Installer is intended for the development of desktop style applications.
Developer audience
This documentation is intended for software developers who want to make applications that use Windows Installer. It provides general background information about installation packages and the installer service. It contains complete descriptions of the application programming interface and elements of the installer database. This documentation also contains supplemental information for developers who want to use a table editor or a package creation tool to make or maintain an installation.
Run-time requirements
Windows InstallerВ 5.0 is included with, Windows 7, Windows ServerВ 2008В R2, and later releases. There is no redistributable for Windows Installer 5.0.
Versions earlier than Windows Installer 5.0 were released with Windows ServerВ 2008, WindowsВ Vista, Windows ServerВ 2003, WindowsВ XP, and WindowsВ 2000. Windows Installer Redistributables are available for Windows Installer 4.5 and some earlier versions.
Windows InstallerВ 4.5 requires Windows ServerВ 2008, WindowsВ Vista, WindowsВ XP with Service PackВ 2 (SP2) and later, and Windows ServerВ 2003 with Service PackВ 1 (SP1) and later.
Windows InstallerВ 4.0 requires WindowsВ Vista or Windows ServerВ 2008. There is no redistributable for installing Windows InstallerВ 4.0 on other operating systems. An updated version of Windows InstallerВ 4.0, which does not add any new features, is available in WindowsВ Vista with Service PackВ 1 (SP1) and Windows ServerВ 2008.
Windows InstallerВ 3.1 requires Windows ServerВ 2003, WindowsВ XP, or WindowsВ 2000 with Service PackВ 3 (SP3).
Windows InstallerВ 3.0 requires Windows ServerВ 2003, WindowsВ XP, or WindowsВ 2000 with SP3. Windows InstallerВ 3.0 is included in WindowsВ XP with Service PackВ 2 (SP2). It is available as a redistributable for WindowsВ 2000 Server with Service PackВ 3 (SP3) and WindowsВ 2000 Server with Service PackВ 4 (SP4), WindowsВ XP RTM and WindowsВ XP with Service PackВ 1 (SP1), and Windows ServerВ 2003 RTM.
Windows InstallerВ 2.0 is contained in Windows ServerВ 2003 and WindowsВ XP.
Windows InstallerВ 2.0 is available as a package for installing or upgrading to Windows InstallerВ 2.0 on WindowsВ 2000. This package should not be used to install or upgrade Windows InstallerВ 2.0 on Windows ServerВ 2003 and WindowsВ XP.
msiexec.exe Установщик Windows®
Установщик Windows (msiexec.exe) облегчает процесс установки программного обеспечения в Windows 10 в соответствии с архитектурной основой операционной системы.
Крайне важно, чтобы процесс установки и настройки программы проходил гладко и без проблем. По этой причине разработчики, как правило, используют службу установщика Windows, чтобы облегчить пользователям установку программного обеспечения. Таким образом, поставщики минимизируют совокупную стоимость владения для своих клиентов.
Что такое файл пакета установщика Windows (MSI)
Информация об установке программного обеспечения объединена в так называемые установочные пакеты. Они содержат .msi файлы с:
● База данных и рекомендации по разработке установщика для приложений и служб.
● Преобразования, модификации и контроль версий
● API для удаленного доступа к установленным приложениям / программному обеспечению
Процесс Msiexec (расшифровывается как исполняемый файл установщика Microsoft) помогает устанавливать сторонние приложения, связанные в формате MSI. Когда пользователь дважды щелкает файл пакета .msi, служба установщика Windows (msiexec.exe) автоматически запускает процесс установки.
Приложения Microsoft Store против приложений для настольных компьютеров
В течение многих лет Microsoft поощряла поставщиков использовать установщик Windows в качестве основного помощника при установке. В целях безопасности многие пользователи в настоящее время предпочитают загружать приложения из Магазина Microsoft непроверенным установщикам, найденным на неизвестных веб-сайтах. Таким образом они гарантируют, что приложение, которое они устанавливают на свой компьютер, не являются вирусом и не принесут вреда их системе.
Почему выгодно использовать установщик Windows
Несмотря на то, что существуют другие способы установки приложений в Windows 10, третьи стороны часто используют службу установщика Windows и связывают информацию об установке с этой службой. Одна из причин — его функции не ограничиваются только установкой программ. Установщик Windows также может выполнять некоторые другие важные задачи. Например, поставщики программного обеспечения используют его для рекламы своих продуктов, при этом пользователям не нужно сначала устанавливать приложение. Также есть возможность устанавливать продукты по запросу, а также настраивать их функции.
Еще одной важной характеристикой установщика Windows является откат установки. Установщик Windows гарантирует, что в случае неудачной установки система вернется в свое состояние перед установкой. Это означает, что все файлы, которые были удалены и перезаписаны во время установки, будут восстановлены.
Проблемы, связанные с установщиком Windows
Пользователи могут столкнуться с различными проблемами при работе с установщиком Windows. Среди них «Cлужба установки Windows не может быть доступна» ошибка. Это довольно распространенная проблема, поэтому есть два возможных решения:
Способ 1. Запустите службу установщика Microsoft из диалогового окна «Выполнить»
- Откройте диалоговое окно «Выполнить» с помощью сочетания клавиш Windows + R на клавиатуре.
- Введите services.msc и нажмите кнопку ОК
- Найдите опцию Windows Installer в списке сервисов в окне Сервис
- Дважды щелкните службу установщика Windows. Откроется окно свойств установщика Windows.
- Проверьте, активен ли сервисный статус. Если он остановлен, нажмите кнопку «Пуск», а затем подтвердите изменение, нажав «ОК».
msiexec.exe Установщик Windows®
6. Перезагрузите компьютер, чтобы увидеть, устранена ли проблема
Способ 2 — переустановите установщик Windows
1.Нажмите Windows + R на клавиатуре, и появится диалоговое окно «Выполнить».
2. Введите cmd и подтвердите, нажав OK
3. Вставьте эти команды одну за другой:
● cd% windir% \ system32
● ren msi.dll msi.old
● ren msiexec.exe msiexec.old
● ren msihnd.dll msihnd.old
4. Введите команду выхода
Как только вы закончите с этим процессом, перезагрузите компьютер и установите последнюю версию установщика Windows (найдите ее на официальном сайте Microsoft). После этого перезагрузите компьютер снова.
Эти простые шаги помогут вам справиться с этой проблемой. Если это не решит проблему, возможно, вы захотите углубиться в тему на веб-сайте Microsoft или перейти на надежные технические форумы.
Не работает windows installer на windows 7
на локальный компьютер. Ошибка 2: Не удается найти указанный файл.
Для первоначальной диагностики, пожалуйста, опишите проблему как можно более детально. Ответьте на следующие вопросы:
- Попробуйте установить программу калькулятор плюс http://www.microsoft.com/downloads/ru-ru/details.aspx?FamilyID=32B0D059-B53A-4DC9-8265-DA47F157C091 и напишите результат.
- Напишите, какие действия Вы уже пытались проделать для решения этой проблемы?
Для дальнейшей диагностики, проверьте, какой тип запуска стоит у службы Windows Installer ( установщик Windows). Для этого откройте Панель управления — Администрирование – Службы. Найдите в центральной части службу Windows Installer ( установщик Windows). Нажмите по ней правой кнопкой мыши и выберите пункт контекстного меню Свойства. Посмотрите, какой установлен тип запуска. Поменяйте его на автоматический, перезагрузите компьютер и проверьте, повториться проблема или нет.
Если проблема повториться или тип запуска уже стоял автоматический, то, проверьте, стартует ли сама программа windows installer. Для этого нажмите Пуск – Выполнить – введите команду msiexec и нажмите enter. При этом должно открыться окно, в котором будет написана версия windows installer и доступные команды. Напишите, запустился ли этот файл? Возможно, поврежден файлы, необходимые для работы установщика Windows. Для проверки системных фалов на целостность откройте командную строку от имени администратора (нажмите Пуск – Все программы – Стандартные – правой кнопкой мыши по Командная строка – Запуск от имени администратора) и в командной строке выполните команду
Напишите результат проверки, перезагрузите компьютер и проверьте, повторяется ошибка или нет.
Если это не поможет, откройте командную строку от имени администратора и введи последовательно следующие команды, нажимая после каждой из них enter:
net stop msiserver
regsvr32 /u /s %windir%\System32\msi.dll
regsvr32 /u /s %windir%\System32\msihnd.dll
regsvr32 /u /s %windir%\System32\msisip.dll
regsvr32 /s %windir%\System32\msi.dll
regsvr32 /s %windir%\System32\msihnd.dll
regsvr32 /s %windir%\System32\msisip.dll
net start msiserver
Перезагрузите компьютер и проверьте работу Windows Installer.
Если проблема повторится , то сравните содержимое ветки реестра HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\msiserver с ней же на другом компьютере и, при необходимости, исправьте значения на проблемном компьютере.
44 польз. нашли этот ответ полезным
Был ли этот ответ полезным?
К сожалению, это не помогло.
Отлично! Благодарим за отзыв.
Насколько Вы удовлетворены этим ответом?
Благодарим за отзыв, он поможет улучшить наш сайт.
Не работает Windows Installer на Windows 7
Автор: Maxim |
06 Августа 2015г |