Changes

Jump to: navigation, search

ZBar

1,581 bytes added, 19:41, 12 March 2015
Package for 0.10
== ZBar ==

[http://zbar.sourceforge.net/ 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. <code>zbarimg.exe</code>, which is very useful for scripting, is installed to <code>%PROGRAMFILES(x86)%\ZBar\bin\</code>.

== Packages ==

=== ZBar 0.10 ===

<source lang="xml">
<?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>
</source>

[[category:Silent Installers]]
91
edits

Navigation menu