lin-ycv / EverythingPowerToys

Everything search plugin for PowerToys Run
Eclipse Public License 2.0
2.2k stars 57 forks source link

[BUG] Error opening file for writing #90

Closed RexLuscus56 closed 5 months ago

RexLuscus56 commented 5 months ago

Describe the bug On attempting to install or update to 0.80, installer errors with "Error opening file for writing:

C\Users\\Appdata\ Local\Microsoft\PowerToys\PowerToys Run\Plugins\Everything\Community.PowerToys.Run.Plugin.Everything.dll"

To Reproduce Start the installer

Expected behavior The plugin installs

Screenshots N/A

Version (please provide the version of software you are using):

Additional context Have tried stopping Everything tasks\services, taking ownership of the identified file to no effect

** PowerToys Run log file 2024-04-09.txt

lin-ycv commented 5 months ago

it's not a bug, your powertoys is still running and using the file, so the installer cannot overwrite that file. Make sure to close powertoys, if you've already closed it and is it encountering this issue, check task manager, sometimes Powertoys can be closed, but PowerToys.Run is still open. Make sure these 2 processes aren't active in task manager image In the previous 2 version of installers, I can included logic to terminate the processes programatically, but that triggered malware warnings on some computers #81 #84 , so I removed it for this release.