Re: Installation on Windows adds Autorun registry key calling " convert.exe $*"

"Wolfgang Hugemann" <[email protected]>
Newsgroups gmane.comp.video.image-magick.user
Message-ID <[email protected]>
> We installed ImageMagick 6.6.0 32-bit Q8 on a Windows 2003 Server and 
> observed that it added the following registry key:
> 
> [HKEY_CLASSES_ROOT\Applications]
> "AutoRun"="C:\\Program Files (x86)\\ImageMagick-6.6.0-Q8\\convert.exe $*"

I cannot see any use in this. I have just deleted this entry, started Windows anew and 
convert -version
still calls IM's version of convert.exe, not the system tool.
As pointed out in http://www.imagemagick.org/Usage/windows/#convert_issue , the re-ordering of the path environment variable solved this problem, with no need for a registry key. To be on the sure side which 'convert' you call, you can use the strategies explained in http://www.imagemagick.org/Usage/windows/#debugging .

> Now I did some research as to why this could be useful and only found 
> some quite old article [1] about the problems distinguishing Microsoft's 
> convert.exe (FAT to NTFS conversion) and ImageMagick's own convert.exe. 
> The solution outlined consists of adding a new Autorun registry key like 
> this:
> 
> [HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
> "AutoRun"="doskey convert=%MAGICK_HOME%\\convert.exe $*"

I think this page is rather outdated. There is no environment variable called MAGICK_HOME in current Windows versions of IM.

Wolfgang Hugemann
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.