Installation path in Windows registry

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
mecton
Posts: 3
Joined: 2017-10-02T06:14:26-07:00
Authentication code: 1151

Installation path in Windows registry

Post by mecton » 2017-10-02T06:16:39-07:00

Hello,

On Windows, could i find the path where ImageMigick is installed in the registry ?

Thank you for your help !

snibgo
Posts: 9378
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Installation path in Windows registry

Post by snibgo » 2017-10-02T06:26:40-07:00

From nt-base.c, function NTRegistryKeyLookup(), a comment:
% Values are stored in the registry under a base path path similar to
% "HKEY_LOCAL_MACHINE/SOFTWARE\ImageMagick\6.7.4\Q:16" or
% "HKEY_CURRENT_USER/SOFTWARE\ImageMagick\6.7.4\Q:16". The provided subkey
% is appended to this base path to form the full key.
Does that help?
snibgo's IM pages: im.snibgo.com

mecton
Posts: 3
Joined: 2017-10-02T06:14:26-07:00
Authentication code: 1151

Re: Installation path in Windows registry

Post by mecton » 2017-10-02T06:45:55-07:00

Hello snibgo,

Thank you for your quick answer, it helps !

I have just checked the registry and I have found the path you mentionned.

However, I have also found the path HKEY_LOCAL_MACHINE\SOFTWARE\ImageMagick\Current which contains the values below :
Image
Do you know if I can use these values ?

Thank you.

mecton
Posts: 3
Joined: 2017-10-02T06:14:26-07:00
Authentication code: 1151

Re: Installation path in Windows registry

Post by mecton » 2017-10-02T06:49:01-07:00

After searching more "seriously" on Internet, I found the link http://imagemagick.sourceforge.net/http ... ndows.html which states :
When ImageMagick is installed, entries are added to the Windows Registry so that other programs may obtain information regarding the most recently installed ImageMagick. These entries are available under the registry path

HKEY_LOCAL_MACHINE\SOFTWARE\ImageMagick\Current
My problem is solved, thanks again for your help.

Post Reply