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: man...@wpkg.org
        ReportedBy: peterh...@gmail.com
         QAContact: wpkg-users@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.
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to