Silent installation for all users

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
ABaldys
New Member
New Member
Posts: 1
Joined: 2019-01-16, 15:22 UTC

Silent installation for all users

Post by *ABaldys »

Hi,

Is it possible to make silent installation for all users without modifying .exe file?

Running installer with /A1H1G1D1 describde here http://www.ghisler.ch/wiki/index.php/How_to_make_installation_fully_automatic%3F will only create start menu entry and desktop shortcut only for current user.

Update:
Setting auto, hidden, mkgroup, mkdesktop to 1 and UserName to *, in INSTALL.INF will create start menu entry and desktop shortcut.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48070
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Silent installation for all users

Post by *ghisler(Author) »

No, you either have to move the created lnk file yourself, or use method 2 or 3 described on the linked wiki page.
Author of Total Commander
https://www.ghisler.com
User avatar
Andy Solo
Junior Member
Junior Member
Posts: 29
Joined: 2019-03-15, 12:56 UTC

Re: Silent installation for all users

Post by *Andy Solo »

Through trial and error, I determined that the maximum number of parameters in the section for the [ini] language in the INSTALL.INF or INSTALL64.INF file is 101.

Those I ask:
[ini]
1 = wincmd.ini, configuration, languageini
2 = wincmd.ini, configuration, Mainmenu
...
101 = wincmd.ini, Lister, Wrap, 0
102 = wincmd.ini, Packer, ARJlongnames, 1
103 = wincmd.ini, Right, ShowAllDetails, 0

Parameter 101 is written to the wincmd.ini file after installation. A 102 and more - no.

How to make, that it was possible to set parameters more than 101?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48070
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Silent installation for all users

Post by *ghisler(Author) »

You can't, it's a hard coded limit to make the program more robust (no danger of buffer overflows).
Author of Total Commander
https://www.ghisler.com
User avatar
Dalai
Power Member
Power Member
Posts: 9383
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Silent installation for all users

Post by *Dalai »

It's possible when wrapping the normal TC installation in some kind of script. In my case I started with Batch (CMD) and switched to AutoIT later on. This way you can make all sorts of changes, copy files (e.g. plugins) and many more.

The easy way to reach your goal is to overwrite the generated wincmd.ini with a user-specified one, after TC setup is finished.

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
Post Reply