uninstall-tool
uninstall-tool copied to clipboard
Could the working directory be set to that of the executable being traced?
When tracing an installation or program execution, the working directory for the newly created process seems to default to the one of the Uninstall Tool process, which is "%ProgramFiles%\Uninstall Tool" if launched using the shortcuts created during installation.
Some programs use the current working directory to write files to, e.g., configuration ones, and after tracing any such programs the Uninstall Tool folder would contain files pertaining to the traced program instead. Setting the working directory to the one where the process to be traced is for the new process addresses the issue.