Silent install to Program Files folder
Moderators: white, Hacker, petermad, Stefan2
Silent install to Program Files folder
How can I make silent installation to Program Files folder?
Steps from Wiki (How to make installation fully automatic?) works perfectly as long as I install to path without spaces (like C:\totalcmd, or C:\test\totalcmd).
When using in Install.inf Dir=%ProgramFiles%\totalcmd, installation runs, but app is nowhere to be found.
Steps from Wiki (How to make installation fully automatic?) works perfectly as long as I install to path without spaces (like C:\totalcmd, or C:\test\totalcmd).
When using in Install.inf Dir=%ProgramFiles%\totalcmd, installation runs, but app is nowhere to be found.
Hi Stefan2, thanks for your quick reply.
I tried all I could think of, none of below worked:
- using single/double quotes in path
- Dir=%ProgramFiles%\totalcmd
- Dir=C:\PROGRA~1\totalcmd
- Dir=C:\Program Files\totalcmd
- ProgramFilesDir=%programfiles%\Total Commander
Dir=c:\Total Commander
I also searched forum, found a lot about automating the install, but not how to automate install to Program Files folder.
I tried all I could think of, none of below worked:
- using single/double quotes in path
- Dir=%ProgramFiles%\totalcmd
- Dir=C:\PROGRA~1\totalcmd
- Dir=C:\Program Files\totalcmd
- ProgramFilesDir=%programfiles%\Total Commander
Dir=c:\Total Commander
I also searched forum, found a lot about automating the install, but not how to automate install to Program Files folder.
Last edited by waldor on 2017-07-05, 13:10 UTC, edited 1 time in total.
So I am not of any help.
All I found just use
[Destination]
Dir=%ProgramFiles%\totalcmd
- - -
Did you had installed TC one time before?
The installer uses this location [from the INF] only during the first installation.
All further installations go to the last used installation directory.
Check
HKEY_LOCAL_MACHINE\SOFTWARE\Ghisler\Total Commander
HKEY_CURRENT_USER\Software\Ghisler\Total Commander
Check your wincmd.INI for
[Configuration]
InstallDir=c:\totalcmd\
and remove that line.
or use in the INF
[Destination]
IgnoreOldLocation=1
to ignore all previous installations of TC.
- - -
Are there two INF files? Do you modify the right one?
install64.inf
install.inf
Maybe some or all infos are old and obsolete, sorry.
All I found just use
[Destination]
Dir=%ProgramFiles%\totalcmd
- - -
Did you had installed TC one time before?
The installer uses this location [from the INF] only during the first installation.
All further installations go to the last used installation directory.
Check
HKEY_LOCAL_MACHINE\SOFTWARE\Ghisler\Total Commander
HKEY_CURRENT_USER\Software\Ghisler\Total Commander
Check your wincmd.INI for
[Configuration]
InstallDir=c:\totalcmd\
and remove that line.
or use in the INF
[Destination]
IgnoreOldLocation=1
to ignore all previous installations of TC.
- - -
Are there two INF files? Do you modify the right one?
install64.inf
install.inf
Maybe some or all infos are old and obsolete, sorry.
Regardless of what path is specified in install.inf, TC will always be installed in the location it has been installed previously. To overrule this behavior either set the already mentioned IgnoreOldLocation (only works with installers of TC9), or delete all of the following registry paths:
Regards
Dalai
Code: Select all
HKLM\Software\Ghisler
HKLM\Software\Wow6432Node\Ghisler
HKCU\Software\Ghisler
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Thanks Stefan2 & Dalai
IgnoreOldLocation is set to 1.
I am using 64bit installer (tcmd900ax64.exe), so there's only one INF file.
Below keys are not present:
IgnoreOldLocation is set to 1.
I am using 64bit installer (tcmd900ax64.exe), so there's only one INF file.
Below keys are not present:
Code: Select all
HKLM\Software\Ghisler
HKLM\Software\Wow6432Node\Ghisler
HKCU\Software\Ghisler
Try setting auto=0, keep the rest of the settings, and check whether or not TC uses the specified location during the installation process.
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror