VirusTotalUploader icon indicating copy to clipboard operation
VirusTotalUploader copied to clipboard

duplicate menu [bug]

Open 3xploiton3 opened this issue 2 years ago • 6 comments

i'm using q-dir http://www.q-dir.com/

https://i.imgur.com/l0WMbxA.png

context menu duplicate entries

3xploiton3 avatar Feb 19 '23 15:02 3xploiton3

Not really sure if I can do anything about it. It's a problem with AdvancedInstaller itself since it seems like it installs both the sparse package containing the menu entry for Windows 11's new context menu and, at the same time, it still adds the old registry entry for the legacy context menu (so now there are two entries on Windows 11).

image

SamuelTulach avatar Feb 19 '23 16:02 SamuelTulach

I have contacted AdvancedInstaller support. Apparently, it is a bug, and it will be fixed in the next update.

SamuelTulach avatar Feb 23 '23 10:02 SamuelTulach

I use the legacy right click menu in Win 11 and had the same issue.

This small change to the registry fixes things:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Upload to VirusTotal]
"Icon"="C:\\Program Files (x86)\\VirusTotalUploader\\icon.ico"

[HKEY_CLASSES_ROOT\*\shell\Upload to VirusTotal\command]
@="\"C:\\Program Files (x86)\\VirusTotalUploader\\uploader.exe\"  \"%1\""

[-HKEY_CLASSES_ROOT\*\shell\4F0C3FD6-D092-4D46-A3D0-0389882732B9]

Save the above as vt.reg and double click on the file to merge.

Please note you will lose the entry on the new Win 11 menu.

1aTa avatar Mar 15 '23 22:03 1aTa

Default would be

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Upload to VirusTotal]
"Icon"="C:\\Program Files (x86)\\Samuel Tulach\\VirusTotalUploader\\icon.ico"

[HKEY_CLASSES_ROOT\*\shell\Upload to VirusTotal\command]
@="\"C:\\Program Files (x86)\\Samuel Tulach\\VirusTotalUploader\\uploader.exe\"  \"%1\""

[-HKEY_CLASSES_ROOT\*\shell\4F0C3FD6-D092-4D46-A3D0-0389882732B9]

Gordon-Dry avatar Mar 23 '23 12:03 Gordon-Dry

I had the same issue on Windows 10 and I had to dig deep to find the registry key that's apparently causing the issue and changed its String value to fix it but hopefully someone here has a better way to solve it cause this might cause other issues with the app. I have no idea really. I used RegScanner (a third-party registry scanner) and I searched the entire registry for every occurence of the string "virustotal". Then I checked key after key until I found this: [HKEY_CLASSES_ROOT\PackagedCom\Package\SamuelTulach.VirusTotalUploader_0.2.1.0_x64__xdzevfy3nvnsj\Class{D3A82629-9BE6-4077-AC24-26BD7C956F83}] "DllPath"="Assets\contextmenudll.dll"

So when I saw the dll file's name I suspected that this was causing the issues so I changed DllPath's value data to 0 and it removed the duplicate option in the context menu. You don't have to set the value data to 0, you can set it to anything and it'll work (I believe). It seems that the "contextmenudll.dll" file is causing this issue.

rayenboussetta avatar May 04 '23 22:05 rayenboussetta