Two new USB installers for Total Commander

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2ghisler(Author)
Everything is Ok now, thanks.
In v0.91 it was a bug: after you interrupt installer, it lefts target installation. It seems you corrected this.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

a) If you uncheck "Copy plugins from desktop version", then installer jumps to page "Ready", not to page "Select ini-files".
b) Installer has not icon - please add it.
c) It doesn't inform that it adds "StartTC.exe" to the root.
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

1) If multiple extensions share the same packer (i.e. .mat and .fig can be unpacked by 5mat.wcx) the total size will be increased by every extension regardless if the plugin has already been considered or not.

2) The size of the free space could have some more space for its digits.

Look here: Image: http://tbeu.totalcmd.net/forum/tc2usb.png

tbeu
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
Juergen
Power Member
Power Member
Posts: 517
Joined: 2003-05-02, 18:19 UTC
Location: Berlin (Germany)
Contact:

Post by *Juergen »

Is it possible to hide the [ < Back ] button on the first page of the new Wizard-based installer? Currently it's a little confusing.
Doesn't uninstalling TC on the USB stick just mean deleting the concerning directory, and the file 'starttc.exe'? So I think the file 'Tcuninst.exe' isn't required on the USB stick, is it? Just to save a little space on the stick.

Regards, Juergen
My add-ons and plugins for TC: NiftyLink, mbox, Sequences
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

a) If you uncheck "Copy plugins from desktop version", then installer jumps to page "Ready", not to page "Select ini-files".
This is by design. Why would you want to copy plugin ini files without the plugins?
b) Installer has not icon - please add it.
I will check whether a property sheet can have an icon.
c) It doesn't inform that it adds "StartTC.exe" to the root.
It lists only those components which the user can influence. Currently you cannot decide whether StartTC should be installed or not. Should this be added, and if yes, on which page would you add the checkbox?
1) If multiple extensions share the same packer (i.e. .mat and .fig can be unpacked by 5mat.wcx) the total size will be increased by every extension regardless if the plugin has already been considered or not.
For simplicity this isn't currently done. I will check how complex this would be to add.
2) The size of the free space could have some more space for its digits.
Wow, a 2 GB stick! OK, I will adjust the size.
Is it possible to hide the [ < Back ] button on the first page of the new Wizard-based installer? Currently it's a little confusing.
Yes, this can be done, good idea. I'm surprised that the PropertySheet function creates it at all on that page.
Doesn't uninstalling TC on the USB stick just mean deleting the concerning directory, and the file 'starttc.exe'? So I think the file 'Tcuninst.exe' isn't required on the USB stick, is it? Just to save a little space on the stick.
It can also be used to put links to TC on the desktop and in the start menu on the target machine (repair), so I better leave it there. It doesn't take much space anyway.
Author of Total Commander
https://www.ghisler.com
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

It can also be used to put links to TC on the desktop and in the start menu on the target machine
On an USB-stick or a CD ? curious ...
#5767 Personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Both, of course - tcuninst.exe will just put the links on that computer into which you have just plugged the stick. This may be useful because normal USB sticks don't support autorun, so if you use TC on some fixed machines, you can create an icon for it there to start it more quickly.
Author of Total Commander
https://www.ghisler.com
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2ghisler(Author)
Currently you cannot decide whether StartTC should be installed or not. Should this be added, and if yes, on which page would you add the checkbox?
I think, you can always install it, but inform user on the last page: "You can now start TC by running X:\Path\Totalcmd.exe or StartTC.exe located in the root of the target drive."
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

tcuninst.exe will just put the links on that computer into which you have just plugged the stick
Wow, I never noticed this feature ! (never wanted to uninstall TC !)

I just have modified the TCUNINST.WUL file (on the stick only) to hold 1 line only :

Code: Select all

$desktop$\Total Commander.lnk
Finally I set the read-only attribute to both TCUNINST files (to prevent a self destruction).

Now a "Repair" will set shortcuts to a foreign PC and a "Remove" will remove the shortcuts only :D
#5767 Personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

OK there is a new tc2usb.exe available now, and this time I have also updated the U3 installer (has anyone tried that one yet?).

What's new:
- some UI enhancements (icon, field widths)
- user can choose to add starttc.exe or not
- correct size calculation for plugins from same directory

Please test! You can download again from the first post of this thread. Thanks!
Author of Total Commander
https://www.ghisler.com
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Oops ... tc2usb.zip has new readme.txt (with old version reference) but old tc2usb.exe.
#5767 Personal license
User avatar
gbo
Senior Member
Senior Member
Posts: 329
Joined: 2005-03-31, 19:58 UTC
Location: Lausanne (Switzerland)

