Difference between revisions of "TeraCopy"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 34: Line 34:
 
                 include="install" />
 
                 include="install" />
  
         <remove cmd="%PROGRAMFILES%\TeraCopy\unins000.exe /silent" >
+
        <remove cmd='MsiExec.exe /x{952ED35A-74C3-4204-8F01-986D8711B41D} /quiet /norestart /qn'> <!-- 3.8.5 -->
 +
                <exit code="0" />
 +
                <exit code="1605" />
 +
                <exit code="-1" />
 +
        </remove>
 +
         <remove cmd="%PROGRAMFILES%\TeraCopy\unins000.exe /silent"> <!-- 3.8.2 -->
 
                 <exit code="0" />
 
                 <exit code="0" />
 
                 <exit code="-1" />
 
                 <exit code="-1" />

Revision as of 15:40, 1 June 2021

This is a silent installer/uninstaller for TeraCopy ([1])

TeraCopy 3.8.2

<?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="teracopy"
        name="TeraCopy"
        revision="%version%"
        priority="0"
        reboot="false">

        <variable name="version" value="3.8.2" />

        <check
                type="file"
                condition="versiongreaterorequal"
                path="%PROGRAMFILES%\TeraCopy\TeraCopy.exe"
                value="%version%"
                />

        <install include="remove" />
        <install
                cmd="%SOFTWARE%\software\teracopy\%version%\teracopy.exe /silent" />

        <upgrade 
                include="install" />

        <remove cmd='MsiExec.exe /x{952ED35A-74C3-4204-8F01-986D8711B41D} /quiet /norestart /qn'> <!-- 3.8.5 -->
                <exit code="0" />
                <exit code="1605" />
                <exit code="-1" />
        </remove>
        <remove cmd="%PROGRAMFILES%\TeraCopy\unins000.exe /silent"> <!-- 3.8.2 -->
                <exit code="0" />
                <exit code="-1" />
        </remove>
</package>
</packages:packages>