[Wish]Smarter uninstaller

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

[Wish]Smarter uninstaller

Post by *m^2 »

I'm playing with several versions of Total Commander. When I want to remove one, uninstaller tries to close all running instances of TC. It should check for executable location and leave these that won't affect uninstallation working.
User avatar
Hacker
Moderator
Moderator
Posts: 13068
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

For installer, too, please. :)

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

I wonder why would one use the uninstaller for such "advanced tests" :wink:

As all we know TC does NOT write endless registry keys nor does create files other than those in its dir and the config files.
TC for Linux please!
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

roentgen wrote:I wonder why would one use the uninstaller for such "advanced tests" :wink:
This is the mouse clicking generation. :wink:
Cannot even install a simple device like a coffee machine, because it comes without a setup programme. :(

Karl
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Cannot even install a simple device like a coffee machine, because it comes without a setup programme
:lol:
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Stance
Power Member
Power Member
Posts: 1079
Joined: 2005-03-29, 06:26 UTC

Post by *Stance »

roentgen wrote:I wonder why would one use the uninstaller for such "advanced tests" :wink:
-Because one is taking part in a public Beta test ?
roentgen wrote:As all we know TC does NOT write endless registry keys nor does create files other than those in its dir and the config files.
Surprise!
m^2 wrote:When I want to remove one, uninstaller tries to close all running instances of TC.
What happens when TC is running from a USB device? Is this instance closed by the uninstaller, too ?
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Stance wrote:
m^2 wrote:When I want to remove one, uninstaller tries to close all running instances of TC.
What happens when TC is running from a USB device? Is this instance closed by the uninstaller, too ?
Yes, it does.
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Re: [Wish]Smarter uninstaller

Post by *StatusQuo »

m^2 wrote:[...], uninstaller tries to close all running instances of TC.
I wonder why would one use the uninstaller for such "advanced tests" :wink:

As all we know TC does NOT write endless registry keys nor does create files other than those in its dir and the config files.
Agree. It's enough to unpack the files from the setup archive (and copying the help file in your language), uninstalling would be as simple as deleting its directory.
The perfect tool for this is already on your disk: TC. :-) Especially for testing different versions this is much more flexible than any installer, I think.

If you need shortcuts in start menu or desktop: a link in the directory hotlist (^D) quickly leads you there, Shift-F5 creates the shortcut - fully customizable. ;-)
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
Stance
Power Member
Power Member
Posts: 1079
Joined: 2005-03-29, 06:26 UTC

Post by *Stance »

StatusQuo wrote:It's enough to unpack the files from the setup archive (and copying the help file in your language), uninstalling would be as simple as deleting its directory.
The perfect tool for this is already on your disk: TC. :-) Especially for testing different versions this is much more flexible than any installer, I think.
Newer versions of the TC-setup comes as a signed archive for VISTA.
No chance to re-pack the installer and run in on windows vista without a error message.

BTW: It's a paradoxon: Having TC already installed & running and modifing the TC setup archive. :?
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Stance wrote:BTW: It's a paradoxon: Having TC already installed & running and modifing the TC setup archive. :?
Why would you want to modify the TC setup archive?
(What's meant above is: Instead of letting the installer do something you can use Alt-F9 to unpack the installer's contents to the target dir - and the "installation" is done.)
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
petermad
Power Member
Power Member
Posts: 14809
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Why would you want to modify the TC setup archive
Perhaps to modify the INSTALL.INF file in order to make a custom setup.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Why would you want to modify the TC setup archive?
I have to update several TC installations at my company. This is a very easy task by modifying the INSTALL.INF file.
(Running unattended, no new shortcuts at desktop/start menu)

With the new signed archive it fails, I have to use an older one and exchange the content...

A smarter way would be indeed an installer which looks for an external INSTALL.INF file within the same folder !
#5767 Personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Newer versions of the TC-setup comes as a signed archive for VISTA.
No chance to re-pack the installer and run in on windows vista without a error message.
Indeed signed EXEs cannot be made unsigned. But you can get the self-extractor separately from here:
https://plugins.ghisler.com/addons/sfxhead_installer.zip

You may freely use it. It unpacks everything to temp, runs a program called install.exe or setup.exe, waits for its termination, and then deletes all temporary files.
Author of Total Commander
https://www.ghisler.com
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Thanks a lot !

To use it I have done following at TC install dir:

1. copied the existing SFXHEAD.SFX to "SFXHEAD.SFX.org" to have it handy
2. copied the installer version to "SFXHEAD.SFX.installer"
3. for general purpose I just copy SFXHEAD.SFX.org to SFXHEAD.SFX
4. for installer build purpose I just copy SFXHEAD.SFX.installer to SFXHEAD.SFX
#5767 Personal license
Post Reply