Overview of command line parameters for the Installer

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
white
Power Member
Power Member
Posts: 5789
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Overview of command line parameters for the Installer

Post by *white »

ghisler(Author) wrote: 2023-07-27, 09:36 UTC The function was requested by a user who wanted to install TC to a USB flash drive without adding anything to the registry. /I0 turns off the writing to the TC section, and /R turns off writing to the uninstall section.
I know. My point is that /I is for specifying a folder for the ini-files. Adding a parameter that turns off the writing to the TC section is not intuitive, because it turns off more than writing ini file settings to the registry.
In my opinion, it would be more logical to add paramaters to the /R switch instead, which specify what is written to the registry and what is not.

For example: use /R to write nothing to the registry, no uninstall information and no TC section. And use parameters to turn off writing certain parts to the registry.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Overview of command line parameters for the Installer

Post by *ghisler(Author) »

I will consider it for a future version. It's less intuitive, but that can be helped with some documentation.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5789
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Overview of command line parameters for the Installer

Post by *white »

ghisler(Author) wrote: 2023-07-28, 09:08 UTC I will consider it for a future version.
It would be better to make the change now. As you mentioned, the intention was to allow TC to be installed without adding anything to the registry, which is likely the most common use case. Having a single switch (/R) instead of two (/RI0) would make it more convenient. If the change is made later, compatibility would likely be a concern and the solutions will be less elegant and requiring more code.
ghisler(Author) wrote: 2023-07-28, 09:08 UTC It's less intuitive,
It's also less flexible if you want to add more customizations later on.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Overview of command line parameters for the Installer

Post by *ghisler(Author) »

It would be better to make the change now.
Sorry but Total Commander 11 is now feature complete. If I added new features again now, the beta test would drag on forever.
Author of Total Commander
https://www.ghisler.com
User avatar
AntonyD
Power Member
Power Member
Posts: 1565
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: Overview of command line parameters for the Installer

Post by *AntonyD »

But the problem concerns the PROCESS of installing the Total! Not the code of the product itself, but the code of the sub-product that helps to install this final "feature-completed" product into the system. And it is more than reasonable to do it now, as a colleague white explained above!
#146217 personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Overview of command line parameters for the Installer

Post by *ghisler(Author) »

I disagree, this would delay the release by at least another month.
Author of Total Commander
https://www.ghisler.com
Post Reply