Test: New installer for beta versions

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Test: New installer for beta versions

Post by *DrShark »

ghisler(Author) wrote: 2019-12-04, 18:13 UTC That's actually a feature of the installer! If there is an underscore in the name, it will look for the inf file with that name after the underscore!
I see, it looks like it was not documented.
ghisler(Author) wrote: 2019-12-04, 18:13 UTCThe correct name for beta 3 would be:
totalcmdbetainst_tcbeta3.exe
Is it OK that with a name totalcmdbetainst_tcbeta<nothing or any number>.exe it offers only TC 9.50 beta 2 for downloading here?

And shouldn't the name like totalcmdbetainst_(<whatever>.exe (with left parenthesis after underscore) then also make it show "Version not available!" error instead of offering latest available beta?
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Test: New installer for beta versions

Post by *ghisler(Author) »

It downloads the tcbeta3.inf from www.ghisler.com/install. This is used for older TC versions, so there is no tcbeta8.inf right now.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Test: New installer for beta versions

Post by *DrShark »

ghisler(Author) wrote: 2019-12-05, 15:55 UTCIt downloads the tcbeta3.inf from www.ghisler.com/install.
Maybe it should... But, I downloaded tcbeta3.inf to compare offline and online install, and that's what happens here:

1) the result of starting offline install by launching totalcmdbetainst_tcbeta3.exe tcbeta3.inf is:
offer to install TC 9.50 beta 3
which is expected.

2) the result of starting online install by launching just totalcmdbetainst_tcbeta3.exe is:
* offer to install TC 9.50 beta 2.
which is unexpected because beta 2 is offered instead of beta 3.

3) the result of starting offline install by launching totalcmdbetainst_(tcbeta3.exe tcbeta3.inf is:
* offer to install TC 9.50 beta 3
which is expected.

4) the result of starting online install by launching just totalcmdbetainst_(tcbeta3.exe is:
* offer to install TC 9.50 beta 8
which is unexpected, it would be expected to get "Version not available!" error instead because the file "(tcbeta3.exe" doesn't exist on ghisler.ch server.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Test: New installer for beta versions

Post by *ghisler(Author) »

Ah, you are right - numbers are ignored after the underscore, so it gets tcbeta.inf. This is done because some browsers add (2), (3) etc to the name when downloading a file multiple times.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Test: New installer for beta versions

Post by *DrShark »

ghisler(Author) wrote: 2019-12-06, 16:21 UTC Ah, you are right - numbers are ignored after the underscore, so it gets tcbeta.inf. This is done because some browsers add (2), (3) etc to the name when downloading a file multiple times.
Browsers usually add some character(s) between name and following number. You could also use full inf name (with extension), like totalcmdbetainst_tcbeta3.inf.exe, for this feature.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply