TWebupdate Help !

Hi,

I read the quickstart, I  watched video and developers guide too. My main application is upgrading. But the cab/dll files does not are upgrading or downloading. Just only main app. I will be sharing my inf file. Could show me where is the wrong?

[update]
newversion=2.0.3.207
localversion=sindical.exe
[files]
count=3
[file1]
url=https://myhost.com/sindical-padrao/sindical.CAB
newversion=2.0.3.207
localversion=sindical.exe
targetdir={app}
compressed=0
[file2]
url=https://myhost.com/sindical-padrao/ssleay32.CAB
newversion=1.0.2.20
localversion=ssleay32.dll
targetdir={app}
compressed=0
[file3]
url=https://myhost.com/sindical-padrao/libeay32.CAB
newversion=1.0.2.20
localversion=libeay32.dll
targetdir={app}
compressed=0
[application]
appupdate=1
appname=sindical.exe
silentrestart=1
appcomps=sindical.CAB ssleay32.CAB libeay32.CAB 

DFM

  object WebUpdate1: TWebUpdate
    Agent = 'TWebUpdate'
    ApplyPatch = True
    DateFormat = 'dd/mm/yyyy'
    DateSeparator = '/'
    ExtractCAB = True
    ForceUpdate = True
    LogFileName = 'WUPDATE.LOG'
    PostUpdateInfo.Enabled = False
    ShowDownloadProgress = True
    Signature = 'WebUpdate'
    TempDirectory = '.'
    TimeFormat = 'hh:nn'
    TimeSeparator = ':'
    UpdateConnect = wucConnectSilent
    UpdateUpdate = wuuSilent
    URL =
      'https://myhost.com/sindical' +
      '-padrao/sindical-padrao.INF'
    Version = '2.4.4.1'
    Left = 272
    Top = 87
  end

Thanks for Attention

Please enable logging and provide the info logged during a session to update.

Hi Bruno,


Thank you for attention, follow the log file.

