Unattend installation of Total commander ?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
ia2115
New Member
New Member
Posts: 1
Joined: 2004-06-16, 15:46 UTC

Unattend installation of Total commander ?

Post by *ia2115 »

Is it possible to install tc unattended with my windows xp pro setup?
i cant see how, hope it can be done.

thanks in advance
Jan
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

?????????

Post by *Clo »

2ia2115
Is it possible to install tc unattended with my windows xp pro setup?
i cant see how, hope it can be done.
:) Hi !
• What do you mean exactly ?
* About the interface-style, or something else ?
* Please, explain us more clearly that you wish…
:mrgreen: K R
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

@ia2115

Supposing that you are asking if it is possible to run the TC setup programme without user interaction, the answer is:
yes, it can be done.
(The answer is not only valid for WinXP Pro systems, but it should work on any (newer) Windows version.)

Have a look at this thread:
http://ghisler.ch/board/viewtopic.php?t=2037&highlight=install+inf

If you should understand German, then the following thread might give you more details. (If you do not, I am afriad, this is bad luck in this particular case, because I did not find a corresponding English thread :( )
http://ghisler.ch/board/viewtopic.php?t=73&highlight=install+inf

Anyway, the crucial file is called install.inf.
You can find it inside the TC setup programme tcmdr603a.exe.
You should extract it to a temporary directory, modify it according to your needs and pack it back into the setup programme.
(I do not have to stress that unpacking and packing can easily be done using TC?! :wink: In order to edit install.inf use your favourite text editor as long as it saves files in plain ASCII format.)

The most important setting to run the TC setup in unattended mode can be found near the top of the file install.inf
[auto]
auto=1

(0=interactive setup, 1=unattended setup)

Once you have modified the install.inf according to your needs and packed it back into the file tcmdr603a.exe, you simply launch tcmdr603a.exe and TC will install in unattended mode without asking the user any questions.

A note on NT based systems - inclusing Windows XP Pro - you will most likely need administrative privileges on the machine, else the installation may fail partially.

Hope this helps a bit.

Kind regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

ghisler(Author) wrote:[Destination]
Dir=c:\totalcmd _ _ =Zielverzeichnis, ausser wenn alte Installation gefunden wurde

[auto]
auto=0 _ _ _ _ _ _ _Auf 1 setzen für auto-Install
lang=1 _ _ _ _ _ _ _Sprache, Liste siehe [Languages]
alllang=1 _ _ _ _ _ _Alle Sprachen installieren
iniloc= _ _ _ _ _ _ _ Ort der ini-Dateien
iniall=0 _ _ _ _ _ _ _ini-Dateien-Ort für alle Benutzer setzen?
mkgroup=1 _ _ _ _ _Gruppe im Explorer anlegen
mkdesktop=1 _ _ _ _Icon auf Desktop anlegen

[Install]
3=otherfile.ext _ _ _ Diese Datei(en) auch noch kopieren
translation:

Code: Select all

[Destination]
Dir=c:\totalcmd _ _ =Targetpath, except there were found an old installation

[auto]
auto=0 _ _ _ _ _ _ _set to 1 for auto-Install
lang=1 _ _ _ _ _ _ _language, liste in [Languages]
alllang=1 _ _ _ _ _ _install all languages
iniloc= _ _ _ _ _ _ _ folder for the ini-files
iniall=0 _ _ _ _ _ _ _ini-files-folder for  all user?
mkgroup=1 _ _ _ _ _create a group in explorer
mkdesktop=1 _ _ _ _create desktop icon

[Install]
3=otherfile.ext _ _ _ copy these files too

Ich poste mal meine Install.inf, damit du siehst was man so alles machen kann

Ist teilweise aber noch auf den Windows Commander eingestellt , ich warte auf die neue Version und dann wird das auch noch gefixt.
Es funktioniert aber auch so

[Installation]
program=Windows Commander 5.50 (32 bit)
progname=Windows Commander
copyright=Copyright © 1993-2002 by Christian Ghisler, All Rights reserved

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

[Versioncheck]
Vernum=2

[Not running]
1=WINDOWSCMD,Windows Commander
2=TAPPLICATION,Windows Commander,Windows Commander

[Destination]
Dir=%ProgramFiles%\wincmd
Ini=wincmd.ini,Configuration,InstallDir

[Languages]
Count=14
Default=1
1=English
2=Deutsch (German),d
3=Français (French),f
4=Nederlands (Dutch),n
5=Dansk (Danish),k
6=Norsk (Norwegian),o
7=Italiano (Italian),i
8=Svenska (Swedish),s
9=Español (Spanish),e
10=Èeský (Czech),z
11=Polski (Polish),p
12=Magyar (Hungarian),h
13=Slovenský (Slovak),y
14=Slovenski (Slovene),l

[LangName]
langdir=language
0=wcmd_eng
d=wcmd_deu
f=wcmd_fra
n=wcmd_dut
k=wcmd_dan
o=wcmd_nor
i=wcmd_ita
s=wcmd_swe
e=wcmd_esp
z=wcmd_cz
p=wcmd_pol
h=wcmd_hun
y=wcmd_sk
l=wcmd_svn

;Save data the user may have changed!
[Backup data]
1=default.bar
2=no.bar

[Install]
1=installe.cab,c
2=install.cab,c
3=wincmd.key
4=wincmd.ini
5=bzip2dll.wcx
6=cpio.wcx
7=dbxplug.wcx
8=diskdir.wcx
9=ha.wcx
10=iso.wcx
11=krwc.wcx
12=lzo.wcx
13=msi.wcx
14=pack.wcx
15=ppmd.wcx
16=rpm.wcx
17=sff.wcx
18=z.wcx
19=bix.exe
20=Cab.fmt
21=ConSpawn.pipe
22=imp.exe
23=JAR32.EXE
24=MsCab.exe
25=multiarc.ini
26=multiarc.wcx
27=wcmzip32.dll
28=Wcmd_deu.mnu
29=wcx_ftp.ini
30=wcx_sftp.ini
31=plugin_sftp.wfx

32=psftp.dll
33=pageant.exe
34=puttygen.exe
35=Diskio.dll
36=DISKIO2.DLL
37=ex2fs.wfx
38=RAWIO16.DLL
39=RAWIO32.dll
40=rfsdll.dll
41=Wcicolib.icl
42=addtime_addon.exe
43=rfstool.exe
44=img.wcx
45=aviwcx.wcx
46=Services.wfx
47=PROCFS.wfx
48=Uninstall.wfx
49=Privileges.wfx
50=regfs.wfx
51=regfs_read.txt
52=icl.exe
53=iso_view.ini
54=iso.exe
55=imgdll.ddl
56=procfs_info.txt

[Installd]
1=installd.cab,c
2=install.cab,c
3=wincmd.key

[Desktop]
1=wincmd32.exe","Windows Commander.lnk

[Group]
Groupname=Windows Commander
1=wincmd32.exe","Windows Commander 32
2=wincmd.hlp","Windows Commander Help
3=wcuninst.exe","Uninstall or Repair Windows Commander

[Groupd]
Groupname=Windows Commander
1=wincmd32.exe","Windows Commander 32
2=wincmd.hlp","Windows Commander Hilfe
3=wcuninst.exe","Windows Commander Entfernen oder Reparieren

[ini]
1=wincmd.ini,configuration,languageini
2=wincmd.ini,configuration,Mainmenu

[inid]
1=wincmd.ini,configuration,languageini,wcmd_deu.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_deu.mnu

[inif]
1=wincmd.ini,configuration,languageini,wcmd_fra.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_fra.mnu

[inin]
1=wincmd.ini,configuration,languageini,wcmd_dut.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_dut.mnu

[inik]
1=wincmd.ini,configuration,languageini,wcmd_dan.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_dan.mnu

[inio]
1=wincmd.ini,configuration,languageini,wcmd_nor.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_nor.mnu

[inii]
1=wincmd.ini,configuration,languageini,wcmd_ita.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_ita.mnu

[inis]
1=wincmd.ini,configuration,languageini,wcmd_swe.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_swe.mnu

[inie]
1=wincmd.ini,configuration,languageini,wcmd_esp.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_esp.mnu

[iniz]
1=wincmd.ini,configuration,languageini,wcmd_cz.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_cz.mnu

[inip]
1=wincmd.ini,configuration,languageini,wcmd_pol.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_pol.mnu

[inih]
1=wincmd.ini,configuration,languageini,wcmd_hun.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_hun.mnu

[iniy]
1=wincmd.ini,configuration,languageini,wcmd_sk.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_sk.mnu

[inil]
1=wincmd.ini,configuration,languageini,wcmd_svn.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_svn.mnu
translation:
here I post my Install.inf so you can see what you can do with it

It's partially adjusted for Windows Commander - Iwait for the new version and then I will fix it
But it works just like this

Code: Select all

[Installation]
program=Windows Commander 5.50 (32 bit)
progname=Windows Commander
copyright=Copyright © 1993-2002 by Christian Ghisler, All Rights reserved

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

[Versioncheck]
Vernum=2

[Not running]
1=WINDOWSCMD,Windows Commander
2=TAPPLICATION,Windows Commander,Windows Commander

[Destination]
Dir=%ProgramFiles%\wincmd
Ini=wincmd.ini,Configuration,InstallDir

[Languages]
Count=14
Default=1
1=English
2=Deutsch (German),d
3=Français (French),f
4=Nederlands (Dutch),n
5=Dansk (Danish),k
6=Norsk (Norwegian),o
7=Italiano (Italian),i
8=Svenska (Swedish),s
9=Español (Spanish),e
10=Èeský (Czech),z
11=Polski (Polish),p
12=Magyar (Hungarian),h
13=Slovenský (Slovak),y
14=Slovenski (Slovene),l

[LangName]
langdir=language
0=wcmd_eng
d=wcmd_deu
f=wcmd_fra
n=wcmd_dut
k=wcmd_dan
o=wcmd_nor
i=wcmd_ita
s=wcmd_swe
e=wcmd_esp
z=wcmd_cz
p=wcmd_pol
h=wcmd_hun
y=wcmd_sk
l=wcmd_svn

;Save data the user may have changed!
[Backup data]
1=default.bar
2=no.bar

[Install]
1=installe.cab,c
2=install.cab,c
3=wincmd.key
4=wincmd.ini
5=bzip2dll.wcx
6=cpio.wcx
7=dbxplug.wcx
8=diskdir.wcx
9=ha.wcx
10=iso.wcx
11=krwc.wcx
12=lzo.wcx
13=msi.wcx
14=pack.wcx
15=ppmd.wcx
16=rpm.wcx
17=sff.wcx
18=z.wcx
19=bix.exe
20=Cab.fmt
21=ConSpawn.pipe
22=imp.exe
23=JAR32.EXE
24=MsCab.exe
25=multiarc.ini
26=multiarc.wcx
27=wcmzip32.dll
28=Wcmd_deu.mnu
29=wcx_ftp.ini
30=wcx_sftp.ini
31=plugin_sftp.wfx
32=psftp.dll
33=pageant.exe
34=puttygen.exe
35=Diskio.dll
36=DISKIO2.DLL
37=ex2fs.wfx
38=RAWIO16.DLL
39=RAWIO32.dll
40=rfsdll.dll
41=Wcicolib.icl
42=addtime_addon.exe
43=rfstool.exe
44=img.wcx
45=aviwcx.wcx
46=Services.wfx
47=PROCFS.wfx
48=Uninstall.wfx
49=Privileges.wfx
50=regfs.wfx
51=regfs_read.txt
52=icl.exe
53=iso_view.ini
54=iso.exe
55=imgdll.ddl
56=procfs_info.txt

[Installd]
1=installd.cab,c
2=install.cab,c
3=wincmd.key

[Desktop]
1=wincmd32.exe","Windows Commander.lnk

[Group]
Groupname=Windows Commander
1=wincmd32.exe","Windows Commander 32
2=wincmd.hlp","Windows Commander Help
3=wcuninst.exe","Uninstall or Repair Windows Commander

[Groupd]
Groupname=Windows Commander
1=wincmd32.exe","Windows Commander 32
2=wincmd.hlp","Windows Commander Hilfe
3=wcuninst.exe","Windows Commander Entfernen oder Reparieren

[ini]
1=wincmd.ini,configuration,languageini
2=wincmd.ini,configuration,Mainmenu

[inid]
1=wincmd.ini,configuration,languageini,wcmd_deu.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_deu.mnu

[inif]
1=wincmd.ini,configuration,languageini,wcmd_fra.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_fra.mnu

[inin]
1=wincmd.ini,configuration,languageini,wcmd_dut.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_dut.mnu

[inik]
1=wincmd.ini,configuration,languageini,wcmd_dan.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_dan.mnu

[inio]
1=wincmd.ini,configuration,languageini,wcmd_nor.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_nor.mnu

[inii]
1=wincmd.ini,configuration,languageini,wcmd_ita.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_ita.mnu

[inis]
1=wincmd.ini,configuration,languageini,wcmd_swe.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_swe.mnu

[inie]
1=wincmd.ini,configuration,languageini,wcmd_esp.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_esp.mnu

[iniz]
1=wincmd.ini,configuration,languageini,wcmd_cz.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_cz.mnu

[inip]
1=wincmd.ini,configuration,languageini,wcmd_pol.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_pol.mnu

[inih]
1=wincmd.ini,configuration,languageini,wcmd_hun.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_hun.mnu

[iniy]
1=wincmd.ini,configuration,languageini,wcmd_sk.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_sk.mnu

[inil]
1=wincmd.ini,configuration,languageini,wcmd_svn.lng
2=wincmd.ini,configuration,Mainmenu,wcmd_svn.mnu
Thonemann wants to prevent the opening of the window with links while installing.


ghisler(Author) replies that links are created by DDE (dynamic data exchange) and that Windows opens itself the folder with these links if created with DDE. He does not know a possibility to create this folder hidden. The alternative is to copy the links into the corresponding folder but maybe it wouldn't work in future windows versions.


It's the summary of the german thread.

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