Advertisement
sjlogin

MSIextract

Sep 16th, 2015
1,352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.62 KB | None | 0 0
  1. @echo off
  2. set folder=%cd%
  3. :start
  4. @echo ------
  5. @echo Extract MSI from an exe installer.
  6. @echo For InstallShield MSI based installers only
  7. @echo ------
  8. @echo Note: You may be prompted to run as administrator
  9. @echo If the installer fails to extract re-run this batch file as administrator
  10. @echo ------
  11. @echo Enter full path to installer (include the .exe)
  12. @echo It will be extracted to the same location as this batch file
  13. @echo in a folder named "ExtractedMSI"
  14. @echo ------
  15.  
  16. SET /P INTPATH=Path to Installer:
  17. @echo ------
  18. @echo Intaller path: %INTPATH%
  19. timeout /t 2
  20. %INTPATH% /s /x /b"%folder%\ExtractedMSI" /v"/qn"
  21. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement