I have noticed very recently that TMSWebUpdate updates do not restart the app after successful implementation of the updates, even though the UpdateBuilder's Global Settings>Application>'Update application files but do not restart application' checkbox is unchecked. I don't know whether this is due to a recent update to TWebUpdate or to a Windows 10 update or some change with my PC. Using version 10.5.3.0 of the TMSVCLUIPack. I wonder if restart is working for other users?
Here is the WUPDate.log which shows that the exe was restarted - but it wasn't.WUPDATE.LOG (6.0 KB)
I see in the logs it restarts: E:\Skylog Project\Skylog V6\Skylog Pro\Skylgpro.exe so if you do not see this EXE started, it could rather be an issue with the EXE than with TWebUpdate.
Is this EXE at this location?
Are permissions OK to restart it?
Yes, the exe location is correct. Not sure what permissions are required to restart the app? Wasn't aware of that requirement and I can't find a reference to it in the TWebupdate developers manual.
Anyway, the issue is that restart only works if the exe is installed in C:\Program Files (x86) (and perhaps in other C Drive folders - haven't tested), but not in Drive E: folders. I now recall that we discussed this issue a year or two ago and came to no conclusion then, so let's leave it for now as it's not a big issue.
I cannot see a reason for that nor understand this.
Can you reproduce this with a test app?
Well, from a Jan 2013 email I said to you:
winexec('E:\Skylog Project\Skylog V6\Skylog Pro\Skylgpro.exe',SW_SHOW);
doesn’t work, but:
winexec('C:\Program Files (x86)\SkyLgPro\V600\V6 Test\Skylgpro.exe',SW_SHOW);
does. But I wasn't able to find out why then. This still occurs with a new 10.4.2 compiled app. As no one has reported this since 2013, I can only assume that it it's caused by an issue with my app or Windows' installation(s). Hence, we can close this question. Thanks for your response.