Uninstall 7-Zip 19.00 (x64 edition) - 64 bit

Uninstall 7-Zip 19.00 (x64 edition) - 64 bit

Was it installed with MSI or setup.exe

1 Like

Relevance:

  • windows of operating system
    
  • x64 of operating system
    
  • exists keys whose(value "DisplayName" of it as string starts with "7-Zip" and (value "DisplayVersion" of it as string | "0.0") as version <= "19.00") of keys "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall" of x64 registries
    

Actionscript:

// Remove the 64-bit version (using registered uninstall string)
if {exists value "QuietUninstallString" whose (it != "") of keys whose (value "DisplayName" of it as string starts with "7-Zip" and (value "DisplayVersion" of it as string | "0.0") as version <= "19.00") of keys "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall" of x64 registries}
    waithidden {exists value "QuietUninstallString" whose (it != "") of keys whose (value "DisplayName" of it as string starts with "7-Zip" and (value "DisplayVersion" of it as string | "0.0") as version <= "19.00") of keys "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall" of x64 registries}
endif

// Remove the 64-bit version at the default location (if present)
if {exists file "C:\Program Files\7-Zip\Uninstall.exe"}
    waithidden "C:\Program Files\7-Zip\Uninstall.exe" /S
endif
1 Like