Inirelocate.exe messes up ftp ini location...

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
5h17h34d
Junior Member
Junior Member
Posts: 30
Joined: 2006-12-06, 10:05 UTC

Inirelocate.exe messes up ftp ini location...

Post by *5h17h34d »

Image: http://sh.stonks.com/junk/inirelocate.jpg

It actually tells the registry its called wincmd.ini

RC5, and I manually fixed it by using regedit and specifying the right file.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Don't use the tool

Post by *Clo »

25h17h34d

:) Hello !

• You could avoid the Registry rummaging by adding rather the INI entry :

Code: Select all

[Configuration]
UseIniInProgramDir=7
• Docs tell :
UseIniInProgramDir=Flags sum
This variable will only be read if the wincmd.ini is located in the same dir as the program.
It is the sum of the following values :
0: Disabled
1: Use wincmd.ini in the program-dir. if no other location is set via the registry or parameters
2: Use wcx_ftp.ini in the program-dir. if no other location is set via the registry or parameters
4: Override the registry settings (but not the command line parameters)
- This is very useful when several versions are installed (four here) :wink:
- Each version uses alright its own INI files, no problem…

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
5h17h34d
Junior Member
Junior Member
Posts: 30
Joined: 2006-12-06, 10:05 UTC

Post by *5h17h34d »

Thank you Clo, I was just pointing out a bug in inirelocate.exe in RC5.

I think?

8)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

25h17h34d

I cannot reproduce that. What options did you choose exactly in Inireloc to get this effect?
Author of Total Commander
https://www.ghisler.com
5h17h34d
Junior Member
Junior Member
Posts: 30
Joined: 2006-12-06, 10:05 UTC

Post by *5h17h34d »

ghisler(Author) wrote:25h17h34d

I cannot reproduce that. What options did you choose exactly in Inireloc to get this effect?
Wanted both ini files to be in the program folder. I cannot reproduce it now either for some reason. Only change I made was a changed the existing ftp ini with one from another install.

Perhaps it was a permissions issue? Works fine now.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Strange - do you have a backup of the registry before you used inireloc? Maybe it's only happening when the registry contains some specific values in the Total Commander keys?
Author of Total Commander
https://www.ghisler.com
5h17h34d
Junior Member
Junior Member
Posts: 30
Joined: 2006-12-06, 10:05 UTC

Post by *5h17h34d »

ghisler(Author) wrote:Strange - do you have a backup of the registry before you used inireloc? Maybe it's only happening when the registry contains some specific values in the Total Commander keys?
Actually, this was a brand new machine I just built, I copied my TC 6 folder to it then installed rc5 over that. I then tried to ftp and the dialog was blank so I then ran inirelocate. I had just assumed the rc5 installer did what I told it to do as far as where to locate the ini files. Perhaps it didn't?

This is on Winxp pro btw. No vista for me! :twisted:
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Well, the installer itself also writes to the registry to set the ini locations. Did you choose any ini location settings different from the default during the installation of RC5?
Author of Total Commander
https://www.ghisler.com
5h17h34d
Junior Member
Junior Member
Posts: 30
Joined: 2006-12-06, 10:05 UTC

Post by *5h17h34d »

Nope.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

One final question: Which windows version do you use now?
Author of Total Commander
https://www.ghisler.com
5h17h34d
Junior Member
Junior Member
Posts: 30
Joined: 2006-12-06, 10:05 UTC

Post by *5h17h34d »

This is on WinXP Pro SP2 all the latest updates.
Post Reply