Am 07.02.2012 19:59, schrieb Alan Adams:
My question - can I create a package, or set of packages, to test for
the presence of any of the older versions and run the appropriate msi
to uninstall them?
<check type=file condition=versionequalto ...>
I would do it in the following way:
Add the remove commands for the previous versions as install/upgrade
commands to the 10.1.2 package.
<install cmd="msiexec /x ...">
<condition>
<check type="uninstall" condition="versionequalto" path="..."
value="10.0.0" />
</condition>
</install>
This will execute the command only if the registry contains the
uninstall information of the specified version.
This requires using WPKG 1.3.0
--
Stefan P.
Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-------------------------------------------------------------------------
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