Quote:

Okay, this is some ugly code, but please review it as it hopefully might be a little more what you're looking for.

Part of the issue though I think is that the installer may be rebooting your system before the log can write if the installer process reboots. You need to write to the log just before you run the installer.






Wouldn't writing success when triggering install be a bit wrong?
Or, perhaps writing that the installation was triggered, then at second run write successfull if file exists in share and a specific file exists (or version) after reboot?
_________________________
as long as it works - why fix it?
If it doesn't work - kix-it!