11
edits
Changes
Created page with "Install the [http://gnuwin32.sourceforge.net/packages/dmidecode.htm DmiDecode-Tool for Windows]: <source lang=xml> <package id="dmidecode" name="DmiDecode"..."
Install the [http://gnuwin32.sourceforge.net/packages/dmidecode.htm DmiDecode-Tool for Windows]:
<source lang=xml>
<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>
</source>
[[category:Silent Installers]]
<source lang=xml>
<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>
</source>
[[category:Silent Installers]]