Jump to content

Matroska Pack Silent


Swimming_Bird

Recommended Posts

This package contains the normal as well as real media splitter, the Shell extension, as well as the MKVMerge muxer. Unfortunately i have not yet found a way to Make the shell extension completely silent. When you register the dll associated with it it brings up some setup diologues.

To install I used this batch file:

@ECHO OFF
SETLOCAL

for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\WIN51 set CDROM=%%i:

REM Create's Directories to be installed to
mkdir "%ProgramFiles%\Matroska\"
mkdir "%USERPROFILE%\Start Menu\Programs\Matroska\"
mkdir "%USERPROFILE%\Start Menu\Programs\Matroska\Shell Extension\"

REM Installs the files required for Matroska Playback
"%cdrom%\$OEM$\Install\Matroska\MPlay.exe" -y -o"%ProgramFiles%\Matroska" -aot
regsvr32 /s "%ProgramFiles%\Matroska\MatroskaSplitter.ax"
regsvr32 /s "%ProgramFiles%\Matroska\RealMediaSplitter.ax"
regsvr32 /s "%ProgramFiles%\Matroska\VSFilter.dll"

REM Installs the files used for the Matroska Shell Extension
"%cdrom%\$OEM$\Install\Matroska\MShell.exe" -y -o"%ProgramFiles%\Matroska" -aot
regsvr32 /s "%ProgramFiles%\Matroska\MatroskaProp.dll"
shortcut /f:"%USERPROFILE%\Start Menu\Programs\Matroska\Shell Extension\Choose Icon.lnk" /a:c /t:"%PROGRAMFILES%\Matroska\MatroskaProp_ChooseIcon.exe"
shortcut /f:"%USERPROFILE%\Start Menu\Programs\Matroska\Shell Extension\Configure.lnk" /a:c /t:"%PROGRAMFILES%\Matroska\MatroskaProp_Configure.exe" /i:"%PROGRAMFILES%\Matroska\matroskalogo_big.ico"
shortcut /f:"%USERPROFILE%\Start Menu\Programs\Matroska\Shell Extension\Check Usage.lnk" /a:c /t:"%PROGRAMFILES%\Matroska\CheckUsage.exe" /i:"%PROGRAMFILES%\Matroska\Checkusage.exe"

REM Installs the Program Used to mux matroska files
"%cdrom%\$OEM$\Install\Matroska\MKVMerge.exe" -y -o"%ProgramFiles%\Matroska" -aot
shortcut /f:"%USERPROFILE%\Start Menu\Programs\Matroska\MKV Info GUI.lnk" /a:c /t:"%PROGRAMFILES%\Matroska\mkvinfo.exe" /p:-g /i:"%PROGRAMFILES%\Matroska\Checkusage.exe"
shortcut /f:"%USERPROFILE%\Start Menu\Programs\Matroska\MKV Merge GUI.lnk" /a:c /t:"%PROGRAMFILES%\Matroska\MKVtoolnix\mmg.exe" /i:"%PROGRAMFILES%\Matroska\matroskalogo_big.ico"

REM Places the Uninstaller
shortcut /f:"%USERPROFILE%\Start Menu\Programs\Matroska\Uninstall All.lnk" /t:"%PROGRAMFILES%\Matroska\Uninstall.bat"

For this i have the files installed from the cd in the folder $OEM$\Install\Matroska\ i peronally placed a compiled uninstall.bat to uninstall.exe which i included with the plaback package.

The Uninstall.bat looks something like this:

@ECHO OFF
SETLOCAL

REM Unregisters registerd files
REM These are for playback
regsvr32 /s /u "%ProgramFiles%\Matroska\MatroskaSplitter.ax"
regsvr32 /s /u "%ProgramFiles%\Matroska\RealMediaSplitter.ax"
regsvr32 /s /u "%ProgramFiles%\Matroska\VSFilter.dll"
REM this is for the shell extension
regsvr32 /s /u "%ProgramFiles%\Matroska\MatroskaProp.dll"

REM Deletes All shortcuts
rd /S /Q "%ALLUSERSPROFILE%\Start Menu\Programs\Matroska\"

REM Removes the directory
rd /S /Q "%PROGRAMFILES%\Matroska\"

As you can see there is one part that you would have to delete if you did not want the shell extension. Which i'd imagine a lot of you would not since it is not yet fully unattended.

MPlay.exe

MKVMerge.exe

MShell.exe

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...