Difference between revisions of "Personal Backup"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(First edition)
 
(Updated for Personal Backup 5.7.3.4)
 
Line 3: Line 3:
 
<source lang="xml">
 
<source lang="xml">
 
<package id="persbackup" name="Personal Backup" revision="%version%" priority="10">
 
<package id="persbackup" name="Personal Backup" revision="%version%" priority="10">
 
    <variable name="version" value="5.6.0301" />
 
  
     <check type="uninstall" condition='exists' path='Personal Backup 5.6'/>
+
    <variable name="version" value="5.7.3.4" />
 +
 
 +
     <check architecture="x86" type="uninstall" condition='versionequalto' path='Personal Backup 5.7' value='%version%'/>
 +
    <check architecture="x64" type="uninstall" condition='exists' path='Personal Backup %version%'/>
 
   
 
   
    <install architecture="x86" cmd="%SOFTWARE%\PersonalBackup\pb-setup-%version%.exe /verysilent /norun"/>
+
<install architecture="x86" cmd="%SOFTWARE%\PersonalBackup\pb-setup-%version%.exe /verysilent /norun"/>
    <install architecture="x64" cmd="%SOFTWARE%\PersonalBackup\pb-setup-x64-%version%.exe /verysilent /norun"/>
+
<install architecture="x64" cmd="%SOFTWARE%\PersonalBackup\pb-setup-x64-%version%.exe /verysilent /norun"/>
 
 
 +
    <downgrade include="install" />
 
     <upgrade include="install" />
 
     <upgrade include="install" />
 
   
 
   

Latest revision as of 15:23, 6 November 2015

Personal Backup is software to backup files on a local disk, network share or FTP.

<package id="persbackup" name="Personal Backup" revision="%version%" priority="10">

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

    <check architecture="x86" type="uninstall" condition='versionequalto' path='Personal Backup 5.7' value='%version%'/>
    <check architecture="x64" type="uninstall" condition='exists' path='Personal Backup %version%'/>
 
	<install architecture="x86" cmd="%SOFTWARE%\PersonalBackup\pb-setup-%version%.exe /verysilent /norun"/>
	<install architecture="x64" cmd="%SOFTWARE%\PersonalBackup\pb-setup-x64-%version%.exe /verysilent /norun"/>
	
    <downgrade include="install" />
    <upgrade include="install" />
 
    <remove cmd='%COMSPEC% /C if exist "%ProgramFiles%\Personal Backup 5\unins000.exe" "%ProgramFiles%\Personal Backup 5\unins000.exe" /silent' />
    <remove cmd='%COMSPEC% /C if exist "%ProgramFiles%\Personal Backup 5" rmdir /S /Q "%ProgramFiles%\Personal Backup 5"'/>
</package>

This Package was tested with Windows 7 x32 and x64.