Difference between revisions of "ZBar"
From WPKG | Open Source Software Deployment and Distribution
(Package for 0.10) |
(No difference)
|
Revision as of 19:41, 12 March 2015
ZBar
ZBar is open-source software for reading bar codes.
As of version 0.10, the Windows port of ZBar is still in testing and only contains libraries & command-line programs, not the graphical interface. zbarimg.exe
, which is very useful for scripting, is installed to %PROGRAMFILES(x86)%\ZBar\bin\
.
Packages
ZBar 0.10
<?xml version="1.0" encoding="UTF-8"?>
<packages:packages
xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.wpkg.org/packages ../xsd/packages.xsd" >
<package
id="zbar"
name="ZBar"
revision="%version%"
reboot="false"
priority="0">
<variable name="version" value="0.10" />
<check type="uninstall" condition="versiongreaterorequal" path="ZBar Bar Code Reader" value="%version%" />
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\ZBar\bin\zbarimg.exe" value="%version%" architecture="x86" />
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES(x86)%\ZBar\bin\zbarimg.exe" value="%version%" architecture="x64" />
<install cmd='"%SOFTWARE%\zbar\zbar-%version%-setup.exe" /S' />
<upgrade include="install" />
<remove cmd='"%PROGRAMFILES%\ZBar\uninstall.exe" /S' architecture="x86" />
<remove cmd='"%PROGRAMFILES(x86)%\ZBar\uninstall.exe" /S' architecture="x64" />
</package>
</packages:packages>