PortableApps.com Wins Big in the 2009 SourceForge Community Choice Awards and hits 100 million portable apps served!
change exe name not working? (John, read this)Submitted by obenhodc on March 25, 2007 - 12:27pm
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] is there something else i'm doing wrong? ( categories: )
|


Installer not reading all of ini file?
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.
I win.
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
We should have the PortableApp launcher updated on the website, might save some searching to new users.