[TC10.51] Installer /Z"INSTALL.ZIP", wrong error if file does not exist

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

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

[TC10.51] Installer /Z"INSTALL.ZIP", wrong error if file does not exist

Post by *white »

Run:

Code: Select all

tcmd1051x32_64.exe /Z"INSTALL_OOPS_TYPO.ZIP"
The error message says:
The setup information file was not found!
You need to unpack the whole archive before running install.exe!
The current installers can no longer work with unpacked files, can they?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC10.51] Installer /Z"INSTALL.ZIP", wrong error if file does not exist

Post by *ghisler(Author) »

They can, but it seems that the ZIP file wasn't found, or doesn't have zero compression, or doesn't contain the install.inf file.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC10.51] Installer /Z"INSTALL.ZIP", wrong error if file does not exist

Post by *white »

white wrote: 2022-09-06, 16:45 UTC The current installers can no longer work with unpacked files, can they?
ghisler(Author) wrote: 2022-09-07, 18:21 UTC They can..
Not when I test it. Please tell me how to accomplish that. The old installers INSTALL.EXE and INSTALL64.EXE didn't work with packed installation data that was added to the installer files. They worked with unpacked installation files and looked for an .INF file with the same name as the installer, so INSTALL.INF and INSTALL64.INF respectively. That no longer works. Not even when I take the sfxhead part from the new installers and rename it to INSTALL.EXE.
ghisler(Author) wrote: 2022-09-07, 18:21 UTC ..but it seems that the ZIP file wasn't found..
That is what the report is about, which is indicated by the text "if file does not exist" and the file name used in the example: "INSTALL_OOPS_TYPO.ZIP".

The error message is still the same as when the installer didn't support the installation files to be stored in a ZIP file. The statement "You need to unpack the whole archive before running install.exe!" is no longer correct. TC is no longer downloaded as a ZIP file you need to unpacked fully before running install.exe. The installer is no longer named install.exe and the data is packed.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC10.51] Installer /Z"INSTALL.ZIP", wrong error if file does not exist

Post by *ghisler(Author) »

Ah, sorry, I misunderstood you. Yes, the new installers can't work directly with cab etc, they need a ZIP file with zero compression.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC10.51] Installer /Z"INSTALL.ZIP", wrong error if file does not exist

Post by *ghisler(Author) »

I will change it to:
The setup information file was not found!
The installer can only install from a ZIP archive with zero compression!
Installation aborted!

Die Setup-Informationsdatei wurde nicht gefunden!
Das Installationsprogramm kann nur aus einem ZIP-Archiv mit 0 Kompression installieren!
Installation abgebrochen!
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC10.51] Installer /Z"INSTALL.ZIP", wrong error if file does not exist

Post by *white »

HISTORY.TXT wrote: 26.09.22 Fixed: Show more meaningful error when installer is called with invalid install file as parameter (32/64)
Tested OK with all installers of TC10.52rc1.

Moderator message from: white » 2022-10-05, 09:41 UTC

Moved to Fixed bugs.
Post Reply