Search code examples
c#xmlwixwindows-installerwix3

How to fetch BIOS details of the system in WIX installer


I am trying to create an installer with Wix. I am a Wix newbie.For our software we checked few pre-requisites like the BIOS version.

My requirement is if the BIOS version is suitable for my software application,I want to check some other set of per-requisites.

Is there a way I can get the BIOS version of system in WiX?


Solution

  • Not sure it's possible via standard wix functionality

    But here's the way it will work:

    1. Add c# custom action

    2. In custom action you can use System.Management as described here