UpdateBuilder & WebUpdate & application components

Hi Team,


building single file updates with updatebuilder works like a charm. 
Now, I need to update the main executable of the programm and some dlls in the subdirectory called 'lib'


The following inf file allows me do download all files with the WebUpdate component. The compressed dll gets downloaded to lib. But the uncompress step happens in the maindirectory of the application. 

[update]
newversion=4.0.2.1010
localversion=CBManager.exe
[files]
count=2
[file1]
url=...
localversion=lib\CBManager_Res.dll
targetdir={app}\lib
descr=Grafikbibliothek
compressed=0
mandatory=1
[file2]
url=...
newversion=4.0.2.1010
localversion=CBManager.exe
targetdir={app}
descr=Programmdatei
compressed=0
mandatory=1
[application]
appupdate=1
appname=CBManager.exe
silentrestart=1
appcomps=lib\CBManager_Res.CAB CBManager.CAB


How do i need to configure the updateprocess to update the dll accordingly? 

Thanks and best regards
Ken

Ok, i figured it out with the manual. An additional file is needed.


Then my question is, does the updatebuilder itself support the creation of such a file and set it to hidden? Otherwise, this might be a nice enhancement.

Regards
Ken

If the DLL is always loaded by the EXE, it needs to be decompressed after the EXE was stopped and for this, it is necessary to put the relative folder where the DLL file needs to be decompressed in the CAB file itself (instead of specifying by TargetDir)
If this DLL is not held in memory by the app, it can be replaced while the EXE is running and then you can simply let it decompress in the TargetDir.