[wpkg-users] [Bug 231] New: Do Extended host attribute matching on <check> nodes

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Thu Jul 21 13:35:32 CEST 2011


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

           Summary: Do Extended host attribute matching on <check> nodes
           Product: WPKG
           Version: other
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: wpkg.js
        AssignedTo: mangoo at wpkg.org
        ReportedBy: cleitet at gmail.com
         QAContact: wpkg-users at lists.wpkg.org


Created attachment 205
  --> http://bugzilla.wpkg.org/attachment.cgi?id=205
Patch to issue

Version is 1.2 (not available as a version in Bugzilla)

I would like to have extended host attribute matching on <check> nodes to be
able to do something like this:

<package
  id="7zip"
  name="7zip compression tools"
  revision="1"
  reboot="false"
  priority="1">
  <check type="uninstall" condition="exists" path="7-Zip 9.20"
architecture="x86" />
  <install cmd='"%SOFTWARE%\standard\7zip\7z920.exe" /S' architecture="x86" />
  <remove  cmd='"%ProgramFiles%\7-Zip\Uninstall.exe" /S' architecture="x86" />

  <check type="uninstall" condition="exists" path="7-Zip 9.20 (x64 edition)"
architecture="x64" />
  <install cmd='msiexec /qn /i "%SOFTWARE%\standard\7zip\7z920-x64.msi"'
architecture="x64" />
  <remove  cmd='msiexec /qn /x {23170F69-40C1-2702-0920-000001000000}' 
architecture="x64" />
</package>

I think this can be achieved with the attached patch (at least it works with
the above package).

-- 
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