I've created an installation package using Installaware and generated an EXE and a MSI. The EXE is 3.1MB and the MSI is only 265K. Why is there such a big difference in size?
相关问题
- How does the setup bootstrapper detect if prerequi
- Wix: How can I set, at runtime, the text to be dis
- Mysql-installer showing error : Memoy could not be
- Cancel installation from my custom action
- WiX: Multiple MSI files?
相关文章
- chained msi's/Bootstrapper/prerequisite?
- How to prevent WiX bundle with same UpgradeCode/Ve
- Running msiexec from a service (Local System accou
- Set InstallPath registry key using Visual Studio S
- Looking for a flexible windows installer product w
- Can I use msilib or other Python libraries to extr
- WIX 3.8 msiexec.exe /quiet Error 1603
- Setup Project for Visual Studio
The EXE probably contains setup routines that are otherwise performed by
msiexec
, which just executes whatever installation script is contained in the MSI.The difference is : MSI package contains your files + install script, and the actual installation is run by the Microsoft Installer which is a part of Windows, and it takes care of displaying Windows, logging messages etc. On the other hand, your EXE installer is holding files + actual program logic to run the install itself, being responsible for pretty much everything, hence the difference.
UPDATE: Some resources with information on how to handle various types of setup.exe files:
An MSI file can only be launched by msiexec.exe - The Windows Installer Engine. An MSI file is a Windows Installer database file capable of installing software. It requires the right version of the Windows Installer Engine Runtime at the very minimum to be installable. Most systems are up to date with the latest engine versions since it comes down via Windows Update.
The EXE file you generate is a self-extracting launcher application containing both the MSI itself as well as various runtime requirements that the setup might have.
Various components an EXE file might include:
Note that an EXE file can also be a non-MSI installer. In other words an old-style installer not based on Microsoft MSI format - which is a MS-SQL database stored in an office-style binary file - but an installation script of various formats such as Wise Script, Instalscript, Inno Setup, etc... However, in this case the question was about the difference in size between the exe and the MSI coming out of an InstallAware build, and then the difference is the runtimes explained above.