Reputation: 4868
I have created an installer for my application using WIX. In addition, I have a setup.exe file which I've created using the VS Booststrapepr that verifies .NET is installed on the machine and installs it if it doesn't.
So now I'm stuck with two files - Setup.exe and the MSI. I would like to have a single file which checks for prerequisites (just like Setup.exe does) and then runs the MSI (not silently, the MSI UI must be presented).
How can I achieve that?
Thanks!
Upvotes: 0
Views: 214
Reputation: 3674
Why not using a selfextractor as the easiest solution? IEXPRESS is already installed. WinRar, 7Zip, ...
The boot strapper tools available have to do the same.
Instead of taking the VS setup.exe you could also write an own small C++ starter .exe to check for .NET and otherwise just start the original .NET install.
Upvotes: 0
Reputation: 219
You do not need a seperate exe to check for presence of .NET framework, in your WiX for MSI, you can add authoring to check for presence of .NET Framework, please refer this link on how to check for precondition of .NET FX : http://wix.sourceforge.net/manual-wix3/check_for_dotnet.htm
Upvotes: 0