Here is my situation:
- I create a normal WiX Setup project.
- Then I try to check some prerequisites like if the .NET framework is installed or not.
- It seems that I am not able to do this from a WiX Setup project. So I create WiX Bootstrapper project and am able to check for and install those prerequisites.
- I try to use the WiX Bootstrapper in the WiX Setup project but can not. The examples I see was, the WiX Bootstrapper project uses the Setup project with the
MsiPackage
tag.
It seems strange to me to start setup project from Bootstrapper project. Instead I prefer to start prerequisites check and installation from Setup project (maybe calling out to the bootstrapper project from the setup project).
So here are my questions:
- Is it possible to check for and install some prerequisites the .NET framework in Wix Setup project? If so, how?
- Is it okay to start the application from the WiX Bootstrapper and call the WiX setup project from it? Is that the general convention?
This is how to check for dotnet 4.0 using wix.