Keil Logo

µVISION: HOW TO FIND THE µVISION INSTALLATION PATH


Information in this article applies to:

  • µVision Version 2
  • µVision Version 3
  • µVision Version 4

QUESTION

I need to configure an install program which copies add-on DLL's into the product folder.  I have created AGDI and AGSI DLL's and now I would like to copy them into the path where µVision is installed. How can I automatically determine the install path of µVision on a computer?

ANSWER

Products released after April 2008 create the following registry key during installation:

  HKEY_LOCAL_MACHINE/SOFTWARE/Keil/Products

The following product names are currently valid:

  HKEY_LOCAL_MACHINE/SOFTWARE/Keil/Products/AR166
  HKEY_LOCAL_MACHINE/SOFTWARE/Keil/Products/C166
  HKEY_LOCAL_MACHINE/SOFTWARE/Keil/Products/C251
  HKEY_LOCAL_MACHINE/SOFTWARE/Keil/Products/C51
  HKEY_LOCAL_MACHINE/SOFTWARE/Keil/Products/MDK
  HKEY_LOCAL_MACHINE/SOFTWARE/Keil/Products/RLARM

Each of these registry keys stores:

  • The Path (base folder of the components, i.e. "C:\Keil\ARM")
  • The Version (version string of the product, i.e. "V4.21").

Please note that 64-bit versions of Windows insert the sub-key 'Wow6432Node' after 'SOFTWARE' and before 'Keil' (i.e. HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Keil\Products\MDK) for 32-bit applications like µVision. However, if other 32-bit applications (i.e. your installer) queries this registry key the sub-key 'Wow6432Node' is not needed.

For products released before May 2008, the install path can be found via the uninstall information. Depending on your µVision version, one of the following registry keys contains the installation path:

  • µVision 2.x: HKEY_CURRENT_USER\Software\Keil\uvision2\path
  • µVision 3.x: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall/Keil µVision3/LastInstallDir

AGDI and AGSI DLLs usually need to be copied into the BIN folder of the respective toolset (e.g. \C51\BIN, \C251\BIN\, \C166\BIN or \ARM\BIN).

MORE INFORMATION

SEE ALSO

Last Reviewed: Monday, July 4, 2011


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.