-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
winget version of Rufus fails to delete rufus.com file. Gives error: "Unable to synchronize with GUI application." on second run. #2622
Comments
This is normal from any version that runs from the commandline. This is the "commandline hogger" that is described here (along with the reasons why we need one). This file should be deleted when Rufus terminates properly. So if you see this file persist after you closed Rufus, then Rufus did not terminate properly. My testing with the Rufus 4.6 release executable shows that, when running Rufus from commandline and closing Rufus,
That So, as far as I am concerned, I see no issue with Considering that you state that you have no issue when running the GitHub version, you may want to contact the winget maintainers (which again, I have no involvement with) to ask them about this issue. |
I'm not sure which app is responsible for the rufus.com file creation and delete, so posting here. Summary:
Procmon's output for the related rufus.com create/delete requests from rufus.exe:
|
Rufus is. From your extra info, it appears that Rufus may not properly delete So that would be a Rufus bug, which I am going to look into. And I guess, if you just type Not sure about the Note however that Microsoft uses the I'll look into this further when I have some time, and keep you updated but by the looks of it, this doesn't appear to be a winget issue, so thanks for looking into it further. |
Checklist
<FULL LOG>
below.Rufus version: x.y.z
- I have NOT removed any part of it.Additionally (if applicable):
(✓)
button to compute the MD5, SHA1 and SHA256 checksums, which are therefore present in the log I copied. I confirmed, by performing an internet search, that these values match the ones from the official image.Issue description
When using the winget version of rufus, it creates a rufus.com file in the current directory. After closing rufus, the file remains. If the user tries to run rufus again in the same directory, it will give the error:
"Unable to synchronize with GUI application."
Reproduction steps are after the log.
There are two solutions:
Note: The log is from the first run (the actual rufus.exe). There is no log from the invalid rufus.com execution.
Log
Reproduction
winget install rufus.rufus
rufus
rufus
Unable to synchronize with GUI application.
Additional Information
The winget installed rufus.exe's hash is the same as the github version's hash.
Running the github version of rufus doesn't have this issue.
Winget info:
The path to the exe installed from winget:
\AppData\Local\Microsoft\WinGet\Packages\Rufus.Rufus_Microsoft.Winget.Source_8wekyb3d8bbwe\rufus.exe
hash: 8279696C1D78B14618500E9135886A3667B9DECC65946F3729002E4BFDBB20AB
github version:
rufus-4.6.exe
hash: 8279696C1D78B14618500E9135886A3667B9DECC65946F3729002E4BFDBB20AB
Hash for rufus.com
5F819F6EAE4B5845C082EDF14CB389AB9805BC3C17440F3B5398D4FDD0079FFE
The text was updated successfully, but these errors were encountered: