Installing Legacy Applications in Image Magick 7.0 from command line

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
Nicholson85
Posts: 3
Joined: 2017-09-29T03:44:14-07:00
Authentication code: 1151

Installing Legacy Applications in Image Magick 7.0 from command line

Post by Nicholson85 »

Hi,

I would like to know if it is possible to carry out a silent installation of image magick from the command line, but ensure that legacy applications such as mogrify are installed also?
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Installing Legacy Applications in Image Magick 7.0 from command line

Post by Bonzo »

Have you tried just installing V7 without selecting the legacy options and using magick mogrify?
Nicholson85
Posts: 3
Joined: 2017-09-29T03:44:14-07:00
Authentication code: 1151

Re: Installing Legacy Applications in Image Magick 7.0 from command line

Post by Nicholson85 »

Yes, it cannot be found as mogrify is now a legacy application.

Besides, I need to do carry this installation out from the command line as a silent installation.
User avatar
GeeMack
Posts: 718
Joined: 2015-12-01T22:09:46-07:00
Authentication code: 1151
Location: Central Illinois, USA

Re: Installing Legacy Applications in Image Magick 7.0 from command line

Post by GeeMack »

Nicholson85 wrote: 2017-10-04T03:02:37-07:00Yes, it cannot be found as mogrify is now a legacy application.

Besides, I need to do carry this installation out from the command line as a silent installation.
If you install IM7 in Windows and run the installation from a BAT script, you can have the script add the legacy applications by creating symbolic links to "magick.exe". At the end of the script after the IM7 is installed you could have something like this...

Code: Select all

...
mklink "%PATH_TO_IM7%\compare.exe" "%PATH_TO_IM7%\magick.exe"
mklink "%PATH_TO_IM7%\composite.exe" "%PATH_TO_IM7%\magick.exe"
mklink "%PATH_TO_IM7%\convert.exe" "%PATH_TO_IM7%\magick.exe"
mklink "%PATH_TO_IM7%\identify.exe" "%PATH_TO_IM7%\magick.exe"
mklink "%PATH_TO_IM7%\mogrify.exe" "%PATH_TO_IM7%\magick.exe"
mklink "%PATH_TO_IM7%\montage.exe" "%PATH_TO_IM7%\magick.exe"
...
When you run "magick" by using the link named "mogrify", for example, IM7 should behave as if you used "magick mogrify ...".

I'm pretty sure you have to run "mklink" from an admin account.
Post Reply