The Windows CMake installer does not remove previously installed Graphviz version
Steps to reproduce
Graphviz-install.exefrom e.g. here
- Run it
- Repeat using another build version
IMHO, the default should be to install Graphviz without using the version and build date in the path or name, thus overwriting a previously installed version. Alternatively the version should be kept, but the build version (or patch version if it's an official release) dropped.
The new version is installed alongside previously installed versions if the defaults are accepted.
The reason being that the Windows CMake installer by default installs Graphviz under a path and name containing the version and build date.
dir "C:\Program Files\Graphviz*" ... Directory of C:\Program Files 2020-06-23 10:29 <DIR> Graphviz 2.45.20200615.0949 2020-06-22 21:33 <DIR> Graphviz 2.45.20200621.0824 2020-06-23 10:03 <DIR> Graphviz 2.45.20200622.0758
The start menu looks like this:
Add Graphviz to the system PATH for current user is selected, the PATH will contain all previously installed versions.
dot - graphviz version 2.45.20200622.0758 (20200622.0758)
I realize that this issue is somewhat opinionated. I'm open for arguments to keep it as it is.