[wpkg-users] [Bug 166] New: Change function scanUninstallKeys to support RegExp in nameSearched
bugzilla-daemon at bugzilla.wpkg.org
bugzilla-daemon at bugzilla.wpkg.org
Tue Aug 4 16:54:07 CEST 2009
http://bugzilla.wpkg.org/show_bug.cgi?id=166
Summary: Change function scanUninstallKeys to support RegExp in
nameSearched
Product: WPKG
Version: 1.1.x-M
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: enhancement
Priority: P2
Component: wpkg.js
AssignedTo: mangoo at wpkg.org
ReportedBy: pendl2megabit at yahoo.de
QAContact: wpkg-users at lists.wpkg.org
This would be handy for display names, which include version or language
information.
Acrobat Reader and Firefox are two examples, where language and/or version
information is included in the display name.
This would save changing the string of the display name for each new release
and it would make it possible to allow higher/different versions of those
applications, if they were updated by the user of the notebook during a long
journey.
The display name is good to check, but if I need a more reliable check, I
usually use the version of the main file in addition.
Example:
<check type="uninstall" condition="exists" path="Mozilla Firefox .+" />
<check type='logical' condition='or'>
<check type="file" condition="versiongreaterorequal"
path="%ProgramFiles%\Mozilla Firefox\firefox.exe" value="1.9.1.3483" />
<check type="file" condition="versiongreaterorequal"
path="%ProgramFiles(x86)%\Mozilla Firefox\firefox.exe" value="1.9.1.3483" />
</check>
<check type="uninstall" condition="exists" path="Adobe Reader .+" />
<check type="logical" condition="or">
<check type="file" condition="versiongreaterorequal"
path="%PROGRAMFILES%\Adobe\Reader 9.0\Reader\AcroRd32.exe" value="9.1.0.163" />
<check type="file" condition="versiongreaterorequal"
path="%PROGRAMFILES(x86)%\Adobe\Reader 9.0\Reader\AcroRd32.exe"
value="9.1.0.163" />
</check>
--
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