Menu

Build of standalone Windows ExifTool

2ndMouse
2018-10-17
2018-10-18
  • 2ndMouse

    2ndMouse - 2018-10-17

    Not really an install issue, but I would like to know if the source for
    producing the standalone version for Windows is available? EXIFTool
    command line is wonderful, but I have a requirement to demonstrate building
    all s/w form 3rd parties from source. I appreciate that this might be
    complex, but I would like to try. Thanks. Dave.

    --
    Complexity is friction.
    Computers, servers, smartphones, tablets and other network-connected
    devices began to outnumber human beings, in 2014. Scientific American.

     
  • Phil Harvey

    Phil Harvey - 2018-10-17

    Hi Dave,

    All of the ExifTool source code is here, but to build a .exe like this you'll need to install Perl and PAR (and learn how to build a PAR package) to be able to build the executable. The Windows version is just a PAR package of Perl with ExifTool.

     

    Last edit: Phil Harvey 2018-10-17
  • Phil Harvey

    Phil Harvey - 2018-10-17

    You should take a look at "pp_build_exe.args" in the ExifTool code files. This is the pp argfile I use for doing the build, with some comments that may be helpful.

     

    Last edit: Phil Harvey 2018-10-17
  • 2ndMouse

    2ndMouse - 2018-10-17

    Thank you! I'm game...Perl and PAR it is...

     
  • 2ndMouse

    2ndMouse - 2018-10-17

    Finally built ExifTool.exe successfully. I did have to go acquire findfile.pm (missing) and put it where it belongs, but after that pp_build_exe.args ran OK. My new exe version is over 12 MB vs 8MB for the distributed version. Are there techniques to reduce the exe size, or perhaps remove unnecessary modules?

     
  • Phil Harvey

    Phil Harvey - 2018-10-18

    Great!

    The size keeps getting larger with newer versions of Perl and the library. I regret updating to Perl 5.24 because 5.22 worked fine and the executable was a lot smaller then.

     

    Last edit: Phil Harvey 2018-10-18

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.