Still not quite there. It is coming up with the UAC message, and closing my app, but it is not replacing the exe or restarting it as I am expecting it to?
INF File:
[update]
localversion=D:\Dropbox\Projects\UpdateTest\Win32\Release\UpdateTest.exe
newversion=2.0.1.1
[files]
count=1
[file1]
url=C:\newapp\UpdateTest.new
[application]
appupdate=1
appname=UpdateTest.new
appcomps=UpdateTest.new
silentrestart=1
Log File:
28-03-2021 09:42:38 : [968] Start update : Non threaded update --------------------------- (Status:0) (Error:0)
28-03-2021 09:42:38 : [966] OS version : Unknown (Status:0) (Error:0)
28-03-2021 09:42:38 : [967] IE version : (not found) (Status:0) (Error:0)
28-03-2021 09:42:38 : [969] Compiler : D10.1 Berlin (Status:0) (Error:0)
28-03-2021 09:42:38 : [970] Installed IDEs : (Status:0) (Error:0)
28-03-2021 09:42:38 : [963] Start WebUpdate process with version : 2.6.0.2 (Status:0) (Error:0)
28-03-2021 09:42:38 : [915] Download : C:\newapp\UpdateTest.inf (Status:3) (Error:0)
28-03-2021 09:42:38 : [926] Update control file found (Status:3) (Error:0)
28-03-2021 09:42:38 : [933] Version based update found (Status:3) (Error:0)
28-03-2021 09:42:38 : [979] Check versions (Status:3) (Error:0)
28-03-2021 09:42:38 : [944] Version check : Version compare of D:\Dropbox\Projects\UpdateTest\Win32\Release\UpdateTest.exe:1.0.1.1 with 2.0.1.1:2.0.1.1 (Status:3) (Error:0)
28-03-2021 09:42:38 : [929] New version found : 2.0.1.1 (Status:5) (Error:0)
28-03-2021 09:42:38 : [943] Found file update instruction (Status:3) (Error:0)
28-03-2021 09:42:38 : [971] Processing file : C:\newapp\UpdateTest.new[,nv=,nd=,ns=0,nc=-1] (Status:0) (Error:0)
28-03-2021 09:42:38 : [979] Check versions (Status:3) (Error:0)
28-03-2021 09:42:38 : [915] Download : C:\newapp\UpdateTest.new (Status:3) (Error:0)
28-03-2021 09:42:38 : [962] Found application component : UpdateTest.new (Status:0) (Error:0)
28-03-2021 09:42:38 : [948] Finished processing update control file (Status:3) (Error:0)
28-03-2021 09:42:38 : [959] Restart app in directory : D:\Dropbox\Projects\UpdateTest\Win32\Release (Status:0) (Error:0)
28-03-2021 09:42:38 : [958] Spawn 26496 L D:\Dropbox\Projects\UpdateTest\Win32\Release\UpdateTest.new " " "C:\Users\natel\AppData\Local\Temp" UpdateTest.new (Status:0) (Error:0)
Thank You,
Nathan T. Wild
Senior Developer / Customer Support
Howell Data Systems Inc.
Office 905-761-1712 ext. 2503
Proudly serving great customers for 28 years!