Test: New installer for beta versions

English support forum

Moderators: sheep, Hacker, Stefan2, white

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

Re: Test: New installer for beta versions

Post by *DrShark » 2019-12-04, 23:00 UTC

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 UTC
The 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?
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38451
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Test: New installer for beta versions

Post by *ghisler(Author) » 2019-12-05, 15:55 UTC

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
http://www.ghisler.com

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

Re: Test: New installer for beta versions

Post by *DrShark » 2019-12-05, 19:49 UTC

ghisler(Author) wrote:
2019-12-05, 15:55 UTC
It 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.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38451
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Test: New installer for beta versions

Post by *ghisler(Author) » 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.
Author of Total Commander
http://www.ghisler.com

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

Re: Test: New installer for beta versions

Post by *DrShark » 2019-12-08, 21:27 UTC

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.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

Post Reply