DarkNerd : Picture Gallery
DarkNerd
Navigation
 

Adverts

 

Supporters
 

Tech Docs 002

TWebUpdate lets you put updates to your application on a server and the component will download the updates and install, even if the update includes the main application exe. But it does need a bit of setting up.

Setting up the component in the application is pretty easy I found, just drop it into the form and set the update url and that, it's the .INF file that needs some setting up.

TMS do an UpdateBuilder program to try and help but I find this constrictive to be honest.

You need to read the documentation and learn how the INF file works, then, if you're gonna use cab downloads you need a copy of UltimateZip (which is great) and make sure your cabs are Lzh format.
 


A TMS Components TWebUpdate INI File

[update]
newversion=2,0,0,0
localversion=myexe.exe
signature=myexe
[files]
count=1
[file1]
url=http://www.myurl.co.uk/mydirectory\myexe.cab
newversion=2,0,0,0
localversion=myexe.exe
[application]
appupdate=1
appname=myexe.exe
appcomps=myexe.cab

Remember when use UltimateZip to make the cab file to use MsZip format, and to set the ExtractCab TWebUpdate property to true
 

 

 

.