PortableApps.com Wins Big in the 2009 SourceForge Community Choice Awards and hits 100 million portable apps served!

PuTTYPortable.ini ignored

Submitted by hobbzilla on October 3, 2007 - 9:26pm

I wanted to have the option of keeping both putty.exe and puttytray.exe in my app\putty directory I tried both:
PuTTYExecutable=PUTTYtray.EXE

and

PuTTYExecutable=App\putty\PUTTYtray.EXE

They both caused PuttyPortable.exe to error out saying it could not find putty.exe


( categories: )

Try...

PuTTYExecutable as JUST PUTTYTRAY.exe and then make sure the PuTTYDirectory is App\putty, and this should be the same INI from Other\Source, it needs to be placed in the same directory as PuTTYPortable.exe which I think you got.

..Did that

Yes I have tried both just puttytray.exe as well as including the path. I have not changed anything else in the .ini file.

File (PuTTYPortable.ini) is in the same (root) directory as PuTTYPortable.exe.

Here is my PuTTYPortable.ini

[PuTTYPortable]
PuTTYDirectory=App\putty
SettingsDirectory=Data\settings
PuTTYExecutable=PUTTYtray.EXE
AdditionalParameters=
DisableSplashScreen=false

Can you confirm? Change your putty.exe to putty-new.exe and update your ini and see what happens.

So...

It should look like this:
PuTTYPortable.exe
PuTTYPortable.ini
App\putty\PUTTYtray.exe
Data\settings\

"If you're not part of the solution, you're part of the precipitate."

yes..

If "It" is the directory structure. Then Yes it does.

I have the following:

C:\PortableApps\PuTTYPortable>tree /f
Folder PATH listing
Volume serial number is 00000065 38C2:21FA
C:.
│ help.html
│ PuTTYPortable.exe
│ PuTTYPortable.ini

├───App
│ │ ReadMe.txt
│ │
│ ├───AppInfo
│ │ appicon.ico
│ │ appinfo.ini
│ │
│ └───putty
│ PUTTY.CHM
│ PUTTYTRAY.EXE
│ PUTTY.exe.bak

├───Data
│ └───settings
│ putty.reg
│ settings_readme.txt

└───Other
├───PuTTYPortableSource
│ GetParameters.nsh
│ License.txt
│ PuTTYPortable.ico
│ PuTTYPortable.ini
│ PuTTYPortable.jpg
│ PuTTYPortable.nsi
│ Readme.txt
│ ReplaceInFile.nsh
│ StrRep.nsh

└───PuTTYSource
putty_source.txt

Again, my root "PuTTYPortable.ini" contains:

[PuTTYPortable]
PuTTYDirectory=App\putty
SettingsDirectory=Data\settings
PuTTYExecutable=PUTTYtray.EXE
AdditionalParameters=
DisableSplashScreen=true

Does not work. I get the following:
(TITLE)
PuTTY Portable | PortableApps.com ]
(WINDOW BODY)
putty.exe was not found. Please check your configuration