WebUpdate - targetdir problem

Hi,

I'm trying to update files in a subfolder with inf file (appcomp). With using parameter like this doesn't work:

[file1]
url=**********/test.csv_NEW
targetdir={app}/satellite
newchecksum=464660
localversion=satellite/test.csv
descr=Test file

I've found a topic like my problem, but i couldn't understand the solution. I'm not familiar with cab files. What should i do exactly?

http://www.tmssoftware.com/site/forum/forum_posts.asp?TID=1385&KW=webupdate&title=twebupdate-subdir

Thanks.

With Windows 7, this can not longer be done as such due to security measures (to prevent your app from writing in the \Program Files folder)

You will need to:

1) create a CAB file and set the relative folder of the file inside this CAB file to satellite (See component TCABFile if you want to create this CAB file yourself) 

2) specify the CAB file as application component , i.e. add it on the appcomps= list in the [application] section of the .INF file.