builtbybel / xd-AntiSpy

The successor to xp-AntiSpy, designed for the modern Windows experience
MIT License
699 stars 26 forks source link

Error loading plugin #38

Closed Tumbleweed64 closed 1 month ago

Tumbleweed64 commented 1 month ago

Windows 11 23H2, German xd-AntiSpy v4.11.10

When trying to load from Tools the Debloater or Butler i get these errors:

Error loading Plugin from PluginDebloater.dll: Die Datei oder Assembly “file:///D:Portables\xd-AntiSpy\plugins\PluginDebloater.dll” oder eine Abhängigkeit davon wurde nicht gefunden. Der Vorgang wird nicht unterstützt. (Ausnahme von HRESULT: 0x80131515)

Error loading Plugin from PluginButler.dll: Die Datei oder Assembly “file:///D:Portables\xd-AntiSpy\plugins\PluginButler.dll” oder eine Abhängigkeit davon wurde nicht gefunden. Der Vorgang wird nicht unterstützt. (Ausnahme von HRESULT: 0x80131515)

Zip is unpacked, i'm starting xd-AntiSpy.exe from D:\Portables\xd-AntiSpy

Belim commented 1 month ago

I can't understand or reproduce the problem at all. It looks like the plugins folder might be missing. Please download the complete package and extract it to the desired external drive. Does the error message really include that before 'file:///'?

Tumbleweed64 commented 1 month ago

Hi, thanks for your response.

D: is an internal local data ssd where i store apps for use on usb. So i can test before i copy to usb. Yes, all files are complete, inluded plugins dir and plugins files. I've checked this several times before posting here, i've also tried new downloads and testing again before posting. Yes, the error message include 'file:///'

Two screenshots, hope this helps: xd-antispy-butler xd-antispy-debloater

EDIT I've also checked the naming of the plugin files, compared error message and files in the plugin directory. Exact matches.

Belim commented 1 month ago

Could it be that Windows might be blocking the DLLs? Try unblocking them in the properties. Right-click on the DLL, go to the bottom of the security tab, and click unlock if it's locked. Does this only happen on the USB stick?

Belim commented 1 month ago

Can you please test all dev versions and let me know which ones work dev1.zip dev2.zip dev3.zip dev4f.zip

I'd prefer dev3 if it works, since then I wouldn’t have to remove the Zone.Identifier streams that Windows creates when downloading

onxzy commented 1 month ago

Hello, I faced the same issue.

Could it be that Windows might be blocking the DLLs? Try unblocking them in the properties. Right-click on the DLL, go to the bottom of the security tab, and click unlock if it's locked. Does this only happen on the USB stick?

This solved issue for me.

I also tried your dev versions and versions 1 and 4f are working (without unlocking the DLL in its settings) but not versions 2 and 3.

However it seems that I face this issue only if I extract the .zip using this windows explorer unzip feature, if I unzip it with 7zip it works as expected (for current release as well as dev versions 2 and 3). Extracting with the explorer also shows the Microsoft Defender SmartScreen on first launch while extracting with 7zip doesn't.

Belim commented 1 month ago

@onxzy That's why I couldn't replicate it immediately -never used the Windows archive function before, and I hit a bit of a mental block. Anyway, we can’t rely on everyone using an external archiving program. So, I’ll have to work through these blockages myself. thanks a lot for the feedback

Tumbleweed64 commented 1 month ago

However it seems that I face this issue only if I extract the .zip using this windows explorer unzip feature, if I unzip it with 7zip it works as expected (for current release as well as dev versions 2 and 3). Extracting with the explorer also shows the Microsoft Defender SmartScreen on first launch while extracting with 7zip doesn't.

Thats it! Thanks! :-) Have tried like you with windows explorer to unpack and got errors with all versions, dev1-4. Than i use 7zip and all works, without any errors.

@Belim, thanks for your tool, your work and sorry for the confusion. :-)

Belim commented 1 month ago

@Tumbleweed64 Awesome, thanks for the wonderful large coffee 😃