windows registry key
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Arm Embedded Toolchain |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
As recommended by Microsoft, the Windows setup writes some keys in the registry, to identify and uninstall the program.
The uninstall keys are probably ok, but the key that defines the 'InstallFolder' is not that useful, since it includes the version:
HKEY_
For you to better understand the problem, please note that IDEs (like GNU MCU Eclipse plug-ins, formerly GNU ARM Eclipse) use this kind of keys to automatically configure the PATH to the toolchain or different other tools.
Including the version in the key requires IDEs to be updated after each new release of the toolchain, to extend the search with the new keys, which is unreasonably complicated.
The path auto-discover mechanism works better with keys that do not change with each version.
If you have reasons to keep the version specific key, fine, but please also define the 'InstallFolder' below a key like:
HKEY_
that will remain unchanged for all future versions.
thank you,
Liviu
Changed in gcc-arm-embedded: | |
status: | New → Fix Committed |
And, as reported in bug https:/ /bugs.launchpad .net/gcc- arm-embedded/ +bug/1697212, the correct name is 'InstallLocation', the 'InstallFolder' is now deprecated.