How to include pre requisite software for MSI

Having trouble running Advanced Installer? Got a bug to report? Post it all here.
Post Reply
Abhinay
Posts: 36
Joined: Wed Feb 27, 2019 9:33 am

How to include pre requisite software for MSI

Post by Abhinay » Wed Sep 11, 2019 12:21 pm

I have used .net core runtime 2.2.6 as one of the pre-requisite software to be installed, but it is included as part of exe or works when i create an exe but not MSI, How to make it work for MSI?

Catalin
Posts: 1571
Joined: Wed Jun 13, 2018 7:49 am

Re: How to include pre requisite software for MSI

Post by Catalin » Wed Sep 11, 2019 12:58 pm

Hello Abhinay,

That happens because, as default, .NET Core Runtime is added as a pre-install prerequisite. Pre-install prerequisites are handled by our EXE bootstrapper, thus when adding one, your package is automatically turned from MSI to EXE.

As a workaround to this, you can move your prerequisite from pre-install to feature-based and then go to "Builds" page and change the package type to "Single MSI (resources inside)".

However, please keep in mind that this does not work for every prerequisite. For instance, .NET Framework x.xx can not be added as a feature-based prerequisite due to its setup complexity.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Post Reply