Sparx Systems Forum
Enterprise Architect => Bugs and Issues => Topic started by: ea0620 on May 31, 2021, 08:31:17 am
-
I am trying to install the latest version of EA, 15.2. The installation fails when the installer tries to uninstall the older 15.1 version. As far as I can tell, there is no 15.1 version installed. I have checked the registry for 'sparx', 'enterprise', 'architect', 'ea', and nothing is found. I have checked the file system for the same keywords and nothing is found. Something is telling the installer that there is a 15.1 that must be uninstalled, but I cannot find where it is.
If someone can shed some light on this issue, I will be eternally grateful.
Thanks
-
It sounds to me like someone has attempted to manually remove EA, but missed something. The following is my educated guess about the steps that I would take to fix the problem based on what you have described.
I would run the current installer with full logging (because I don't know what log type will contain the information needed)
msiexec /l*vx eainstalllog.txt /i easetupfull.msi
Somewhere in the log file there should be something about the detected product code (a guid). I'd try to use that code to run an uninstall (but it's probably going to fail since I think that's what the installer would do anyway)
msiexec /l*vx eauninstalllog.txt /x "<ProductCode>"
Failing that, I would search the registry for ProductCode and UpgradeCode from the log, you'll probably find records saying that those products are installed.
-
Eve, that worked. Removing the offending key from the registry allowed the installation to succeed. BTW, I was the 'someone' who attempted to manually remove EA.
As an observation, perhaps the installer should be able to uninstall previous versions without needing the (un)installer for those versions. Many other products can upgrade completely with only the new installer.
Thanks for a great product!
-
The installer actually does uninstall the previous version.
I guess something must have gone wrong on your system.
Geert
-
I expect that when you have seen other products upgrade without an installer, there is a cached copy of the msi in the system somewhere. That's usually what happens with EA.
-
FWIW: I (almost) never uninstall old EA versions but just rename the EA folder to EA<oldVersion>
q.