[TC11.03] Silent install - registry is updated incorrectly if TC is running

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Borek
Junior Member
Junior Member
Posts: 2
Joined: 2016-12-30, 08:27 UTC

[TC11.03] Silent install - registry is updated incorrectly if TC is running

Post by *Borek »

Hello
I tried to remotelly update Total Commander on all our computers using command "tcmd1103x64.exe /A1H1L11N*". When Total Commander is running on the target computer, silent install will run without error. It does not update the installation. But it does change the version of TC in the registry to the current version. How to reproduce this:
  • TC 10 is running
  • tcmd1103x64.exe /A1H1L11N* is run remotelly
  • TC 10 remains installed and running
  • version 11.03 is shown in the Control Panel
This is a problem because our remote deployment software reads TC version from the registry and displays that all computers have 11.03 installed. Which is not true. Several older versions remained on some computers. We are using Ninite Pro beta "custom packages" function and it lacks "custom steps" so we cannot kill running TC before installer is run.
User avatar
Stefan2
Power Member
Power Member
Posts: 4159
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: [TC11.03] Silent install - registry is updated incorrectly if TC is running

Post by *Stefan2 »

Borek wrote: 2024-04-18, 11:32 UTC ... and it lacks "custom steps" so we cannot kill running TC before installer is run.

Thanks for reporting this.



In the meantime you may want to deploy a script (bat/VBS/PoSh) with the setup.exe and do all need steps from there.

- execute the script instead of the setup
- check if TC runs
- show the user a message that TC need to be closed
- wait till TC doesn't run
- execute the setup



 
Post Reply