ExifTool Forum

General => Other Discussion => Topic started by: lorents on September 25, 2011, 07:39:23 AM

Title: Start ExifTool on Windows
Post by: lorents on September 25, 2011, 07:39:23 AM
Good afternoon!
Explain please how works ExifTool on Windows?
How I understand ExifTool is written on Perl then how it is started on Windows, I on the computer don't have appendices for start of Perl-scripts?
Title: Re: Start ExifTool on Windows
Post by: Phil Harvey on September 25, 2011, 09:01:05 AM
ExifTool uses the PAR packager (http://search.cpan.org/dist/PAR/) to package the EXE for Windows.

- Phil
Title: Re: Start ExifTool on Windows
Post by: lorents on September 25, 2011, 09:25:52 AM
Thank You
Title: Re: Start ExifTool on Windows
Post by: lorents on March 17, 2012, 03:32:17 PM
Hello Phil Harvey!
If to you it is not difficult, you couldn't tell in detail how most to pack exiftool using PAR?
Title: Re: Start ExifTool on Windows
Post by: Phil Harvey on March 17, 2012, 07:52:05 PM
With PAR installed, the command line to build the .exe version is:

pp @pp_build_exe.args

Where the .args file is

#------------------------------------------------------------------------------
# File:         pp_build_exe.args
#
# Description:  Arguments for building stand-alone Windows executable
#
# Created:      2006-11-22 - P. Harvey
#
# Requires:     The PAR (Perl Archive) module must be installed
#
# Checklist:    [now automated by "publish_windows" script]
#
#            1) Build tag lookup: "./build_tag_lookup".
#            2) Set exiftool version number in "-T" and --info lines below.
#            3) Add any new modules to the list below.
#            4) Make sure "windows_exiftool" is up to date.
#            5) Back up "exiftool" and "cp windows_exiftool exiftool".
#            6) In a "cmd.exe" window, type "pp @pp_build_exe.args".
#            7) Change back to Unix shell and restore original "exiftool".
#            8) Rename "exiftool.exe" to "exiftool(-k).exe".
#            9) Create a .zip archive: "zip exiftool-#.##.zip exiftool\(-k\).exe".
#           10) Copy zip archive to web servers.
#           11) Update zip file version in link and text of html/index.html.
#------------------------------------------------------------------------------
-T exiftool-12.87
#--info=FileVersion=12.8.7.0
#--info=ProductVersion=12.8.7.0
##"--info=Build Date=2024:06:13 09:46:51-04:00"
##"--info=Bundled Perl Version=ActivePerl 5.24.0"
##"--info=LegalCopyright=Copyright (c) 2003-2024, Phil Harvey"
##"--info=ProductName=ExifTool"
##"--info=Comments=ExifTool EXE for Windows"
##"--info=Home Page=https://exiftool.org/"
##"--info=CompanyName=Phil Harvey"
##"--info=OriginalFilename=exiftool(-k).exe"
##"--info=InternalName=ExifTool"
##"--info=FileDescription=Read and Write meta information"
-o exiftool.exe -I lib
-M Archive::Zip
-M Compress::Zlib
-M Digest::MD5
-M Digest::SHA
-M IO::Compress::Bzip2
-M Time::HiRes
-M Time::Piece
-M IO::Compress::RawDeflate
-M IO::Uncompress::RawInflate
-M IO::Compress::Brotli
-M IO::Uncompress::Brotli
-M IO::String
-M Win32::API
-M Win32::FindFile
-M Win32API::File
-M Encode
exiftool
# end

- Phil

Edit: Updated to latest version of .args file.
Title: Re: Start ExifTool on Windows
Post by: lorents on March 18, 2012, 04:34:55 AM
Thank You
Title: Re: Start ExifTool on Windows
Post by: lorents on March 19, 2012, 09:00:15 AM
Whether could make you exiftool for Windows with Perl version 5.14?
Title: Re: Start ExifTool on Windows
Post by: Phil Harvey on March 19, 2012, 09:04:19 AM
I haven't tried Perl 5.14 on Windows.

- Phil
Title: Re: Start ExifTool on Windows
Post by: lorents on March 19, 2012, 11:33:47 AM
At you isn't present separately perl.exe and perl.dll that version which it is used in ExifTool for Windows?
Title: Re: Start ExifTool on Windows
Post by: Phil Harvey on March 19, 2012, 11:46:44 AM
I don't understand the question.

But currently, the .exe version of ExifTool downloadable from my web site is packaged with ActivePerl 5.8.7 (as noted in one of the --info arguments of pp_build_exe.args).

- Phil
Title: Re: Start ExifTool on Windows
Post by: lorents on March 19, 2012, 12:21:13 PM
you do not have exiftool version for windows but without the extract to the folder %temp%?
Title: Re: Start ExifTool on Windows
Post by: Phil Harvey on March 19, 2012, 12:24:54 PM
If you already have Perl installed on your Windows system, then you can run the pure Perl version (the "Image-ExifTool-8.84.tar.gz" download).  But otherwise, you must use the packaged .exe version, which must unpack its files somewhere to run (although you should be able to set the temporary directory to whatever you want).

- Phil
Title: Re: Start ExifTool on Windows
Post by: lorents on March 19, 2012, 12:39:04 PM
Разрешить написание латиницей
I just need to unpack version Exiftool, which would work on any kampyutore without unpacking and installing perl
Title: Re: Start ExifTool on Windows
Post by: lorents on August 04, 2012, 07:44:20 AM
Good afternoon!
Whether there is no at somebody Activeperl 5.8.7?

and how it is possible to pack ExifTool with Perl 5.14?
Title: Re: Start ExifTool on Windows
Post by: Phil Harvey on August 06, 2012, 08:13:33 PM
You can pack exiftool with whatever version you want using PAR.  I'm sticking with 5.8.7 unless I find a good reason to change.  I did try updating to 5.10 a long while ago, but there were some problems so I reverted back.

- Phil

Edit: The last PAR-packaged version of ExifTool came with Perl 5.24, but as of ExifTool 12.88 PAR is no longer used.