Windows Installer supports major application upgrades. A major
upgrade is essentially the removal of an older product which is replaced
by a newer product. In Advanced Installer the upgrades can be configured from the Upgrades View.
The upgrade solution has two different upgrade
possibilities.
Uninstall old version first and then install new version
The upgrade process performs the following actions:
- Detect and completely remove older products.
- Install the new product.
This order is considered to be simpler because the upgrade
process works out of the box. No extra product customization is necessary
in order for the upgrade process to be successful. However it is
inefficient because all reused files will be removed and then recopied.
All changes made to the installed resources will be lost.
Install new version first and then uninstall old version
The upgrade process performs the following actions:
- Start installation of the new product
- Check for matching components between products. Install the new
components from new product. - Uninstall the components that are not used by the new
product.
This upgrade ordering is considered more efficient because the
updated files are installed first and then the old files are removed.
Resources that are shared by both packages will not be removed thus any
change will be preserved.
This method however is more difficult to implement because the
potential danger to remove newly installed application resources during
uninstallation of older application. A carefully conditioning must be
performed.
If the removal of the old application fails, then the installer
rolls back both the removal of the old application and the installation of
the new application.
Known problems that may occur when using this upgrade method and
using the same directory as previous version:
- An author removes resources from a component in the new package
(the component is shared by both the new and old packages)
When the old product is uninstalled resources can be left
behind.
In order remove the trailing resources, in the new package, a
removal operation must
be created. Another method would be to force the installation of the
component in a different location (E.g. Change the install location of the
new package.)
- When using side by side packages.
Only files added to the new version will be
installed.
To fix this a repair operation will be needed. Another method
would be to force the installation of the component in a different
location (E.g. Change the install location of the new
package.)
If your Microsoft Windows Installer is outdated or functioning incorrectly, the programs you download to protect or enhance your computer may not be installed or repaired, causing vulnerabilities and performance problems. If your downloads are not installing, you may need to get a new version of Windows Installer.
Type www.microsoft.com in your address bar or «Microsoft Windows Installer» in the search bar.(Typing in the search bar is a shortcut, but doesn’t guarantee that you are downloading an authentic Microsoft version of the program you need).
At Microsoft’s home page, run your mouse over «Downloads & Trials»; a drop-down menu will appear. Click on «Download Center.»
Click on «Windows» in the list titled «Product Families.»
On the «Windows» page, click on the arrow inside the box that is marked «Show downloads for:»; a drop-down menu will appear. Find «Microsoft Windows Installer» and click on it, then click on «Go.»
On the «Microsoft Windows Installer» page, click on «Release Date» to display the most recent version of Microsoft Windows Installer, which is Microsoft Windows Installer 3.1 Redistributable.
On the download page, click on the hypertext phrase «Download files below.» The page will automatically scroll to a spot where you will see three downloads: Redist.txt (you may copy and paste this text to a text file in the folder where you install Windows Installer); Windows Installer 3.1 EULA.doc; and WindowsInstaller-KB893803-v2-x86.exe. Click on each download and save them to your computer.
Once you have downloaded the files, wait for the Install Wizard to take over and automatically update Microsoft Windows Installer or repair the version you already have.
Windows Installer Redistributables
The Windows Installer redistributable is a software update package. See the section
Released Versions of Windows Installer
to determine which products shipped versions of the Windows Installer. The redistributable update package for a
version is made available after the release of the product that ships with a specific Windows Installer
version.
Obtaining the Windows Installer Redistributable
- You can find all the available Windows Installer redistributables at the
Microsoft Download Center. - The download for the Windows Installer 4.5 redistributable package is available at: http://go.microsoft.com/fwlink/?LinkId=101159.
- The name of the redistributable that installs Windows Installer 4.5 on x86-based computers running Windows Vista, Windows Vista with Service Pack 1 (SP1), and Windows Server 2008 is Windows6.0-KB942288-v2-x86.MSU.
- The name of the redistributable that installs Windows Installer 4.5 on x64-based computers running Windows Vista, Windows Vista with SP1, and Windows Server 2008 is Windows6.0-KB942288-v2-x64.MSU.
- The name of the redistributable that installs Windows Installer 4.5 on Itanium-Based Systems computers running Windows Vista, Windows Vista with SP1, and Windows Server 2008 is Windows6.0-KB942288-v2-ia64.MSU.
- The name of the redistributable that installs Windows Installer 4.5 on x86-based computers running Windows XP with Service Pack 2 (SP2) and Windows XP with Service Pack 3 (SP3) is WindowsXP-KB942288-v3-x86.exe.
- The name of the redistributable that installs Windows Installer 4.5 on x86-based computers running Windows Server 2003 with Service Pack 1 (SP1) and Windows Server 2003 with Service Pack 2 (SP2) is WindowsServer2003-KB942288-v4-x86.exe.
- The name of the redistributable that installs Windows Installer 4.5 on x64-based computers running Windows Server 2003 with SP1 and Windows Server 2003 with SP2 is WindowsServer2003-KB942288-v4-x64.exe.
- The name of the redistributable that installs Windows Installer 4.5 on Itanium-Based Systems computers running Windows Server 2003 with SP1 and Windows Server 2003 with SP2 is WindowsServer2003-KB942288-v4-ia64.exe.
- There is no redistributable that installs Windows Installer 4.0. This version of the
Windows Installer ships with Windows Vista. - The name of the redistributable that installs Windows Installer 3.1 is
WindowsInstaller-KB893803-v2-x86.exe. The download for the
Windows Installer 3.1 Redistributable (v2)
package is available at: http://www.microsoft.com/downloads/details.aspx?FamilyID=889482fc-5f56-4a38-b838-de776fd4138c.Note If you upgraded to Windows Installer 3.1 by installing
Windows Server 2003 with SP1, or an earlier version of this redistributable, you may also need to
install the
Update for Windows Server 2003 Service Pack 1 (KB898715)
to obtain all the updates available in
Windows Installer 3.1 Redistributable (v2). - The redistributable that installs Windows Installer 3.0 is
WindowsInstaller-KB884016-v2-x86.exe. The download for the
Windows Installer 3.0 Redistributable
is available at:
http://www.microsoft.com/downloads/details.aspx?FamilyID=5fbc5470-b259-4733-a914-a956122e08e8. - The Windows Installer 2.0 used a previous naming convention for the redistributable:
Instmsi.exe. The redistributable for installing or upgrading
to Windows Installer 2.0 on Windows 2000 should not be used to install or
upgrade Windows Installer 2.0 on Windows Server 2003 and
Windows XP.The download for the
Windows Installer 2.0 Redistributable for Windows NT 4.0 and Windows 2000
is available at
http://www.microsoft.com/downloads/details.aspx?FamilyID=4b6140f9-2d36-4977-8fa1-6f8a0f5dca8f.
Installing the Windows Installer Redistributable
The Windows Installer 4.5 resdistributable is provided for Windows Vista and Windows Server 2008 operating systems as a .msu file and should be installed using the Windows Update Stand-alone Installer (Wusa.exe.)
The Windows Installer 4.5 redistributable for Windows XP and Windows Server 2003 operating systems can be installed using the following command line syntax and options.
The Windows Installer 3.1 and Windows Installer 3.0 redistributables can be installed using the following command line syntax and options.
Syntax
Use the following syntax to install the redistributables for Windows
Installer 4.5 on Windows XP and Windows Server 2003.
<Name of the Redistributable>[<options>]
Command-Line Options
The Windows Installer redistributable software update packages use the following case-insensitive command-line
options.
Option | Description |
---|---|
/norestart | Prevents the redistributable package from asking the user to reboot even if it had to replace files that were in use during the installation. If the update package is invoked with this option, it returns ERROR_SUCCESS_REBOOT_REQUIRED if it had to If it did not have to replace files that were in use, it returns ERROR_SUCCESS. See the remarks section for |
/quiet | For use by applications that redistribute the Windows Installer as part of a bootstrapping application.
A user interface (UI) is not presented to the user. The bootstrapping application should check the return |
/help | Displays help on all the available options. |
Delayed Restart on Windows Vista and Windows Server 2008
The /norestart command-line option prevents wusa.exe from restarting the computer. However, if a file being updated by the MSU package is in use, then the package is not applied to the computer until the user restarts the computer. This means that applications that use the Windows Installer 4.5 redistributable for Windows Vista and Windows Server 2008 cannot use the Windows Installer 4.5 functionality until the computer is restarted.
Delayed Restart on Windows XP and Windows Server 2003
It is recommended that the Windows Installer service be stopped when using the update package. When the package
is run in full UI mode it detects if the Windows Installer service is running and requests the user to stop the
service. If the user continues without stopping the service, the update replaces Windows Installer.
Bootstrapping applications that use the
redistributable package to install the Windows Installer with another application can require an extra system
reboot in addition to reboots needed to install the application. The delayed reboot option is only recommended
for cases where it is necessary to eliminate an extra reboot caused by installing files that are in use.
Developers should do the following in their setup application to use the delayed reboot option.
- Call the redistributable package with the /norestart command-line option.
- Treat the return of either ERROR_SUCCESS or ERROR_SUCCESS_REBOOT_REQUIRED as meaning success.
- Invoke Msiexec on the application’s package and run other setup code specific to the application. If the
setup application uses MsiInstallProduct, then
the application must load MSI.DLL from the system directory. If no reboot occurs and if the redistributable
returned ERROR_SUCCESS_REBOOT_REQUIRED, then prompt the user for a reboot to complete the setup of the Windows
Installer binaries. If a reboot occurs, no additional steps are required.Note Applications that call LoadLibrary on the new
MSI.DLL after the redistributable package returns success must ensure that an older version of MSI.DLL has not
already been loaded within the process. If an older version of MSI.DLL was loaded, it must be unloaded from the
process address space prior to calling LoadLibrary for
the new MSI.DLL.
For more information, see
Windows Installer Bootstrapping.
Send comments about this topic to Microsoft
Build date: 8/13/2009
© 2009 Microsoft Corporation. All rights reserved.
The Microsoft® Windows® Installer (MSI) is the application installation and configuration service for Windows. These download packages will update the version of Windows Installer on your system to version 4.5.
Multiple Package Transaction: In a multiple package transaction, you can create a single transaction from multiple packages. In a multiple package transaction, a chainer is used to dynamically include packages in the transaction. If any of the packages do not install as expected, you can roll back the installation.
Embedded UI Handler: You can embed a custom user interface (UI) handler in the Windows Installer package. This makes a custom UI easier to integrate. You can also invoke an embedded UI handler from the Add or Remove item in Control Panel. Or, you can invoke an embedded UI handler during a Windows Installer repair process.
Embedded Chainer: You can use the embedded chainer to add packages to a multiple package transaction. You can use an embedded chainer to enable installation events across multiple packages. For example, you can enable the install-on-demand events, the repair events, and the uninstall events across multiple packages.
Update Supersedence Resiliency: This feature enables you to correct for changes in the FeatureComponent table during supersedence.
Shared Component Patching Resiliency During Uninstall: This feature makes sure that the most recent version of a component is available to all the products.
Custom Action Execution On Update Uninstall: This feature enables an update to add or change a custom action so that the custom action is called when an update is uninstalled.
After installation of this package, the version of Windows Installer on the system will be upgraded to 4.5.
На чтение3 мин
Опубликовано
Обновлено
Установка программ и модулей на операционной системе Windows 7 может быть достаточно сложной и требовать дополнительных действий с вашей стороны. Один из таких шагов — обновление установщика модулей. Установщик — это специальный инструмент, который помогает вам установить различные программы и компоненты на ваш компьютер. Он играет важную роль в процессе установки и может влиять на успешность установки программ.
В данной статье мы рассмотрим, как обновить установщик модулей в операционной системе Windows 7 перед установкой нужного вам пакета. Обновление установщика может быть необходимо, если вы столкнулись с проблемами при установке новых программ или если вам требуется новая версия установщика с поддержкой последних технологий. Обновление установщика поможет вам избежать возможных ошибок и проблем.
Для обновления установщика модулей в Windows 7 вам потребуется выполнить несколько простых шагов. В первую очередь, вам нужно убедиться, что у вас установлена последняя версия операционной системы и что вы имеете права администратора на вашем компьютере. Затем проверьте, есть ли доступные обновления для установщика модулей в центре обновления Windows. Если обновления доступны, следуйте инструкциям обновления, чтобы установить последнюю версию установщика модулей.
Проверка актуальной версии установщика модулей
Перед установкой данного пакета необходимо проверить актуальность версии установщика модулей на вашей системе Windows 7. Это позволит убедиться, что вы используете последнюю версию установщика и избежать возможных проблем при установке.
Чтобы проверить актуальность версии установщика модулей, выполните следующие шаги:
- Откройте меню «Пуск» и выберите «Панель управления».
- В панели управления найдите и выберите раздел «Программы».
- В разделе «Программы» найдите раздел «Установка и удаление программ» и выберите его.
- В списке установленных программ найдите «Установщик модулей» и обратите внимание на его версию.
Если установщик модулей имеет более новую версию, чем та, которая требуется для данного пакета, то вам необходимо обновить установщик модулей. Вы можете скачать актуальную версию установщика с официального веб-сайта Microsoft и установить ее на вашу систему.
Если установщик модулей имеет версию, которая соответствует требованиям данного пакета, то вы можете продолжить установку без обновления.
Проверка актуальной версии установщика модулей является важным шагом в процессе установки пакета на систему Windows 7. Обеспечивая актуальность установщика, вы минимизируете возможные проблемы и гарантируете успешную установку необходимых модулей.
Скачивание и установка последней версии установщика модулей
Перед установкой данного пакета необходимо обновить установщик модулей в операционной системе Windows 7. Для этого выполните следующие шаги:
- Откройте веб-браузер и перейдите на официальный сайт Microsoft.
- На главной странице найдите раздел «Загрузить» или «Скачать» и кликните на него.
- На странице «Загрузить» введите в поиск ключевые слова «установщик модулей» или «Windows Installer».
- Найдите последнюю версию установщика модулей и кликните по ссылке для скачивания.
- Сохраните загруженный файл на жесткий диск вашего компьютера.
- Дважды кликните на скачанный файл, чтобы запустить процесс установки.
- Следуйте инструкциям на экране, чтобы завершить установку.
После завершения установки у вас будет обновленная версия установщика модулей, которая будет готова для установки выбранного пакета.
Обратите внимание, что процесс скачивания и установки установщика модулей может немного отличаться в зависимости от выбранного источника загрузки и операционной системы.
Если вы испытываете проблемы при скачивании или установке установщика модулей, рекомендуется обратиться в службу поддержки или форум сообщества Windows, где вам смогут предоставить дополнительную помощь.
Обновление установщика модулей в Windows 7
Перед установкой данного пакета на Windows 7 необходимо обновить установщик модулей, чтобы гарантировать его правильную работу. Вот несколько простых шагов, которые помогут вам выполнить это обновление:
- Откройте меню «Пуск» и выберите «Панель управления».
- В разделе «Программы» выберите «Удалить программу».
- В списке установленных программ найдите «Установщик модулей» и щелкните правой кнопкой мыши на нем.
- Выберите «Обновить» из выпадающего меню.
- Дождитесь завершения процесса обновления и закройте окно «Удаление программ».
Теперь ваш установщик модулей обновлен и готов к установке данного пакета на Windows 7. Убедитесь, что вы следуете указанным в инструкциях процессам установки, чтобы избежать любых проблем и обеспечить успешную установку.
Проверка успешного обновления установщика модулей
После обновления установщика модулей в Windows 7 перед установкой данного пакета, важно проверить успешность обновления. Вот несколько шагов для проверки:
Шаг 1:
Откройте командную строку, нажав клавишу Win + R. Введите команду msiexec
и нажмите клавишу Enter. Если система открывает установщик модулей без ошибок, значит обновление прошло успешно.
Шаг 2:
Попробуйте установить другой пакет, чтобы убедиться, что установщик модулей работает должным образом. Если установка проходит без ошибок, значит обновление было успешным.
Если же при выполнении этих шагов возникают ошибки или проблемы, рекомендуется повторить процесс обновления установщика модулей и убедиться, что следует всем указанным инструкциям. Если проблема остается, можно попробовать выполнить обновление с помощью альтернативных способов, предоставленных разработчиками операционной системы Windows 7.