I am using CB 2009 and Web Update 2.2.3.0 and WebUpdateWizard
I have used this successfully in the past but with my current application I can not get the Web Update to show there is a new version. It always says No New Version Found. Below is my .INF file and my WebUpdate log. I have verified all the files are in the correct location by opening them in a web browser.
I am updating based on version number. I have version 5.3.12.20 on my hard drive and version 5.3.12.21 in a CAB file on my web site. In the log file the Version check looks wrong: Version compare of MyApp.exe: 65535. 65535. 65535. 65535 with 5.3.12.21:5.3.12.21 (Status:3) (Error:0) I trigger the update process with WebUpdateWizard1->Execute(); Can you recommend a solution.
//MY .INF FILE
[update]
newversion=5.3.12.21
localversion=MyApp.exe
[files]
count=1
[file1]
url=http://www.MyDomain.com/mw5check/MyApp.CAB
newversion=5.3.12.21
localversion=MyApp.exe
targetdir={app}
descr=MyApp5
compressed=0
[application]
appupdate=1
appname=MyApp.exe
appcomps=MyApp.CAB
[eula]
file=http://www.MyDomain.com/mw5check/license.txt
[whatsnew]
file=http://www.MyDomain.com/mw5check/whatsnewmw5.txt
//WEB UPDATE LOG FILE
20/12/2013 04:38:45 : [918] Checking for Internet connection (Status:3) (Error:0)
20/12/2013 04:38:45 : [921] Found open Internet connection (Status:3) (Error:0)
20/12/2013 04:38:45 : [915] Download : http://www.MyDomain.com/mw5check/mw5list.inf (Status:3) (Error:0)
20/12/2013 04:38:46 : [926] Update control file found (Status:3) (Error:0)
20/12/2013 04:38:46 : [933] Version based update found (Status:3) (Error:0)
20/12/2013 04:38:46 : [944] Version check : Version compare of MyApp.exe:65535.65535.65535.65535 with 5.3.12.21:5.3.12.21 (Status:3) (Error:0)
20/12/2013 04:38:46 : [930] No new version found (Status:4) (Error:0)
20/12/2013 04:38:46 : [949] Closed Internet connection (Status:3) (Error:0)
20/12/2013 04:38:46 : [949] Closed Internet connection (Status:3) (Error:0)
20/12/2013 04:38:47 : [918] Checking for Internet connection (Status:3) (Error:0)
20/12/2013 04:38:47 : [921] Found open Internet connection (Status:3) (Error:0)
20/12/2013 04:38:47 : [915] Download : http://www.MyDomain.com/mw5check/mw5list.inf (Status:3) (Error:0)
20/12/2013 04:38:47 : [926] Update control file found (Status:3) (Error:0)
20/12/2013 04:38:47 : [933] Version based update found (Status:3) (Error:0)
20/12/2013 04:38:47 : [944] Version check : Version compare of MyApp.exe:65535.65535.65535.65535 with 5.3.12.21:5.3.12.21 (Status:3) (Error:0)
20/12/2013 04:38:47 : [930] No new version found (Status:4) (Error:0)
20/12/2013 04:38:48 : [949] Closed Internet connection (Status:3) (Error:0)
20/12/2013 04:38:48 : [949] Closed Internet connection (Status:3) (Error:0)
20/12/2013 04:38:48 : [949] Closed Internet connection (Status:3) (Error:0)
It would appear that TWebUpdate cannot retrieve the version information from your executable MyApp.exe. Are you sure you included this version information?
Also, do you use the latest version of TWebUpdate?