Last post Sep 29, 2009 05:13 AM by srm2009
Sep 22, 2009 04:33 AM|srm2009|LINK
what is a difference between setup.exe and setup.msi file created while packaging web application project?
Sep 22, 2009 04:48 AM|qwe123kids|LINK
EXE files can be anything. Almost everything you run on your computer is started by an EXE file (exceptions are Windows itself, drivers). They contain executable code for a computer to run, and can do anything.
MSI files are database files, used by Windows Installer. They contain information about an application which is devided into features and components, and every component may hold files, registry data, shortcuts etc. The MSI file also contains the UI that is
to be used for installing, and various other data such as any prerequisites to look for, custom actions to execute, the order of the installation procedure, whether to support Administrative installations, etc. It can also contain the actual files to be installed
themselves (this isn't always the case though, the files can also be in an external CAB file or just as plain uncompressed files in a location where MSI can find them).
MSI files are the current recommended way of doing installations on Windows. The alternative is writing a program that performs the installation itself.
MSI files are executed by an EXE file that is part of Windows, called MSIEXEC.EXE. This application reads the data in the MSI file and executes the installation.
Windows Installer is pretty new, especially the newest version (3.0). Often installations that use MSI still come with an EXE (e.g. SETUP.EXE). This EXE is a so-called 'bootstrapper'. It doesn't perform the installation, it simply checks if the correct version
of Windows Installer is present on the system, if not it launched the MSI Redistributable (MsiInstA.exe or MsiInstW.exe depending on the platform) and then launches MSIEXEC.EXE on the MSI file. In certain cases (especially Internet downloads), the MSI file
and MSI redistributable are packed inside that EXE file, so you don't see they're there.
So installations can come in three flavours:
1. A custom, third-party installation system in an EXE file.
2. A Windows Installer installation in an MSI file.
3. An EXE file that bootstraps an MSI file (that may be embedded inside the EXE file).
MSI files can only be installations. EXE files can be literally anything that can run on your computer.
Chk the above link
Sep 22, 2009 05:05 AM|vdogra77|LINK
Here are the fundamental differences between the two:
Some software programs are unpacked to both an msi ans exe setup file. If you are a end user you might wonder which to execute to install the application properly. Chance is that you tried both ways at least once and noticed that clicking the msi or the
exe setup file would install the application properly. The setup.exe that you encounter in lots of software distributions is called a bootstrapper. This setup.exe file will check if the computer system is capable of running the software program; If it is it
will initiate msiexec.exe which will launch the installation using the msi file.
Users who double-click on the msi file directly will also install the application but with the possibility that it will not run properly on the computer system. Take a computer program that requires the Microsoft .net Framework 3.5 for example. If the user
has an older version of the framework installed setup.exe will download the files needed and launch the installation of the compatible framework and launch the installation using the msi file afterwards.
If the user installs using the msi file the installation will go through without problems but might experience an application crash or warning message while starting the application. It is therefor recommend on end user systems to always install applications
using the setup.exe file if both a setup.exe and xyz.msi are available after unpacking the software program.
There are even some msi setup files out there that will not perform the installation upon execution but request an installation using the setup.exe file instead to ensure that all necessary components are installed.
Read on for more:
Sep 29, 2009 05:13 AM|srm2009|LINK
Thanks for ur reply.it clears many things no known earlier.