Path of unattended install...

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
most
Junior Member
Junior Member
Posts: 18
Joined: 2004-01-28, 10:11 UTC
Location: Stockholm / Sweden

Path of unattended install...

Post by *most »

My install.inf looks like this, but it installs it to C:\TOTALCMD
Have tried these combinations, what im doing wrong?

Dir=%ProgramFiles%\TotalCmd
Dir=C:\%ProgramFiles%\TotalCmd
Dir=C:\Program Files\TotalCmd
Dir=C:\Progra~1\TotalCmd

Code: Select all

[auto]
auto=1
lang=1
alllang=0
iniloc=%ProgramFiles%\TotalCmd
iniall=1
mkgroup=1
mkdesktop=1

[Destination]
Dir=%ProgramFiles%\TotalCmd
Ini=wincmd.ini,Configuration,InstallDir
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

You have to remove first the wincmd.ini in your %windir% ( the deletion of the line "insatlldir=" suffices) and to remove the registrykeys

HKEY_CURRENT_USER\Software\Ghisler\Total Commander\InstallDir

and

HKEY_LOCAL_MACHINE\SOFTWARE\Ghisler\Total Commander\InstallDir

because these locations will be checked for a valid installdir before the default in your inf is used.

Code: Select all

Dir=%ProgramFiles%\TotalCmd 
should work fine then.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Post Reply