[wpkg-users] [Bug 188] New: Support running <remove> action before <upgrade> and <install>

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Mon Jun 28 09:10:54 CEST 2010


http://bugzilla.wpkg.org/show_bug.cgi?id=188

           Summary: Support running <remove> action before <upgrade> and
                    <install>
           Product: WPKG
           Version: 1.1.x-M
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: config files
        AssignedTo: mangoo at wpkg.org
        ReportedBy: peterhoeg at gmail.com
         QAContact: wpkg-users at lists.wpkg.org


A number of software packages require uninstalling the previous version before
installing the new/current version and in order to avoid duplication, I suggest
adding the functionality to have remove jobs run before installs and upgrades.

One could imagine a syntax as follows:

<remove
  cmd='"%programfiles%\some_software\uninstall.exe" /S'
  run_before_install=false
  run_before_upgrade=true
 />
<remove
  cmd='%comspec% /c rd /q /s"%programfiles%\some_software"'
  run_before_install=false
  run_before_upgrade=true
 />

Using this syntax one wouldn't have to specify the <remove> logic multiple
times.

-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the wpkg-users mailing list