You are here

[Fixed] Winboard leaves winboard.ini in %APPDATA%

4 posts / 0 new
Last post
Simeon
Simeon's picture
Offline
Last seen: 8 years 3 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
[Fixed] Winboard leaves winboard.ini in %APPDATA%

The latest Winboard version (4.5.2) leaves a file called winboard.ini inside %APPDATA% after it is run.

Tested on Win XPSP3 clean Virtualbox machine as admin.

John T. Haller
John T. Haller's picture
Online
Last seen: 16 min 6 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Path With Space?

Were you running it from path with a space in it? If so, if you replace the WinBoardPortable.ini file with this does it fix it? It appears to work on my end.

[Launch]
ProgramExecutable=WinBoard\WinBoard\winboard.exe
WorkingDirectory=%PAL:AppDir%\WinBoard\WinBoard
DirectoryMoveOK=yes

[Activate]
Registry=true

[FileWrite1]
Type=ConfigWrite
File=%PAL:AppDir%\WinBoard\WinBoard\winboard.ini
Entry=/settingsFile=
Value=""%PAL:DataDir%\settings\winboardpersonal.ini""

[FileWrite2]
Type=ConfigWrite
File=%PAL:AppDir%\WinBoard\WinBoard\winboard.ini
Entry=/saveSettingsFile=
Value=""%PAL:DataDir%\settings\winboardpersonal.ini""

[FileWrite3]
Type=Replace
File=%PAL:DataDir%\settings\winboard.ini
Find=%PAL:LastDir%%PAL:LastPackagePartialDir%
Replace=%PAL:Dir%%PAL:PackagePartialDir%

[FileWrite4]
Type=Replace
File=%PAL:DataDir%\settings\winboard.ini
Find=%PAL:LastDir%\
Replace=%PAL:Dir%\

[RegistryKeys]
-=HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pgn
-=HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.gam

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

gluxon
gluxon's picture
Offline
Last seen: 2 years 5 months ago
Developer
Joined: 2008-06-21 19:26
I can confirm that this fixes

I can confirm that this fixes a different (maybe similar?) bug that prevents WinBoard Portable from properly running in a path with spaces. I can't reproduce the leftover file though.

http://portableapps.chrismorgan.info/irc/logs/?t=2012-08-17#T18-59-55

WinBoard Portable's installer also needs an update, so I'll package this up and send it.

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

This is fixed in 4.6.2

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

Log in or register to post comments