Difference between revisions of "Dmidecode"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Created page with "Install the [http://gnuwin32.sourceforge.net/packages/dmidecode.htm DmiDecode-Tool for Windows]: <source lang=xml> <package id="dmidecode" name="DmiDecode"...")
(No difference)

Revision as of 15:02, 27 April 2018

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%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>