DAEMON Tools Lite

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

This is a silent installer and uninstaller for DAEMON Tools Lite, a utility which provides optical media emulation for Microsoft Windows (enables you to use CD/DVD images as if they were already burned to CD/DVD). DAEMON Tools Lite is available from http://www.daemon-tools.cc/rus/products/dtLite

The information about silent installation is is available from http://www.daemon-help.com/installation_notes_lite/installation_lite.html

WPKG Package (Requires WPKG 1.2.1-RC20 or higher)

<?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="DTLite"
            name="DAEMON Tools Lite"
            revision="%PKG_VERSION%"
            reboot="false"
            priority="3">

        <variable name="PKG_VERSION"        value="4.45.1" />
        <variable name="PKG_NAME"           value="DAEMON Tools Lite" />
        <variable name="PKG_SOURCE"         value="%SOFTWARE%\DTLite\DTLite4451-0236.exe"/>
        <variable name="PKG_DESTINATION"    value="%ProgramFiles%\%PKG_NAME%"      architecture="x86"/>
        <variable name="PKG_DESTINATION"    value="%ProgramFiles(x86)%\%PKG_NAME%" architecture="x64"/>
        <variable name="PKG_INSTALL_SWITCH" value="/S /notoolbar /nogadget /sptd"/>
        <variable name="PKG_REMOVE_SWITCH"  value="/S"/>

        <check type="uninstall" condition="versiongreaterorequal" path="%PKG_NAME%" value="%PKG_VERSION%" />
        <check type="file"      condition="versiongreaterorequal" path="%PKG_DESTINATION%\DTLite.exe" value="%PKG_VERSION%" />

        <install cmd='"%PKG_SOURCE%" %PKG_INSTALL_SWITCH% ' />

        <upgrade include="install" />

        <remove cmd='"%PKG_DESTINATION%\uninst.exe" %PKG_REMOVE_SWITCH% ' />
    </package>
</packages:packages>