11/12/2019 13:55:23 : [918] Checking for Internet connection (Status:3) (Error:0)
11/12/2019 13:55:23 : [921] Found open Internet connection (Status:3) (Error:0)
11/12/2019 13:55:23 : [915] Download : https://myhost.com/sindical-padrao/sindical-padrao.INF (Status:3) (Error:0)
11/12/2019 13:55:31 : [926] Update control file found (Status:3) (Error:0)
11/12/2019 13:55:31 : [933] Version based update found (Status:3) (Error:0)
11/12/2019 13:55:31 : [979] Check versions (Status:3) (Error:0)
11/12/2019 13:55:31 : [944] Version check : Version compare of sindical.exe:2.0.3.206 with 2.0.3.207:2.0.3.207 (Status:3) (Error:0)
11/12/2019 13:55:31 : [929] New version found : 2.0.3.207 (Status:5) (Error:0)
11/12/2019 13:55:31 : [949] Closed Internet connection (Status:3) (Error:0)
11/12/2019 13:55:31 : [949] Closed Internet connection (Status:3) (Error:0)
11/12/2019 13:55:31 : [968] Start update : Non threaded update --------------------------- (Status:0) (Error:0)
11/12/2019 13:55:31 : [966] OS version : Windows XP (Status:0) (Error:0)
11/12/2019 13:55:31 : [967] IE version : 8.0000 (Status:0) (Error:0)
11/12/2019 13:55:31 : [969] Compiler : D7 (Status:0) (Error:0)
11/12/2019 13:55:31 : [970] Installed IDEs : D7D2006 (Status:0) (Error:0)
11/12/2019 13:55:31 : [963] Start WebUpdate process with version : 2.4.4.1 (Status:0) (Error:0)
11/12/2019 13:55:31 : [918] Checking for Internet connection (Status:3) (Error:0)
11/12/2019 13:55:31 : [921] Found open Internet connection (Status:3) (Error:0)
11/12/2019 13:55:31 : [915] Download : https://myhost.com/sindical-padrao/sindical-padrao.INF (Status:3) (Error:0)
11/12/2019 13:55:31 : [926] Update control file found (Status:3) (Error:0)
11/12/2019 13:55:31 : [943] Found file update instruction (Status:3) (Error:0)
11/12/2019 13:55:31 : [971] Processing file : https://myhost.com/sindical-padrao/sindical.CAB[sindical.exe,nv=2.0.3.207,nd=,ns=0,nc=-1] (Status:0) (Error:0)
11/12/2019 13:55:31 : [979] Check versions (Status:3) (Error:0)
11/12/2019 13:55:31 : [944] Version check : Version compare of sindical.exe:2.0.3.206 with 2.0.3.207:2.0.3.207 (Status:3) (Error:0)
11/12/2019 13:55:31 : [971] Processing file : https://myhost.com/sindical-padrao/ssleay32.CAB[ssleay32.dll,nv=1.0.2.20,nd=,ns=0,nc=-1] (Status:0) (Error:0)
11/12/2019 13:55:31 : [979] Check versions (Status:3) (Error:0)
11/12/2019 13:55:31 : [930] No new version found (Status:0) (Error:0)
11/12/2019 13:55:31 : [971] Processing file : https://myhost.com/sindical-padrao/libeay32.CAB[libeay32.dll,nv=1.0.2.20,nd=,ns=0,nc=-1] (Status:0) (Error:0)
11/12/2019 13:55:31 : [979] Check versions (Status:3) (Error:0)
11/12/2019 13:55:31 : [930] No new version found (Status:0) (Error:0)
11/12/2019 13:55:31 : [915] Download : https://myhost.com/sindical-padrao/sindical.CAB (Status:3) (Error:0)
11/12/2019 13:55:37 : [962] Found application component : sindical.CAB (Status:0) (Error:0)
11/12/2019 13:55:37 : [948] Finished processing update control file (Status:3) (Error:0)
11/12/2019 13:55:37 : [949] Closed Internet connection (Status:3) (Error:0)
11/12/2019 13:55:37 : [949] Closed Internet connection (Status:3) (Error:0)
11/12/2019 13:55:37 : [959] Restart app in directory : C:\Projeto\sindical\Sindicato\build\sindical-padrao (Status:0) (Error:0)
11/12/2019 13:55:37 : [958] Spawn 7760 L C:\Projeto\sindical\Sindicato\build\sindical-padrao\sindical.exe " " "C:\DOCUME~1\DEVELO~1\CONFIG~1\Temp" sindical.CAB ssleay32.CAB libeay32.CAB (Status:0) (Error:0)
11/12/2019 13:55:38 : [000] UPD v2.0.4.0 started
11/12/2019 13:55:38 : [000] UPD current directory: C:\Projeto\sindical\Sindicato\build\sindical-padrao
11/12/2019 13:55:38 : [000] UPD waited from 11/12/2019 13:55:37:565 to 11/12/2019 13:55:37:784 for application close
11/12/2019 13:55:38 : [000] Upd cab extract sindical.CAB C:\Projeto\sindical\Sindicato\build\sindical-padrao</div>
11/12/2019 13:55:38 : [000] Upd cab extract ssleay32.CAB C:\Projeto\sindical\Sindicato\build\sindical-padrao</div>
11/12/2019 13:55:38 : [000] Upd cabextract failed
11/12/2019 13:55:38 : [000] Upd cab extract libeay32.CAB C:\Projeto\sindical\Sindicato\build\sindical-padrao</div>
11/12/2019 13:55:38 : [000] Upd cabextract failed
11/12/2019 13:55:38 : [000] UPD restart C:\Projeto\sindical\Sindicato\build\sindical-padrao\sindical.exe  
11/12/2019 13:55:46 : [000] UPD has EXE restarted


I see it downloaded the CAB file

11/12/2019 13:55:31 : [915] Download : https://myhost.com/sindical-padrao/sindical.CAB (Status:3) (Error:0)
It should have downloaded this to::
"C:\DOCUME~1\DEVELO~1\CONFIG~1\Temp" 

It was able to extract the CAB:
Upd cab extract sindical.CAB C:\Projeto\sindical\Sindicato\build\sindical-padrao</div>

and that should normally have created the updated EXE (the two DLLs were apparently not having a new version)

The DLL CAB files are not downloaded because the version check fails. Are you sure the file ssleay32.dll exists on the machine and if so, if it contains a version resource with which the version can be compared?

Hi Bruno,


The file sindical.cab is working and updated. But the other files does not are in the folder. The log says there no newest version, but the files doest not exist in the folder. I need that the twebupdate download these files.

Thanks for help.

Set WebUpdate.VersionCheck = vcAlways

Hi Bruno,


It's solved the problem. 

Thank you for help.

Hi,


Is it possible the Twebupdate does not triggering the UAC of Windows to upgrade version my application ?

It is explained here:

https://www.tmssoftware.com/site/wupdate.asp?s=faq&show=518

Bruno Fierens2019-12-12 13:58:40

Thanks Bruno, your support is great.