Installing to a CD (Or Running Without Installation)

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?".
Post Reply
Ambuoroko

Installing to a CD (Or Running Without Installation)

Post by Ambuoroko » 2007-02-20T13:05:54-07:00

Hello everyone. I am trying to find a way to install ImageMagick to a CD, so that the command-line tools could be used on various Windows computers without the need to install ImageMagick locally. Is there any way to do this?

The reason I am doing so is so that I can use ImageMagick in a script which will automatically convert all image files in a given directory to a certain format, for further processing by another program. I cannot install anything on the computers which will run the programs.


Thanks for your help,
Ambuoroko

User avatar
magick
Site Admin
Posts: 10923
Joined: 2003-05-31T11:32:55-07:00

Re: Installing to a CD (Or Running Without Installation)

Post by magick » 2007-02-20T13:53:17-07:00

You need to build an "uninstalled" version of ImageMagick which is the default. An uninstalled version does not depend on the Windows registry to find its configuration file. Build a static version of ImageMagick and place all executables, DLL's, and XML files in a folder on the CD. To run you simply say something like:
  • d:\ImageMagick\convert logo: logo.png

ImageMagick automatically looks in the same folder as the executable to find any of its dependencies.

Ambuoroko

Re: Installing to a CD (Or Running Without Installation)

Post by Ambuoroko » 2007-02-20T21:08:15-07:00

Just want to say thanks for the help. Worked like a charm!

Thanks again,
Ambuoroko

Post Reply