Page 1 of 1

imagemagickobject.dll failed to register

Posted: 2010-12-14T01:09:39-07:00
by pekkle
Actually the problem has been here for a long time, we have to manually register the object.
Today, I've tried to figure out the problem, and find the problem is caused by the install script.

Code: Select all

[Run]
...
Filename: "regsvr32"; Parameters: "/c /s""{app}\ImageMagickObject.dll"""; StatusMsg: "Registering ImageMagickObject DLL..."; Tasks: "install_Magick_DLL"; MinVersion: 0.0,5.0; 

[UninstallRun]
...
Filename: "regsvr32"; Parameters: "/u /s""{app}\ImageMagickObject.dll"""; StatusMsg: "Unregistering ImageMagickObject DLL..."; Tasks: "install_Magick_DLL"; MinVersion: 0.0,5.0; 
There should be a space between /s and quotes... and it should be /s ""

Could someone verify and fix the problem please?

Re: imagemagickobject.dll failed to register

Posted: 2010-12-31T01:45:32-07:00
by pekkle
More information for developers, please fix the problem ASAP.

From the source ImageMagick-6.6.6-8.zip

The problem is caused by :-
ImageMagick-6.6.6\VisualMagick\installer\inc\run-register-com.isx line 20...

Code: Select all

Filename: "regsvr32"; Parameters: "/c /s""{#MagickLibDirectory}\ImageMagickObject.dll"""; StatusMsg: "Registering ImageMagickObject DLL..."; Tasks: install_Magick_DLL
should be changed to

Code: Select all

Filename: "regsvr32"; Parameters: "/c /s ""{#MagickLibDirectory}\ImageMagickObject.dll"""; StatusMsg: "Registering ImageMagickObject DLL..."; Tasks: install_Magick_DLL
ImageMagick-6.6.6\VisualMagick\installer\inc\uninstallrun-unregister-com.isx line 20...

Code: Select all

Filename: "regsvr32"; Parameters: "/u /s""{#MagickLibDirectory}\ImageMagickObject.dll"""; StatusMsg: "Unregistering ImageMagickObject DLL..."; Tasks: install_Magick_DLL
should be changed to

Code: Select all

Filename: "regsvr32"; Parameters: "/u /s ""{#MagickLibDirectory}\ImageMagickObject.dll"""; StatusMsg: "Unregistering ImageMagickObject DLL..."; Tasks: install_Magick_DLL
The missing of space would cause register or unregister failed via the installer.

Re: imagemagickobject.dll failed to register

Posted: 2010-12-31T07:00:17-07:00
by magick
We'll get a patch in ImageMagick 6.6.6-9 with your patch. Thanks.