SamuelTulach / VirusTotalUploader

C# Open-Source Winforms application for uploading files to VirusTotal
GNU General Public License v3.0
1.15k stars 143 forks source link

Multiple context menu points #139

Open InterseptorX1 opened 8 months ago

InterseptorX1 commented 8 months ago

image

Any idea how can i remove the second one point? I just need one of them

mccabedd commented 8 months ago

+1 Seeing this as well.

vain1222 commented 8 months ago

Same issue

InterseptorX1 commented 8 months ago

I just installed another VT instead of this (https://docs.virustotal.com/docs/desktop-apps)

SamuelTulach commented 8 months ago

Context menu entries are handled by Advanced Installer. It was a bug and is now fixed, but unfortunately Advanced Installer is just refusing to work for me.

image

Will try to create the project from scratch to see if it helps. If not then not sure there is much I can do.

You can remove the second entry in registry as a temporary fix.

SamuelTulach commented 8 months ago

Took the time to create the installer project from scratch. Same problem.

Nothing seems to be working.

image

mccabedd commented 8 months ago

"You can remove the second entry in registry as a temporary fix." Which reg keys should I be looking for to delete the 2nd entry?

Xecil commented 7 months ago

I was able to fix my duplicate context menu issues. When I first installed VirusTotalUploader for Windows, it was via vt_setup.msi v0.2.1 and initially it didn't launch a gui after setup. So I ran the installer a second time. Shortly after the double installation I noticed dual context menu entries and was able to resolve this issue doing the following:

Methods Open Windows Task Manager
Option 1 [CTRL] + [SHIFT] + [ESC] will launch Task Manager
Option 2 Use the taskbar search and find Task Manager
Option 3 [CTRL] + [ALT] + [DEL] and select Task Manager)
Option 4 Right click the taskbar and select Task Manager

Now that you ended the process, you'll likely have no desktop or task bar. No worries.

Type explorer.exe and hit [Enter] | OR | On your keyboard combo in the [Windows Key] + [R] to launch [Run], type in explorer.exe just like the Task Manager method.

Now go to your desktop or any directory/folder and [Right Mouse Click] to view your context menu options...

You should no longer see VirusTotalUploader as an option in context menus, which is exactly what we want.

If you still see any menus for VirusTotalUploader, log out of Windows, and restart the PC. (yes in that order)

Once you have the menus taken care of and zapped them into the abyss, simply navigate to the directory where you saved the installer. Redownload it and place it in a new folder if you think it could be an issue with that file itself.

Take note of the directory your vt_setup.msi is located in and copy the entire folder path.

Example: C:\Users\Public\Documents\VirusTotalUploader

Using the taskbar search feature: Type in CMD, right click Command Prompt, and make sure to select [Run as administrator]

You can follow either method below to run the installer as an administrator.

Option 1: Replace the directory below with your local file path: msiexec /i “C:\Users\Public\Documents\VirusTotalUploader\vt_setup.msi

Copy the entire command and directory | Simply use the [Right Mouse Click] to paste it, and hit [ENTER].

This should start the install process and be the final step for you!

Option 2: After copying the folder path where your installer is located, run CMD as an administrator, just like Option 1 describes.

Type 'cd' and then [Right Mouse Click] | This should paste the path you copied and look similiar to this: image

Hit [ENTER] and this will change your working directory: image

Copy and paste the command below: msiexec /i vt_setup.msi /qn

This will run the installation without any interface and technically run silently.

That's it!

PaulCoddington commented 6 months ago

Update: new tabbed File Explorer in Windows 11

It appears the VirusTotal Win11 context menu is preventing the menu item 'Show more options' from appearing in the context menu about 50% of the time (it keeps coming up blank requiring multiple attempts to access any classic menu items).

Deleting the classic registry entry now breaks the Explorer context menu badly.

It seems best to remove the Windows 11 context menu sparse package definition and just use the classic context menu entry alone (see: https://github.com/SamuelTulach/VirusTotalUploader/issues/122#issuecomment-1535505537).