From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

UFRaw is a utility to read and manipulate raw images from digital cameras. Official Windows releases are slightly behind Unix releases.

UFRaw uses an Inno Setup installer. To control shortcuts & file associations, you can specify /TASKS or /MERGETASKS with a comma-separated list of tasks. The names of the tasks are in the [Tasks] section of ufraw-setup.iss.in in the source distribution; as of 0.19.2-2, the following are available:

Task Description Enabled by default
unplug Attempt to delete old versions of the UFRaw plug-in yes
desktopicon Create a desktop icon yes
quicklaunchicon Create a quicklaunch icon no
UFRawAssociation Association for UFRaw ID files yes
DNGAssociation Association for DNG (Adobe Digital Negative) yes
CRWAssociation Association for CRW & CR2 (Canon raw) yes
NEFAssociation Association for NEF & NRW (Nikon raw) yes
PEFAssociation Association for PEF (Pentax raw) yes
RAFAssociation Association for RAF (Fuji raw) yes
ORFAssociation Association for ORF (Olympus raw) yes
RW2Association Association for RW2 (Panasonic raw) yes
RWLAssociation Association for RWL (Leica raw) yes
MRWAssociation Association for MRW (Minolta raw) yes
ARWAssociation Association for ARW, SRF & SR2 (Sony raw) yes
SRWAssociation Association for SRW (Samsung raw) yes
X3FAssociation Association for X3F (Sigma (Foveon) raw yes

If you're using e.g. Adobe Lightroom, you may want to turn off some or all of these file associations.


UFraw 0.19.2-2[edit]

Note the /GROUP="UFRaw" argument to the installer. If it's not specified, UFRaw's installer will create a folder called "(Default)" in the Start menu.

<?xml version="1.0" encoding="UTF-8"?>
        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" >


   <variable name="version" value="0.19.2" />
   <variable name="versionappend" value="-2" />

   <check type="uninstall" condition="exists" path="UFRaw %version%" />

   <!-- Install defaults -->
   <install cmd='"%SOFTWARE%\ufraw\ufraw-%version%%versionappend%-setup.exe" /SP- /VERYSILENT /GROUP="UFRaw"' />

   <!-- Default, but without a desktop icon -->
   <install cmd='"%SOFTWARE%\ufraw\ufraw-%version%%versionappend%-setup.exe" /SP- /VERYSILENT /GROUP="UFRaw" MERGETASKS="!desktopicon"' />

   <!-- Remove old plugins, but don't make icons or override the various
        camera-raw file associations -->
   <install cmd='"%SOFTWARE%\ufraw\ufraw-%version%%versionappend%-setup.exe" /SP- /VERYSILENT /GROUP="UFRaw" TASKS="unplug,UFRawAssociation"' />

   <upgrade include="install" />

   <remove cmd='"%PROGRAMFILES%\UFRaw\unins000.exe" /SILENT' architecture="x86" />
   <remove cmd='"%PROGRAMFILES(x86)%\UFRaw\unins000.exe" /SILENT' architecture="x64" />