Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
pekkle
Posts: 2 Joined: 2010-12-14T00:49:46-07:00
Authentication code: 8675308
Post
by pekkle » 2010-12-14T01:09:39-07:00
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?
pekkle
Posts: 2 Joined: 2010-12-14T00:49:46-07:00
Authentication code: 8675308
Post
by pekkle » 2010-12-31T01:45:32-07:00
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.
magick
Site Admin
Posts: 11064 Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2010-12-31T07:00:17-07:00
We'll get a patch in ImageMagick 6.6.6-9 with your patch. Thanks.