Last active
December 15, 2015 04:28
-
-
Save DanielTheCoder/5201317 to your computer and use it in GitHub Desktop.
Unzipping/extracting MSI files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Classes\Msi.Package\shell\Extract MSI\command] | |
@="msiexec.exe /a \"%1\" /qb TARGETDIR=\"%1 Extracted\"" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
SET orgdir=%CD% | |
REM echo %orgdir% | |
FOR %%f IN (*.msi) DO ( | |
REM echo %%f | |
REM echo %orgdir%\%%~nf\ | |
msiexec.exe /a %%f /qb TARGETDIR=%orgdir%\%%~nf\ | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment