Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

TWebUpdate - local file version check

 Post Reply Post Reply
Author
Wasilkowski Richard View Drop Down
New Member
New Member
Avatar

Joined: 09 Jun 2010
Posts: 7
Post Options Post Options   Quote Wasilkowski Richard Quote  Post ReplyReply Direct Link To This Post Topic: TWebUpdate - local file version check
    Posted: 04 Apr 2011 at 10:06am
As it stands, TWebUpdate uses the LocalVersion string in the Update section of the .INI file to use when working out the current version - this has caused a little problem when the application running isn't named the same as the file in the LocalVersion string.

I've manually changed the line that does this to use Application.ExeName instead (it's line 2967 of WUPdate.pas) but it'd be nice if this could be officially changed so that the current version returned is always the running exe and not that of a (possibly non-existent) file in the ini.
Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 8390
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Posted: 04 Apr 2011 at 10:16am
It is by design that the file against which the version check is performed is specified in the .INF file.Some users rely on this specifically to be able to specify another filename than the EXE file, so we can't really change this functionality. I'd suggest to write the same name as the EXE file under localversion if you need it to be based on the EXE itself.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down