On Sun Mar 04 05:15:37 2012, willi.weikum@googlemail.com wrote:
Show quoted text> Ok I understand. What do think about automatic deinstalltion of
> previous version the user is going to do a major update?
> I know it's possible to detect installed product versions via MSI.
In 5.16.x series I have fixed this, the MSi installer works like this:
1/ if you have too old version (5.14.x) already installed, installer shows error message saying "uninstall first" end exits (I was not able to properly manage automatic uninstall)
2/ if you have a version that can bu upgraded it is automatically uninstalled first - the "perl/site" directory is not deleted; then the new version is installed (modules previously installed into "perl/site" should work after this upgrade)
3/ If you choose to uninstall manually (via Control Panel) it now correctly also deletes "perl/site" directory and the whole c:\strawberry dir.
4/ MSI's marked as "BETA" have intentionally disabled upgrade feature described in 2/ (as for betas it IMHO makes more troubles than added value)
Unfortunately this is not gonna work if you are upgrading from old buggy MSI's (e.g. 5.14.2.1)
After releasing 5.16.0.1 I am gonna close this RT.
Anyway thanks for your time spent on this issue.
--
kmx