You are here

WinMerge settings can now be stored in an INI file

3 posts / 0 new
Last post
nnewton
Offline
Last seen: 2 years 1 month ago
Joined: 2007-07-06 02:14
WinMerge settings can now be stored in an INI file

As of version 2.16.13, WinMerge now has support for settings stored in an INI file:

https://winmerge.org/docs/changelog.php?lang=en#winmerge-21613---2021-06-22
https://github.com/WinMerge/winmerge/issues/248

While, by default, it looks for an INI file next to the WinMergeU.exe file, you can also specify the INI file to use via command line:

https://github.com/WinMerge/winmerge/issues/248#issuecomment-878083136

Are there any plans to use this new functionality for the settings storage in the PortableApps.com version? It would be nice to not have to copy back and forth from the registry, but use a file that just sits in the \Data folder the whole time.

I'm not sure how the registry > INI file translation would take place, I've done a few tests and cannot get it to automatically populate the INI with the registry settings.

During my testing, I also noticed that it looks for a WinMerge.reg file next to WinMergeU.exe too. And it appears to read that on startup and write back to it on close. I don't see any option to define it's location using a command line option though.

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 34 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Noted

I've noted this for when it gets updated.

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

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 34 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Still Uses Registry

Turns out WinMerge always writes to and uses that registry key for Locale, Recent Files List, and Settings (User Filter Path). This occurs even if you specify an INI or use a WinMerge.reg alongside the WinMergeU.exe. The publisher stated that this is intentional and due to the Explorer context menu and some other stuff needing it. Even if you remove the Explorer context menu plugin from WinMerge, it still does this in my testing.

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

Log in or register to post comments