English support forum
Moderators: white , Hacker , petermad , Stefan2
DRP535
Senior Member
Posts: 301 Joined: 2003-03-03, 11:25 UTC
Post
by *DRP535 » 2006-07-09, 14:57 UTC
I want to create an automated install script for TC. How do I modify this info in the INF if I want the default installation directory to be called "Total Commander" instead of "totalcmd"?
Code: Select all
[Destination]
ProgramFilesDir=%programfiles%\totalcmd
Dir=c:\totalcmd
Ini=wincmd.ini,Configuration,InstallDir
ghisler(Author)
Site Admin
Posts: 48083 Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:
Post
by *ghisler(Author) » 2006-07-10, 14:21 UTC
ProgramFilesDir=%programfiles%\Total Commander
Dir=c:\Total Commander
You can leave out the ProgramFilesDir= line if you don't want to install it under %programfiles%.
However, please note that if TC was installed previously on that computer, it will be installed to that previous directory (to update an existing installation).
kukubau
Junior Member
Posts: 6 Joined: 2009-08-05, 19:08 UTC
Post
by *kukubau » 2009-08-05, 19:12 UTC
hi
I am trying to build a silent9almost) installation o total commander
i want to install it in c:\program files\Total Commander and not in c:\totalcmd
I modified the install.inf like this
[auto]
auto=1
lang=1
alllang=0
iniloc=%ProgramFiles%\Total Commander
iniall=0
mkgroup=1
mkdesktop=1
[Destination]
ProgramFilesDir=%ProgramFiles%\Total Commander
Ini=wincmd.ini,Configuration,InstallDir
but it keps instaling in c:\totalcmd. ProgramFilesDir=%ProgramFiles%\Total Commander doesn't work
It drives me nuts
anyone???
Last edited by
kukubau on 2009-08-06, 15:31 UTC, edited 1 time in total.
ZoSTeR
Power Member
Posts: 1013 Joined: 2004-07-29, 11:00 UTC
Post
by *ZoSTeR » 2009-08-05, 20:31 UTC
Look up the registry key HKEY_CURRENT_USER\Software\Ghisler\Total Commander
I guess that's overriding anything the setup.ini says.
I've been using my own installer for years now so I can't be sure.
kukubau
Junior Member
Posts: 6 Joined: 2009-08-05, 19:08 UTC
Post
by *kukubau » 2009-08-05, 21:26 UTC
reg key
installdir C:\Program Files\Total Commander
and it keeps installing in c:\totalcmd
why on earth is this the default path??????
Hacker
Moderator
Posts: 13065 Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia
Post
by *Hacker » 2009-08-05, 21:41 UTC
kukubau ,
c:\totalcmd
why on earth is this the default path??????
You do not need admin rights to write there.
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
kukubau
Junior Member
Posts: 6 Joined: 2009-08-05, 19:08 UTC
Post
by *kukubau » 2009-08-05, 22:44 UTC
???
don't get it
ZoSTeR
Power Member
Posts: 1013 Joined: 2004-07-29, 11:00 UTC
Post
by *ZoSTeR » 2009-08-06, 08:01 UTC
It seems you still need a "Dir=" entry.
kukubau
Junior Member
Posts: 6 Joined: 2009-08-05, 19:08 UTC
Post
by *kukubau » 2009-08-06, 13:24 UTC
tried that too
Dir=C:\$ProgramFiles%\Total Commander
and
Dir=C:\Program Files\Total Commander
no go
it still installs in c:\totalcmd
aaaaggghhh
ZoSTeR
Power Member
Posts: 1013 Joined: 2004-07-29, 11:00 UTC
Post
by *ZoSTeR » 2009-08-06, 13:52 UTC
Edit:
I just noticed you're talking about a setup.ini??
You have to modify the file "install.inf".
Removing that regkey and having both "Dir=" and "ProgramFilesDir=" worked for me (at least non silent).
Maybe you still have a regkey Ghisler under HKLocalMachine?
kukubau
Junior Member
Posts: 6 Joined: 2009-08-05, 19:08 UTC
Post
by *kukubau » 2009-08-06, 15:30 UTC
install.inf I modified
sorry about the error
ghisler(Author)
Site Admin
Posts: 48083 Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:
Post
by *ghisler(Author) » 2009-08-06, 16:08 UTC
The dir in install.inf is ignored if a previous install dir is found under HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE (Software\ghisler key). Did you check both locations?
Hacker
Moderator
Posts: 13065 Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia
Post
by *Hacker » 2009-08-06, 17:21 UTC
kukubau ,
??
don't get i
C:\Totalcmd is the default path because you do not need admin rights to write there, as opposed to c:\Program Files.
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
eugensyl
Power Member
Posts: 564 Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:
Post
by *eugensyl » 2009-08-06, 19:26 UTC
kukubau wrote: reg key
installdir C:\Program Files\Total Commander
and it keeps installing in c:\totalcmd
why on earth is this the default path??????
Use RevoUninstaller and remove ALL (dirs, files, registry) and reinstall TC. Should work.
My Best Wishes,
Eugen
kukubau
Junior Member
Posts: 6 Joined: 2009-08-05, 19:08 UTC
Post
by *kukubau » 2009-08-29, 18:24 UTC
Isn't there a way to make tc installation fully silent? I hate that blue window popping out when installing.