Page 1 of 1

Installing Legacy Applications in Image Magick 7.0 from command line

Posted: 2017-10-04T01:24:00-07:00
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?

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

Posted: 2017-10-04T02:45:20-07:00
by Bonzo
Have you tried just installing V7 without selecting the legacy options and using magick mogrify?

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

Posted: 2017-10-04T03:02:37-07:00
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.

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

Posted: 2017-10-04T08:12:13-07:00
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.