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.
Silent installation for all users
Moderators: white, Hacker, petermad, Stefan2
- ghisler(Author)
- Site Admin
- Posts: 48097
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Silent installation for all users
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
https://www.ghisler.com
Re: Silent installation for all users
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?
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?
- ghisler(Author)
- Site Admin
- Posts: 48097
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Silent installation for all users
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
https://www.ghisler.com
Re: Silent installation for all users
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
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
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror