Skip to content
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

duplicate menu [bug] #122

Open
3xploiton3 opened this issue Feb 19, 2023 · 5 comments
Open

duplicate menu [bug] #122

3xploiton3 opened this issue Feb 19, 2023 · 5 comments

Comments

@3xploiton3
Copy link

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

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

context menu duplicate entries

@SamuelTulach
Copy link
Owner

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
Copy link
Owner

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

@1aTa
Copy link

1aTa commented Mar 15, 2023

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.

@Gordon-Dry
Copy link

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]

@rayenboussetta
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants