Setting the Directory Path of the Text Logs
By default, the SetupAPI text logs are located in the system Windows directory. The location of the SetupAPI text logs can be changed by setting the following REG_SZ registry value:
The LogPath registry value must be a fully qualified directory path. The path must exist, and the path cannot include a file name.
If the LogPath registry value is not present, the path does not exist, or the path includes a file name, SetupAPI locates the text logs in the %SystemRoot%/Inf directory.