[wpkg-users] [Bug 191] New: Upgrade does not execute when detected already installed but no revision number exists

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Thu Jul 15 18:37:34 CEST 2010


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

           Summary: Upgrade does not execute when detected already
                    installed but no revision number exists
           Product: WPKG
           Version: 1.1.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: wpkg.js
        AssignedTo: mangoo at wpkg.org
        ReportedBy: marc.ozin at reformjudaism.org.uk
         QAContact: wpkg-users at lists.wpkg.org


I'm pretty sure that this is a bug.



example package file

<package id="MySoftware" 
name="My Software" 
revision="5" 
reboot="false" 
priority="1">

<check type="uninstall" condition="exists" path="MySoftware" />
<install cmd='"%SOFTWARE%\setup.exe"' />
<upgrade cmd='"%SOFTWARE%\upgrade.exe"' />
<remove cmd='"%ProgramFiles%\MySoftware\unistall.exe"' />

</package>


Scenario

if an old version of MySoftware was installed independently of WPKG so no entry
of MySoftware exists in c:\windows\system32\wpkg.xml then WPKG:
 1. detects MySoftware as already installed
 2. does not upgrade the software using the specified upgrade.exe command
    presumably because there is no local revision number
 3. saves the new revision number in the wpkg.xml so WPKG thinks it's got 
    the latest version when it doesn't.

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