UpdateBuilder and add a new file in it

Hi

I use UpdateBuilder ver 2.1.0.0

I add a new file to include into the update. So I thought the file would be copied to the destination directory. But after checking it is not the case.

inf file =
[file14]
url=https://xxxxxxxxxxxxx/GestBag/twaindsm.dll_NEW
localversion=twaindsm.dll
targetdir={app}
descr=Librairie Scanner 64 bit
filesize=203160
newsize=203160

Part of the WUPDATE.LOG from the destination update
...
06/08/2020 09:01:59 : [971] Processing file : https://xxxxxxxxxxxxxx/GestBag/ssleay64.dll_NEW[ssleay64.dll,nv=,nd=,ns=396224,nc=-1] (Status:0) (Error:0)
06/08/2020 09:01:59 : [979] Check versions (Status:3) (Error:0)
06/08/2020 09:01:59 : [930] No new version found (Status:0) (Error:0)
06/08/2020 09:01:59 : [971] Processing file : https://xxxxxxxxxxxxx/GestBag/twaindsm.dll_NEW[twaindsm.dll,nv=,nd=,ns=203160,nc=-1] (Status:0) (Error:0)
06/08/2020 09:01:59 : [979] Check versions (Status:3) (Error:0)
06/08/2020 09:01:59 : [930] No new version found (Status:0) (Error:0)
06/08/2020 09:02:00 : [915] Download : https://xxxxxxxxxx/GestBag/Bagueur.CAB (Status:3) (Error:0)

According I understand, because it didn't find the destination file, the update process doesn't copy this file into destination directory.
Is it a correct behavior or I missed something ?

regards
olivier

Do I understand correct this DLL is not yet on the system?
In this case, you need to set WebUpdate.VersionCheck = vcAlways

Hi

Yes this DLL is not on the system, and I would like (and some others files - not only DLL files) to add them to the application directory.

I tried your proposal :
[file14]
url=https://xxxxxxxxxx/GestBag/twaindsm.dll_NEW
localversion=twaindsm.dll
targetdir={app}
descr=Librairie Scanner 64 bit
filesize=203160

I run an update, the wupdate.log indicate :
06/08/2020 16:39:25 : [971] Processing file : https://xxxxxxx/GestBag/twaindsm.dll_NEW[twaindsm.dll,nv=,nd=,ns=0,nc=-1] (Status:0) (Error:0)
06/08/2020 16:39:25 : [979] Check versions (Status:3) (Error:0)
06/08/2020 16:39:27 : [915] Download : https:/xxxxx/GestBag/Bagueur.CAB (Status:3) (Error:0)
06/08/2020 16:39:42 : [962] Found application component : Bagueur.CAB (Status:0) (Error:0)
06/08/2020 16:39:42 : [915] Download : https://xxxxxx/GestBag/twaindsm.dll_NEW (Status:3) (Error:0)
06/08/2020 16:39:42 : [962] Found application component : twaindsm.dll_NEW (Status:0) (Error:0)
06/08/2020 16:39:42 : [948] Finished processing update control file (Status:3) (Error:0)

as the result the file twaindsm.dll is still not into the application directory :frowning_face:

What's wrong ?

olivier

If it is not already already used by the application, do not make it an application component.

Hi

heu, yes I will used it soon, but for the moment I copy manually these files to application directory to all computer using my app

that's means something wrong ?

regards

olivier

I'm sorry but I do not know how to interpret your answer.
I suggested to NOT define the new DLL as application component if this file is not supposed to be used by the application yet.

Hi

I am sorry too, I need this library for my new app version which include the ability to use 64bit scanner driver.

Thus, for the moment I have to copy this driver manually to the directory to all computers we used till that will worked using UpdateBuilder.

regards
olivier

Well, I don't understand. If this DLL is not on the user system, how can it be part of the application?
Under appcomps are EXE files and DLL files that are loaded in memory when the application is run.