Bundling MSI in Bootstrapper EXE - 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!

thenefield
Posts: 68
Joined: Thu Dec 06, 2007 6:19 pm

Bundling MSI in Bootstrapper EXE

I was curious to know if it is possible to bundle the MSI and CAB files into the Bootstrapper EXE, as performed by selecting "Include install files in EXE" on the Media --> Bootstrapper dialog, but exclude prerequisites from also being bundled into the Bootstrapper EXE.

The problem I have is that if the MSI is not bundled, users may start the install by clicking the MSI and bypass the installation of prerequisites by not clicking the bootstrapper executable instead.

However, when I bundle the MSI and CAB files, the prerequisites get included and result in a Bootstrapper EXE of about 2.5 GB. I have allot of prerequisites.

So what would be the best way to resolve this issue?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Bundling MSI in Bootstrapper EXE

Hello,
The problem I have is that if the MSI is not bundled, users may start the install by clicking the MSI and bypass the installation of prerequisites by not clicking the bootstrapper executable instead.
To avoid this, you can give the .MSI an insignificant name and the .EXE your product's name, "setup.exe" or anything your users may find relevant. You can also set an icon for the .EXE. A best practice is to also include install specifications along with your package( a how-to install your product ) that the users will read first before installing your product.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
thenefield
Posts: 68
Joined: Thu Dec 06, 2007 6:19 pm

Re: Bundling MSI in Bootstrapper EXE

I have already done this from the beginning. My Bootstrapper executable is setup.exe and my MSI is also named separately. I also have documented procedures to start the installation via clicking Setup.exe. However, this still does not prevent this issue from occurring, which is why I am writing this post.

The problem is that users just dont want to read a manual. They just want to click and go. Even while it may seem obvious that clicking a setup.exe file would be the way to start, users are also tempted to click directly on the MSI file since this is how some installers also work.

Is there not a way to force the MSI file to be executed vi the Bootstrapper EXE so as to prevent them from directly executing it from the MSI? I know I have seen this behavior in other installers before.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Bundling MSI in Bootstrapper EXE

Hi,

I'm afraid there is no predefined support for this functionality in Advanced Installer.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”