Updatebuilder

Hello,

 
I have the following issue with Updatebuilder:
 
Let's say:
- I have 3 files with the same name in different directories
- I want to be able to update files individually (no cabs)
 
So:
/test.txt
/rep1/test.txt
/rep2/test.txt
 
-> The UBProj file contains the proper path (see bellow)
 
The problem is that the generated INF file has all the same URL... So, when you try to use WebUpdate, it will take all the same test.txt for the three different directories... I have to update the URL manually to make TWebUpdate works...
 
Part of the UPProj file:
[file1]
url=c:\inetpub\gestadmin\rep1\test.txt
major=0
minor=0
release=0
build=0
localver=/rep1/test.txt
targetdir=/rep1
compressed=0
descr=
newsize=62034
newsum=5646090
newcrc32sum=1165666706
includeappcomps=0
includefilesize=0
mandatory=0
update=3
[file2]
url=c:\inetpub\gestadmin\rep2\test.txt
major=0
minor=0
release=0
build=0
localver=/rep2/test.txt
targetdir=/rep2
compressed=0
descr=
newsize=62043
newsum=5646513
newcrc32sum=212719287
includeappcomps=0
includefilesize=0
mandatory=0
update=3
 
Generated INF File:
[update]
date=26/12/2011
localversion=test.txt
time=11:37
[files]
count=3
[file1]
url=http://localhost/test.txt
localversion=test.txt
targetdir={app}
newchecksum=-1533374733
filesize=62042
[file2]
url=http://localhost/test.txt instead of http://localhost/rep1/test.txt
localversion=/rep1/test.txt
targetdir=/rep1
newchecksum=1165666706
filesize=62034
[file3]
url=http://localhost/test.txt instead of http://localhost/rep2/test.txt
localversion=/rep2/test.txt
targetdir=/rep2
newchecksum=212719287
filesize=62043
 
 

UpdateBuilder currently unfortunately does not have a built-in capability to upload to different folders. It uploads all files to one folder. You'd have the manually upload the files in different subfolders if you want to handle it this way.