WebUpdate and error during build

Hi,

I have a strange error compiling my project:

[Error message] [14.12.2020 11:13:49] : Cannot copy identical files G:\DelphiProjects\dta\UpdateBuilder\dta.INF

I assumed that the * .INF file would be overwritten every time the compilation was created without any error messages.

Ok ... I found the cause of the problem ... if the output folder is the same as the project folder this error is reported ... but next question, my generated INF file looks like below:

[update]
newchecksum=1429021953
localversion=dta.exe

[files]
count=1

[file1]
url=G:\DelphiProjects\dta\UpdateBuilder\UpdateRelease/dta.CAB
localversion=dta.exe
targetdir={app}
compressed=0
newchecksum=1429021953
filesize=6647093

[application]
appupdate=1
appname=dta.exe
silentrestart=1
appcomps=dta.CAB ToolsLib.dll ICLib.dll

[custom]
processparam=1.0.0.1071

  1. I have unchecked option "Include file size in update" but I still have filesize in [file1] section
  2. the dta.CAB in url is with "/" should be "\"
  1. Try to delete the .INF file so it gets fully regenerated
  2. Make sure version comparison is not file size based

Ok ... but next question.
If I use "Setting the update distribution location for network file based updates"
e.g. url=\\192.168.0.24\SHARE\UPDATE\dta.INF how can I set credentials for network share without prompt for credentials.
TWebUpdate.UserID and TWebUpdate.Password set is working with this kind of distribution location?

This cannot be preset, when the resource is password protected, Windows will prompt for it.