You are here

ExifToolGui Portable (remove %APPDATA% ?)

5 posts / 0 new
Last post
rbon
Offline
Last seen: 20 min ago
Joined: 2011-04-30 13:26
ExifToolGui Portable (remove %APPDATA% ?)

Hi,
I have saw that inside file C:\PortableApps\ExifToolGUIPortable\App\AppInfo\Launcher\ExifToolGuiPortable.ini there is this instruction:

[DirectoriesMove]
ExifToolGuiConfig=%APPDATA%\ExifToolGui

Probably You can remove the instructions %APPDATA% becasuse since rel. 6.3.0 the author has created a new command line parameter: /IniPath=path.

Here there is a snapshof of his article (doc):

ExiftoolGui Portable?

Starting with version V6.3.0. a new program parameters is available: "/IniPath=path".
With this parameter you specify the location of the ini file. If it is specified, then immediately after starting GUI, the INI file will be saved.
If it fails an error message is displayed and the program halted. To prevent that changes made by the user would not be saved.
can be:
- A fully qualified path: eg: "c:\a dir with spaces"
- %P The directory from where the program was loaded.
- %W The working directory.
- %T a Temp directory.

Note: Also specifying /DontSaveIni has no effect!

Bogdan Hrastnik stated in his documentation on https://exiftool.org/gui/ Bullet 2. ExifToolGui.

The entire post is available at this link: https://github.com/FrankBijnen/ExifToolGui/blob/main/Docs/Readme%20Porta...

John T. Haller
John T. Haller's picture
Online
Last seen: 30 min 6 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Implemented

Thanks, I've implemented it in ExifToolGUI Portable 6.3.1-2

Sometimes, the impossible can become possible, if you're awesome!

rbon
Offline
Last seen: 20 min ago
Joined: 2011-04-30 13:26
Implemented

Thanks for Your implementation.

I have saw that inside file C:\PortableApps\ExifToolGUIPortable\App\AppInfo\Launcher\ExifToolGuiPortable.ini there is now these instruction:

[Launch]
ProgramExecutable=ExifToolGUI\ExifToolGUI.exe
CommandLineArguments=/lang=%PAL:LanguageCustom% /IniPath="%PAL:DataDir%\ExifToolGuiConfig"
DirectoryMoveOK=yes
SupportsUNC=yes

Now I suggest You to change order of arguments inside commandline, as follows:
CommandLineArguments=/IniPath="%PAL:DataDir%\ExifToolGuiConfig" /Lang=%PAL:LanguageCustom%

This happens because there is an order (priority) inside arguments:
- First: configurations options: /IniPath=path
- second: other options (loads DLL language): /Lang=DLL_language
- third: other options: ....

Note
the lang option is /Lang (capital initial)

This seem to be a stupid thing, but I have tried this change in my 'yaP launcher' and result is:
load time of ExifToolGui has changed from 2/3 sec. to 0 (zero) sec. (program has been instantly loaded).

This is a small change, you see if you make it.

John T. Haller
John T. Haller's picture
Online
Last seen: 30 min 6 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Will Do

That's odd, but it happens. I'll have it included in the next release. Thanks for the heads up!

Sometimes, the impossible can become possible, if you're awesome!

John T. Haller
John T. Haller's picture
Online
Last seen: 30 min 6 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Implemented in 6.3.2

This is implemented in 6.3.2. I also added optional GPS map support (disabled by default).

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments