Add WindowsRegistry InstallFolder

Asked by Liviu Ionescu

In order to allow automated discovery of the toolchain location on Windows, could you add the following key to the Windows Registry in your setup packages (the syntax is for NSIS):

!define PRODUCT "GNU Tools for ARM Embedded Processors"
!define INSTALL_LOCATION_KEY "InstallFolder"
WriteRegStr HKLM "SOFTWARE\${PRODUCT}" "${INSTALL_LOCATION_KEY}" "$INSTDIR"

An example of such a NSIS file can be found at https://sourceforge.net/p/gnuarmeclipse/openocd/ci/gnuarmeclipse/tree/gnuarmeclipse/nsis/gnuarmeclipse-openocd.nsi

Thank you,

Liviu

Question information

Language:
English Edit question
Status:
Answered
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was originally filed as bug #1423461.

Revision history for this message
Joey Ye (jinyun-ye) said :
#1

Liviu,

Thanks reporting. This is a new feature request other than bug. Let's change it type and continue discussion.

Revision history for this message
Joey Ye (jinyun-ye) said :
#2

Liviu, what this registry will be used for?

- Joey

Revision history for this message
Liviu Ionescu (ilg) said :
#3

> Let's change it type

sure, I tried to post it as feature requests, but could not find an obvious way, only questions and bugs seemed available from the interface.

> what this registry will be used for?

for auto-magic path configuration of IDEs using the compiler.

in my GNU ARM Eclipse plug-ins, on Windows, I detect were various external tools are located by reading their Registry keys.

it would be very useful to have such a key to auto-configure the toolchain path too.

Liviu

Can you help with this problem?

Provide an answer of your own, or ask Liviu Ionescu for more information if necessary.

To post a message you must log in.