Post by *gbo »

ghisler(Author) wrote:I have also updated the U3 installer (has anyone tried that one yet?).

What's new:
- some UI enhancements (icon, field widths)
- user can choose to add starttc.exe or not
- correct size calculation for plugins from same directory

Please test! You can download again from the first post of this thread. Thanks!
First of all thank for the U3 TC release 8)

I bought a disk2go SMART U3 1GB yesterday and installed totalcmd.u3p it runs smoothly.

This morning (04 nov. 2005) I tried the new version but I haven't noticed any differences. [Edit] I noticed now that icons are copied but they aren't linked to the Buttonbar, I use nested bars so this is perhaps the reason why icons are not linked?[/Edit]

Here is my feedback/remarks

- How can I upgrade with u3p install, the only solution I found was to remove program and then add the new version. But this is not ideal because if you have fine tune your application you will lost all the settings. What will you advice ?
(J:\System\Apps\F9C45380-822A-434b-B70E-5024AE551E68\totalcmd.u3p)

- It will be nice if icons will be copied and correctly linked (U3_DEVICE_EXEC_PATH) now it has to be done (adpat path) manually

- Which environment variable should I use to adapt path for icons, apps... ? It looks like I should use U3_DEVICE_EXEC_PATH instead of
COMMANDER_PATH is it right ?

Here are some values (extracted with Environment Variables plugin from Vadim Yuryshev):

COMMANDER_PATH=C:/Documents and Settings/Administrator/Application Data/U3/0AD1B95131F28895/F9C45380-822A-434b-B70E-5024AE551E68/Exec

U3_APP_DATA_PATH=J:/System/Apps/F9C45380-822A-434b-B70E-5024AE551E68/Data

U3_DEVICE_EXEC_PATH=J:/System/Apps/F9C45380-822A-434b-B70E-5024AE551E68/Exec

U3_DEVICE_DOCUMENT_PATH=J:/Documents

U3_DEVICE_PATH=J:

U3_HOST_EXEC_PATH=C:/Documents and Settings/Administrator/Application Data/U3/0AD1B95131F28895/F9C45380-822A-434b-B70E-5024AE551E68/Exec
Gil
Licence #17346

90% of coding is debugging. The other 10% is writing bugs.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2sqa_wizard
Sorry, I made a mistake with the upload. Please try again now.

2gbo
Sorry too, it really was the old version again. The new version with the wizard interface should be available now.

Indeed U3 doesn't allow to reinstall a program with the same version number, something which would happen only during a beta test anyway. What you can do is the following:
1. Download the totalcmd.u3p package
2. Open it with Ctrl+PageDown, it's just a zip file
3. Go into the Manifest directory
4. Open the file Manifest\manifest.u3i with F4
5. Change the text
version="6.53"
to
version="6.53.1"
6. Save the file, close the archive, and confirm the repacking

You can now perform an "update", because the U3 installer thinks that the version is newer than the already installed version!
It will be nice if icons will be copied and correctly linked
Currently no programs or icons in the toolbar are copied. Why? The linked programs may not run correctly from USB, or need a special USB version, so it's better to recreate the problematic buttons in the toolbar.
Which environment variable should I use to adapt path for icons, apps... ?
I recommend that you put programs and files in a subdir below Totalcmd, and then use the U3_DEVICE_EXEC_PATH variable. The downside is that they will be removed when you uninstall Total Commander. An alternative would be to just put them in some public directory like j:\programs or so, and then use U3_DEVICE_PATH.

You cannot use COMMANDER_PATH with U3, because the program will be copied to a temporary directory on your Windows partition and run from there. This is done so it can be properly shut down when the user pulls the U3 stick without choosing "Remove" from the U3 menu.
Author of Total Commander
https://www.ghisler.com
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

tc2usb looks and works fine, thanks a lot !

I just noticed a minor, but mystic thing :
One of my USB-sticks is mapped fixed to drive B, but is not shown at the "Install to" selection list.
Nevertheless I can type the path manually and it is generated successfully :)
#5767 Personal license
Juergen
Power Member
Power Member
Posts: 517
Joined: 2003-05-02, 18:19 UTC
Location: Berlin (Germany)
Contact:

Post by *Juergen »

2sqa_wizard:
Wow, I never noticed this feature ! (never wanted to uninstall TC !)
Exactly the same is true for me. :D

2ghisler(Author):
Works fine here ( on Windows 98 ), thank you!

Regards, Juergen
My add-ons and plugins for TC: NiftyLink, mbox, Sequences
Post Reply