i'm having trouble getting PuTTYPortable to work with different settings in the ini file. all that i have changed is the PuTTYExecutable line, and i also changed the name of putty.exe to puttyTest.exe.
[PuTTYPortable]
PuTTYDirectory=App\putty
SettingsDirectory=Data\settings
PuTTYExecutable=puttyTest.exe
AdditionalParameters=
DisableSplashScreen=false
is there something else i'm doing wrong?
John,
I decided to look through the nsi file for the installer for PuTTYPortable. Within the ReadINI section, it only reads the app directory and the settings directory. I compared this to the nsi for firefox where the ReadINI section is much longer, and has entries for each item in the ini file.
I'm going to see if i can get the compiler working....
Your signature will be publicly displayed at the end of your comments.
Well, taking a cue from the firefox nsi, i added these 2 lines to the ReadINI section.
ReadINIStr $0 "$INIPATH\${NAME}.ini" "${NAME}" "${APP}Executable"
StrCpy "$PROGRAMEXECUTABLE" $0
and recompiled. Now it works.
with a little more testing, the additional parameters and disable splash screen options do work in the original. so it looks like it is just those 2 lines missing.
Your signature will be publicly displayed at the end of your comments.
hi, well done! pls can u send me the recompiled PuTTYPortable.exe? thnx
yoz
critical.error@seznam.cz
We should have the PortableApp launcher updated on the website, might save some searching to new users.