Dumb Question - EXE vs MSI - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

jwest
Posts: 56
Joined: Tue Dec 27, 2005 12:14 am

Dumb Question - EXE vs MSI

I have AI 8.2 and have been using it since 2005 to build an installer for our product.

AI has always generated both an MSI and an EXE setup for us but to date, we have only distributed the MSI. This has worked well for us.

We've just released a .NET based version of our software and we're having problems with some people not having the correct version of .NET installed on their machines. I have always used launch conditions to make sure that an appropriate version of Windows is on the user's machine before proceeding with the install (We support Win 2K and up) and now I have extended that to make sure that .NET 3 is installed on the machine before proceeding.

This functionality doesn't appear to be included in the MSI we ship. I believe it's embedded in the EXE but since we don't ship that, we lose that functionality and that is resulting in too many support calls.

I can only ship a single file as it is posted on our website (and some partner sites) as a download. Having the user download 2 files is not an option according to my boss.

Is there a way to package up the EXE and MSI into a single file so our users can simply download and run it like they currently do with the MSI? In this scenario, the EXE would run, check for the prerequisites and then launch the MSI.

Again, asking the user to download the EXE and the MSI is not an option we want to consider. Also, the downloaded file must be self-contained as the installer is often downloaded onto a thumb-drive and then installed on secure computers that may not have an open internet connection. In this situation, if the EXE detects that .NET 3 is missing, it should just issue an error message and quit as opposed to trying to go out to the net to download and install the missing pieces.

Any guidance would be appreciated.
CiprianComsa
Posts: 110
Joined: Thu Aug 19, 2010 10:11 am
Contact: Website

Re: Dumb Question - EXE vs MSI

Hi,

To include all the files (prerequisites and MSI files) you can use the "Include install files in EXE" option from "Bootstrapper" tab of "Media" page.

Regards,
Ciprian
__________________________________________________________________________________________________________________________________________________
Ciprian Comsa
Advanced Installer Team
http://www.advancedinstaller.com/
Ciprian Comsa - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jwest
Posts: 56
Joined: Tue Dec 27, 2005 12:14 am

Re: Dumb Question - EXE vs MSI

Thanks. That sounds perfect and it's probably one of those "why haven't I been using that mechanism for years?" things.

Do you have a link to an article or whitepaper that describes what the EXE actually does in reasonable detail? The only thing I know about them is they are used to check the machine for certain prerequisites and complain if they're not found, otherwise they launch the corresponding MSI file that's in the same folder as the EXE.

I tried searching but couldn't seem to narrow it down.

Again, thanks.
CiprianComsa
Posts: 110
Joined: Thu Aug 19, 2010 10:11 am
Contact: Website

Re: Dumb Question - EXE vs MSI

Hi,

I'am affraid we don't have such an article but I will give you some explanations.
We create various features which are not supported by Windows Installer and are included in EXE Boostrapper:
- Prerequisites
- Enhanced User Interface
The Enhanced User Interface allows you to use advanced UI controls that are not supported by Windows Installer.

Regards,
Ciprian
__________________________________________________________________________________________________________________________________________________
Ciprian Comsa
Advanced Installer Team
http://www.advancedinstaller.com/
Ciprian Comsa - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”