Difference between revisions of "Dmidecode"
From WPKG | Open Source Software Deployment and Distribution
(Created page with "Install the [http://gnuwin32.sourceforge.net/packages/dmidecode.htm DmiDecode-Tool for Windows]: <source lang=xml> <package id="dmidecode" name="DmiDecode"...") |
|||
Line 14: | Line 14: | ||
<check type="file" condition="versiongreaterorequal" path="%PROGRAMPATH%\sbin\dmidecode.exe" value="%version%" /> | <check type="file" condition="versiongreaterorequal" path="%PROGRAMPATH%\sbin\dmidecode.exe" value="%version%" /> | ||
− | <install cmd='"%SOFTWARE% | + | <install cmd='"%SOFTWARE%\dmidecode\dmidecode-%version%-setup.exe" /sp- /verysilent /norestart /noicons /suppressmsgboxes' /> |
<upgrade include="install" /> | <upgrade include="install" /> |
Latest 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%\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>