Dmidecode

Install the DmiDecode-Tool for Windows:

<package id="dmidecode" 
        name="DmiDecode" 
        revision="%version%" 
        reboot="false" 
        priority="1">

        <variable name="version" value="2.10" />
        <variable name="PROGRAMPATH" value="%PROGRAMFILES%\GnuWin32" architecture="x86"/>
        <variable name="PROGRAMPATH" value="%PROGRAMFILES(x86)%\GnuWin32" architecture="x64"/>

        <check type="file" condition="versiongreaterorequal" path="%PROGRAMPATH%\sbin\dmidecode.exe" value="%version%" />

        <install cmd='"%SOFTWARE%\dmidecode\dmidecode-%version%-setup.exe" /sp- /verysilent /norestart /noicons /suppressmsgboxes' />

        <upgrade include="install" />

        <remove architecture="x86" cmd='"%PROGRAMPATH%\uninstall\unins001.exe" /sp- /verysilent /norestart /suppressmsgboxes' />
        <remove architecture="x64" cmd='"%PROGRAMPATH%\uninstall\unins001.exe" /sp- /verysilent /norestart /suppressmsgboxes' />
</package>