winutil
winutil copied to clipboard
O&O ShutUp10++ shows error when together with Delete Temporary Files
Describe the bug When running O&O ShutUp10++ by itself no errors occur but the moment you select it with Delete Temporary Files an error appears on screen and I don't know if the tweaks of ShutUp10++ applies or not, I think it deletes the .cfg config before running O&O on quiet mode.
To Reproduce Steps to reproduce the behavior:
- Go to Tweaks Tab
- Click on Run OO Shutup
- Click on Delete Temporary Files
- Click on Run Tweaks
- Error appears
Expected behavior An O&O ShutUp++ error should not appear.
Screenshots Can't attach due a network error on my end
Additional context Windows 11 updated to today, Spanish MX version
an error appears on screen
Could you copy and paste the error that you got, because without it is impossible to understand what is going wrong.
@ModernTTY now I can upload images 👍 that's a screenshot of the first time I encountered the error, then I troubleshoot it to find the reproduction steps as listed on To Reproduce section
Looks like you encountered a race condition. Until now the execution for OO Shutup 10 looked as follows.
Download EXE -> Download Config -> Run EXE with Config asynchronously |---files stored in temp folder---------|
Because the EXE was run asynchronously it technically could happen, that the temp file cleanup task deleted the config file before OO Shutup could load it properly.
I revamped the OO Shutup logic anyway in #1828 and have also modified the code, so the winutil will now wait until OO Shutup is done applying its changes before continuing on.