The SWDIST tools log every action with a complete audit trail, but the logs are not used to prevent reinstallation. The task UDFs don't do any logging.

Generally, you'd define a custom registry key, like "ABC_Co" under HKLM\Software. You'd create a value for each app you install, which could be a simple "1" value indicating the install is done, or a datestamp, indicating when it was done. Thus, using either BAT or KIX scripts, you can read that registry key, and if an error 2 occurs (not found), you perform the install.

Using log (or tag) files to indicate an install or action is generally unreliable as users, AV software, and other cleanup processes can remove the files.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D