You are here 705137

WinSPortable Can't Change PuTTY/terminal client path 3r4u1

3 posts / 0 new
Last post
Jersh
Offline
Last seen: 9 years 6 months ago
ed: 2015-11-22 22:03
WinSPortable Can't Change PuTTY/terminal client path

I can't change the setting for PuTTY/terminal client path in WinSPortable. I want to do it point it to PuTTYPortable.exe, but after reopening WinSPortable, the setting is overwritten. I don't like the linker program because it requires PuTTY to be running already but PuTTYPortable.exe does not.

http://puu.sh/lvmLh.png

My directory structure is:

PortableApps
-PuTTYPortable
-...
-WinSPortable

Looking at the source code, it looks like the code causing this is in WinSPortableU.nsi:

RestoreSettings:
WriteINIStr "$SETTINGSDIRECTORY\wins.ini" "Configuration\Interface" "RandomSeedFile" "%2E%5Cwins.rnd"
WriteINIStr "$SETTINGSDIRECTORY\wins.ini" "Configuration\Interface" "DDTemporaryDirectory" "%2E%5C"
WriteINIStr "$SETTINGSDIRECTORY\wins.ini" "Configuration\Interface" "PuttySession" "WinS%20Portable%20Temporary%20Session"
Stry $0 `$PROGRAMDIRECTORY\PuTTYPortableLinker.exe`
;${StrReplace} $1 "\" "%5C" $0
${WordReplace} $0 "\" "%5C" "+" $1
WriteINIStr "$SETTINGSDIRECTORY\wins.ini" "Configuration\Interface" "PuttyPath" "$1"

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 38 min ago
DeveloperTranslator
ed: 2005-11-28 22:21
By Design

This is by design, because otherwise the two collide with each other and will cause settings to be lost since the two share a registry key which is moved into and out of the registry. You must launch them in that order using that process for it to be effectively portable. You're purposely being prevented from doing it manually and possibly losing your settings for PuTTY Portable if you open and close the apps in the wrong order.

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

Jersh
Offline
Last seen: 9 years 6 months ago
ed: 2015-11-22 22:03
Oh, darn. Thanks for the

Oh, darn. Thanks for the reply.

to post comments