Abhinay
Posts: 36
Joined: Wed Feb 27, 2019 9:33 am

How to include pre requisite software for MSI

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: 7513
Joined: Wed Jun 13, 2018 7:49 am

Re: How to include pre requisite software for MSI

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
konda2.reddy
Posts: 2
Joined: Mon Jul 08, 2024 7:21 am

Re: How to include pre requisite software for MSI

With .exe all prerequisites are included inside and working but if MSI file pre-requisites are not included.

Could not find proper topic in community version as well.

We tried with feature based and post install but nothing worked, MSI generated with just app output
Catalin
Posts: 7513
Joined: Wed Jun 13, 2018 7:49 am

Re: How to include pre requisite software for MSI

Hello Reddy,

From what I noticed, you already have a thread going on with my colleague Dan over the email.

Please continue the thread there so we can avoid duplicates.

Thank you for your understanding!

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

Return to “Common Problems”