From LedHed's Wiki
Jump to: navigation, search
(Registry)
Line 10: Line 10:
 
  [HKEY_CLASSES_ROOT\Msi.Package\shell\Extract\Command]
 
  [HKEY_CLASSES_ROOT\Msi.Package\shell\Extract\Command]
 
  @="msiexec.exe /a \"%1\" /qb TARGETDIR=\"%1\""
 
  @="msiexec.exe /a \"%1\" /qb TARGETDIR=\"%1\""
 +
 +
''This will extract the MSI into a folder with the same name as the file.''
  
  
This will extract the MSI into a folder with the same name as the file.
 
  
 
[[Category:Windows]]
 
[[Category:Windows]]

Revision as of 19:08, 24 February 2020

Overview

This is a registry hack to add 'Extract' to the Windows Explorer context menu when you right click a MSI file.


Registry

Paste this into a notepad and save as MSI-Extract.reg. Then double click it to add it to the registry.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Msi.Package\shell\Extract\Command]
@="msiexec.exe /a \"%1\" /qb TARGETDIR=\"%1\""

This will extract the MSI into a folder with the same name as the file.