How to create an MSI package that Windows Installer itself can install

Is it possible to create an MSI package that will work without the Windows installer installed on the system, but first install the Windows installer itself and then continue to install other components?

The goal is to create the necessary package for our software, which should install some components, including some operating system service packs. We also prefer to use the MSI package. But it is obvious that our software will be installed on a clean operating system. Although there is no need for a Windows installer. Is it possible to create such a package of prerequisites using MSI?

+3
source share
3 answers

No, there is no way to install the .MSI package without the Windows installer, which is already present on the OS.

However, the Windows Installer was a native part of Windows with Windows 2000. Are you really developing installers for Windows 95/98 / NT4? This will be the only case where there is no support for Windows Installer, and you need to install the redistributable MSI package first.

If you did not say that you need a higher version of Windows Installer than the native version of one of the older OS? (e.g. MSI 3.1 for WinXP). In this case, you need to bundle the .msi redistributable MSI package you want and run it first. Sometimes a reboot is required, sometimes not. YMMV.

+6
source

cpp c , - SDK, .

+1

It looks like you need to boot with two or more msi files. Take a look at the WiX documentation. WiX has a built-in boot

Hope this helps

s

0
source

Source: https://habr.com/ru/post/1734678/


All Articles