[wpkg-users] What's the basic logic WPKG for such situations: Upgrade if app in profile is upper installed manually app.

Alexey alexey.dubovsky at gmail.com
Fri Sep 24 13:35:05 CEST 2010

I have got profile 7-zip on version 4.65:
<packages> <package id="7zip"    name="7-Zip"   revision="4.65"
        <check type="uninstall" condition="exists" path="7-Zip 4.65" />
        <install cmd='msiexec /i %SOFTWARE%\7zip\7z465.msi /qn
/norestart' />
        <install cmd='cmd /c     %SOFTWARE%\7zip\7zipAssoc.CMD > nul'   />
       <remove  cmd='msiexec /qn /x%SOFTWARE%\7zip\7z465.msi' />

a user computer was installed 7-zip 4.57, mannualy, without WPKG.
After work  WPKG  In reality WPKG execute 7zip install.

Package '7-Zip' (7zip): Not installed (checks failed). Preparing
Installing '7-Zip' (7zip)...
Install type: install
Executing command: msiexec /i %SOFTWARE%\7zip\7z465.msi /qn /norestart
Executing command: cmd /c     %SOFTWARE%\7zip\7zipAssoc.CMD > nul
Checking existence of package: 7-Zip
Uninstall entry '7-Zip 4.65' matches string '7-Zip 4.65'.
Uninstall entry for 7-Zip 4.65 was found: test successful
Adding settings node: '7-Zip' (7zip), Revision 4.65
Package '7-Zip' (7zip): Package and all chained packages installed
Processing (install) of 7-Zip successful.

And now, computer has to versions of 7-Zip: 4.65 & 4.57

What's the basic logic WPKG for such situations: The previous version is
installed manually need to do upgrade
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20100924/3a85ae2f/attachment-0001.html>

More information about the wpkg-users mailing list