Hi Jan,
On 1/2/2019 17:07 PM, Jan K. van Dalen wrote:
> Arnor, thanks ... was able to get it going by editing the scrip logic
> (editor).
>
> Now I need to figure out how to call it from inside the .exe and exit
> if necessary.
This is the code I use in Build Automator. I have just one program,
autoupdate.exe - a modified wupdate - that I use to both check for
update and update:
I first call autoupdate.exe with /C /S to check silently for an update.Â
If it returns 1, then I know it found an update and then I run the
autoupdate.exe without any parameters and use HALT() to terminate the
program. In the autoupdate.exe as the last thing to do is to start the
Build Automator again. This way the user starts the update, then BA
shuts itself down and then the update starts BA again when it's done.
Best regards,
--
Arnor Baldvinsson
Icetips Alta LLC