2011-11-06 16:58:35 +00:00
!define PRODUCT_NAME "MKVToolNix"
2015-11-29 21:18:15 +00:00
!define PRODUCT_VERSION "8.6.1"
2015-10-02 13:43:00 +00:00
!define PRODUCT_VERSION_BUILD "" # Intentionally left empty for releases
2005-02-26 13:06:00 +00:00
!define PRODUCT_PUBLISHER "Moritz Bunkus"
2015-02-11 17:35:42 +00:00
!define PRODUCT_WEB_SITE "https://www.bunkus.org/videotools/mkvtoolnix/"
2015-08-15 16:27:44 +00:00
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\mkvtoolnix-gui.exe"
2005-02-26 13:06:00 +00:00
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
!define PRODUCT_UNINST_ROOT_KEY "HKLM"
!define PRODUCT_STARTMENU_REGVAL "NSIS:StartMenuDir"
2015-05-09 07:41:21 +00:00
!define MTX_REGKEY "Software\bunkus.org"
2005-02-26 13:06:00 +00:00
2010-05-13 18:54:51 +00:00
#SetCompress off
2015-06-23 14:47:48 +00:00
SetCompressor /SOLID lzma
2010-05-23 11:27:16 +00:00
SetCompressorDictSize 64
2005-02-26 13:06:00 +00:00
2009-01-17 13:46:46 +00:00
!include "MUI2.nsh"
2015-06-23 14:47:48 +00:00
!include "file_association.nsh"
2005-02-26 13:06:00 +00:00
2008-10-06 15:00:54 +00:00
# MUI Settings
2005-02-26 13:06:00 +00:00
!define MUI_ABORTWARNING
2015-10-02 11:55:37 +00:00
!define MUI_ICON "../mkvtoolnix-gui.ico"
2005-02-26 13:06:00 +00:00
2008-10-06 15:00:54 +00:00
# Language Selection Dialog Settings
2010-05-06 21:05:19 +00:00
!define MUI_LANGDLL_REGISTRY_ROOT "HKCU"
!define MUI_LANGDLL_REGISTRY_KEY "${MTX_REGKEY}"
!define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language"
2005-02-26 13:06:00 +00:00
2009-01-17 13:46:46 +00:00
# Settings for the start menu group page
2005-02-26 13:06:00 +00:00
var ICONS_GROUP
2010-05-23 11:27:16 +00:00
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "${PRODUCT_NAME}"
2005-02-26 13:06:00 +00:00
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
!define MUI_STARTMENUPAGE_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "${PRODUCT_STARTMENU_REGVAL}"
2009-01-17 13:46:46 +00:00
2010-05-30 09:14:58 +00:00
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_RIGHT
!define MUI_HEADERIMAGE_BITMAP "header_image.bmp"
2010-05-13 18:54:51 +00:00
# Settings for the finish page
!define MUI_FINISHPAGE_NOREBOOTSUPPORT
2010-05-14 18:48:15 +00:00
!define MUI_FINISHPAGE_TITLE_3LINES
2010-05-13 18:54:51 +00:00
2009-01-17 13:46:46 +00:00
# Welcome page
2010-05-08 18:01:31 +00:00
!define MUI_WELCOMEFINISHPAGE_BITMAP "welcome_finish_page.bmp"
2010-05-14 18:48:15 +00:00
!define MUI_WELCOMEPAGE_TITLE_3LINES
2009-01-17 13:46:46 +00:00
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_DIRECTORY
2005-02-26 13:06:00 +00:00
!insertmacro MUI_PAGE_STARTMENU Application $ICONS_GROUP
!insertmacro MUI_PAGE_INSTFILES
2010-05-13 18:54:51 +00:00
Page custom showExternalLinks
2005-02-26 13:06:00 +00:00
!insertmacro MUI_PAGE_FINISH
2008-10-06 15:00:54 +00:00
# Uninstaller pages
2005-02-26 13:06:00 +00:00
!insertmacro MUI_UNPAGE_INSTFILES
2008-10-06 15:00:54 +00:00
# Language files
2012-02-12 20:33:09 +00:00
!macro LANG_LOAD LANGLOAD
!insertmacro MUI_LANGUAGE "${LANGLOAD}"
2015-10-02 11:55:37 +00:00
!include "translations/${LANGLOAD}.nsh"
2012-02-12 20:33:09 +00:00
!undef LANG
!macroend
!macro LANG_STRING NAME VALUE
LangString "${NAME}" "${LANG_${LANG}}" "${VALUE}"
!macroend
!macro LANG_UNSTRING NAME VALUE
!insertmacro LANG_STRING "un.${NAME}" "${VALUE}"
!macroend
2014-01-25 11:42:31 +00:00
!insertmacro LANG_LOAD "Basque"
2014-11-05 08:47:40 +00:00
!insertmacro LANG_LOAD "Catalan"
2012-02-12 20:33:09 +00:00
!insertmacro LANG_LOAD "Czech"
!insertmacro LANG_LOAD "Dutch"
!insertmacro LANG_LOAD "English"
!insertmacro LANG_LOAD "French"
!insertmacro LANG_LOAD "German"
!insertmacro LANG_LOAD "Italian"
!insertmacro LANG_LOAD "Japanese"
!insertmacro LANG_LOAD "Lithuanian"
2012-04-24 21:43:54 +00:00
!insertmacro LANG_LOAD "Polish"
2013-10-26 13:41:58 +00:00
!insertmacro LANG_LOAD "Portuguese"
2013-11-24 01:31:23 +00:00
!insertmacro LANG_LOAD "PortugueseBR"
2012-02-12 20:33:09 +00:00
!insertmacro LANG_LOAD "Russian"
2015-08-29 17:18:26 +00:00
!insertmacro LANG_LOAD "Serbian"
2015-01-23 11:33:38 +00:00
!insertmacro LANG_LOAD "SerbianLatin"
2012-02-12 20:33:09 +00:00
!insertmacro LANG_LOAD "Spanish"
!insertmacro LANG_LOAD "SimpChinese"
2015-03-24 11:34:10 +00:00
!insertmacro LANG_LOAD "Swedish"
2012-02-12 20:33:09 +00:00
!insertmacro LANG_LOAD "TradChinese"
2015-04-28 18:57:17 +00:00
!insertmacro LANG_LOAD "Turkish"
2012-02-12 20:33:09 +00:00
!insertmacro LANG_LOAD "Ukrainian"
2010-05-06 21:05:19 +00:00
!define MUI_LANGDLL_ALLLANGUAGES
2010-06-03 17:17:18 +00:00
!insertmacro MUI_RESERVEFILE_LANGDLL
2008-10-06 15:00:54 +00:00
# MUI end ------
2005-02-26 13:06:00 +00:00
2009-01-17 00:06:28 +00:00
!include "WinVer.nsh"
2009-01-17 13:46:46 +00:00
!include "LogicLib.nsh"
2009-01-17 00:06:28 +00:00
2014-01-09 22:06:13 +00:00
!if ${MINGW_PROCESSOR_ARCH} == "amd64"
2014-01-09 22:07:43 +00:00
Name "${PRODUCT_NAME} ${PRODUCT_VERSION} (64bit)${PRODUCT_VERSION_BUILD}"
BrandingText "${PRODUCT_NAME} ${PRODUCT_VERSION} (64bit)${PRODUCT_VERSION_BUILD} by ${PRODUCT_PUBLISHER}"
2015-04-17 19:55:29 +00:00
OutFile "mkvtoolnix-64bit-${PRODUCT_VERSION}-setup.exe"
2014-01-09 22:06:13 +00:00
InstallDir "$PROGRAMFILES64\${PRODUCT_NAME}"
!else
2014-01-09 22:07:43 +00:00
Name "${PRODUCT_NAME} ${PRODUCT_VERSION} (32bit)${PRODUCT_VERSION_BUILD}"
BrandingText "${PRODUCT_NAME} ${PRODUCT_VERSION} (32bit)${PRODUCT_VERSION_BUILD} by ${PRODUCT_PUBLISHER}"
2015-04-17 19:55:29 +00:00
OutFile "mkvtoolnix-32bit-${PRODUCT_VERSION}-setup.exe"
2014-01-09 22:06:13 +00:00
InstallDir "$PROGRAMFILES\${PRODUCT_NAME}"
!endif
2005-02-26 13:06:00 +00:00
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
ShowInstDetails show
ShowUnInstDetails show
2010-05-13 20:26:00 +00:00
VIProductVersion "${PRODUCT_VERSION}.0"
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "${PRODUCT_NAME}"
2010-05-14 18:58:07 +00:00
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductVersion" "${PRODUCT_VERSION}${PRODUCT_VERSION_BUILD}"
2010-05-13 20:26:00 +00:00
VIAddVersionKey /LANG=${LANG_ENGLISH} "Comments" "${PRODUCT_NAME} is a set of tools to create, alter and inspect Matroska files under Linux, other Unices and Windows."
VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "${PRODUCT_PUBLISHER}"
2010-05-14 18:58:07 +00:00
VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "${PRODUCT_PUBLISHER} ${PRODUCT_WEB_SITE}"
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "${PRODUCT_NAME} ${PRODUCT_VERSION}${PRODUCT_VERSION_BUILD}"
2010-05-13 20:26:00 +00:00
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "${PRODUCT_VERSION}${PRODUCT_VERSION_BUILD}"
2010-05-08 17:51:38 +00:00
RequestExecutionLevel none
2010-05-06 21:05:19 +00:00
2005-02-26 13:06:00 +00:00
Function .onInit
2010-05-06 21:05:19 +00:00
!insertmacro MUI_LANGDLL_DISPLAY
2010-05-13 18:54:51 +00:00
InitPluginsDir
File /oname=$PLUGINSDIR\external_links.ini "external_links.ini"
2005-02-26 13:06:00 +00:00
FunctionEnd
Section "Program files" SEC01
2008-10-06 15:08:44 +00:00
SetShellVarContext all
2005-02-26 13:06:00 +00:00
SetOutPath "$INSTDIR"
2015-10-02 11:55:37 +00:00
File "../*.exe"
File "../*.url"
File /r /x "portable-app" "../data"
File /r "../doc"
File /r "../examples"
File /r "../locale"
2005-02-26 13:06:00 +00:00
2008-12-06 16:06:38 +00:00
# Delete files that might be present from older installation
# if this is just an upgrade.
2015-08-15 16:27:44 +00:00
Delete "$INSTDIR\mmg.exe"
Delete "$INSTDIR\doc\command_line_references_and_guide.html"
Delete "$INSTDIR\doc\en\mmg.html"
Delete "$INSTDIR\doc\de\mmg.html"
Delete "$INSTDIR\doc\es\mmg.html"
Delete "$INSTDIR\doc\ja\mmg.html"
Delete "$INSTDIR\doc\nl\mmg.html"
Delete "$INSTDIR\doc\uk\mmg.html"
Delete "$INSTDIR\doc\zh_CN\mmg.html"
2015-09-30 18:45:39 +00:00
Delete "$INSTDIR\locale\cs\LC_MESSAGES\qtbase.qm"
Delete "$INSTDIR\locale\de\LC_MESSAGES\qtbase.qm"
Delete "$INSTDIR\locale\fr\LC_MESSAGES\qtbase.qm"
Delete "$INSTDIR\locale\it\LC_MESSAGES\qtbase.qm"
Delete "$INSTDIR\locale\ja\LC_MESSAGES\qtbase.qm"
Delete "$INSTDIR\locale\pl\LC_MESSAGES\qtbase.qm"
Delete "$INSTDIR\locale\ru\LC_MESSAGES\qtbase.qm"
Delete "$INSTDIR\locale\uk\LC_MESSAGES\qtbase.qm"
2015-08-15 16:27:44 +00:00
Delete "$INSTDIR\locale\ca\LC_MESSAGES\wxstd.mo"
Delete "$INSTDIR\locale\cs\LC_MESSAGES\wxstd.mo"
Delete "$INSTDIR\locale\de\LC_MESSAGES\wxstd.mo"
Delete "$INSTDIR\locale\es\LC_MESSAGES\wxstd.mo"
Delete "$INSTDIR\locale\eu\LC_MESSAGES\wxstd.mo"
Delete "$INSTDIR\locale\fr\LC_MESSAGES\wxstd.mo"
Delete "$INSTDIR\locale\it\LC_MESSAGES\wxstd.mo"
Delete "$INSTDIR\locale\it\LC_MESSAGES\wxmsw.mo"
Delete "$INSTDIR\locale\ja\LC_MESSAGES\wxstd.mo"
Delete "$INSTDIR\locale\nl\LC_MESSAGES\wxstd.mo"
Delete "$INSTDIR\locale\pl\LC_MESSAGES\wxstd.mo"
Delete "$INSTDIR\locale\ru\LC_MESSAGES\wxstd.mo"
Delete "$INSTDIR\locale\sv\LC_MESSAGES\wxstd.mo"
Delete "$INSTDIR\locale\tr\LC_MESSAGES\wxstd.mo"
Delete "$INSTDIR\locale\uk\LC_MESSAGES\wxstd.mo"
Delete "$INSTDIR\locale\zh_CN\LC_MESSAGES\wxstd.mo"
Delete "$INSTDIR\locale\zh_TW\LC_MESSAGES\wxstd.mo"
2015-10-02 11:55:37 +00:00
RMDir /r "$INSTDIR\doc\guide"
RMDir /r "$INSTDIR\doc\images"
RMDir /r "$INSTDIR\locale\rs"
2009-05-17 11:41:56 +00:00
2010-03-03 12:28:57 +00:00
# The docs have been moved to locale specific subfolders.
Delete "$INSTDIR\doc\mkvextract.html"
Delete "$INSTDIR\doc\mkvinfo.html"
Delete "$INSTDIR\doc\mkvmerge.html"
Delete "$INSTDIR\doc\mkvpropedit.html"
Delete "$INSTDIR\doc\mmg.html"
2010-03-02 23:38:10 +00:00
Delete "$INSTDIR\doc\mkvmerge-gui.*"
2010-01-06 21:49:56 +00:00
2015-05-08 18:26:44 +00:00
Delete "$INSTDIR\doc\README.Windows.txt"
2015-08-15 16:27:44 +00:00
Delete "$SMPROGRAMS\$ICONS_GROUP\mkvmerge GUI.lnk"
Delete "$SMPROGRAMS\$ICONS_GROUP\MKVToolNix GUI preview.lnk"
2008-12-06 16:06:38 +00:00
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\AppMainExe.exe"
2015-10-02 11:55:37 +00:00
2014-03-04 19:11:25 +00:00
Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\mkvmerge GUI guide.lnk"
2015-10-02 11:55:37 +00:00
RMDir /r "$SMPROGRAMS\$ICONS_GROUP\Documentation\mkvmerge GUI guide"
RMDir /r "$SMPROGRAMS\$ICONS_GROUP\Documentation\Other documentation"
RMDir /r "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference"
2008-12-06 16:06:38 +00:00
SetShellVarContext current
2015-10-02 11:55:37 +00:00
2014-03-04 19:11:25 +00:00
Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\mkvmerge GUI guide.lnk"
2015-10-02 11:55:37 +00:00
RMDir /r "$SMPROGRAMS\$ICONS_GROUP\Documentation\mkvmerge GUI guide"
RMDir /r "$SMPROGRAMS\$ICONS_GROUP\Documentation\Other documentation"
RMDir /r "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line reference"
2008-12-06 16:06:38 +00:00
SetShellVarContext all
2008-10-06 15:00:54 +00:00
# Shortcuts
2005-02-26 13:06:00 +00:00
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
2010-03-03 13:37:30 +00:00
2005-02-26 13:06:00 +00:00
CreateDirectory "$SMPROGRAMS\$ICONS_GROUP"
2008-12-15 09:37:56 +00:00
SetOutPath "$INSTDIR"
2010-05-23 11:27:16 +00:00
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\mkvinfo GUI.lnk" "$INSTDIR\mkvinfo.exe" "-g" "$INSTDIR\mkvinfo.exe"
2015-05-10 08:13:32 +00:00
Delete "$SMPROGRAMS\$ICONS_GROUP\MKVToolNix GUI preview.lnk"
2015-08-15 16:27:44 +00:00
Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line references and guide.lnk"
2015-05-10 08:13:32 +00:00
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\MKVToolNix GUI.lnk" "$INSTDIR\mkvtoolnix-gui.exe" "" "$INSTDIR\mkvtoolnix-gui.exe"
2008-12-15 09:37:56 +00:00
SetOutPath "$INSTDIR\Doc"
2005-02-26 13:06:00 +00:00
CreateDirectory "$SMPROGRAMS\$ICONS_GROUP\Documentation"
2015-08-15 16:27:44 +00:00
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\Command line references.lnk" "$INSTDIR\doc\command_line_references.html"
2014-03-04 19:11:25 +00:00
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\ChangeLog - What is new.lnk" "$INSTDIR\doc\ChangeLog.txt"
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation\README.lnk" "$INSTDIR\doc\README.txt"
2005-02-26 13:06:00 +00:00
!insertmacro MUI_STARTMENU_WRITE_END
2008-12-06 19:10:39 +00:00
2015-06-23 14:47:48 +00:00
${registerExtension} "$INSTDIR\mkvtoolnix-gui.exe" ".mtxcfg" "MKVToolNix GUI Settings"
2008-12-15 09:37:56 +00:00
SetOutPath "$INSTDIR"
2015-08-15 16:27:44 +00:00
IfSilent +3 0
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "$(STRING_SHORTCUT_ON_DESKTOP)" IDNO +2
2015-05-10 08:13:32 +00:00
CreateShortCut "$DESKTOP\MKVToolNix GUI.lnk" "$INSTDIR\mkvtoolnix-gui.exe" "" "$INSTDIR\mkvtoolnix-gui.exe"
2005-02-26 13:06:00 +00:00
SectionEnd
Section -AdditionalIcons
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url"
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk" "$INSTDIR\uninst.exe"
!insertmacro MUI_STARTMENU_WRITE_END
SectionEnd
Section -Post
WriteUninstaller "$INSTDIR\uninst.exe"
2015-08-15 16:27:44 +00:00
WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\mkvtoolnix-gui.exe"
2005-02-26 13:06:00 +00:00
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
2015-08-15 16:27:44 +00:00
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\mkvtoolnix-gui.exe"
2005-02-26 13:06:00 +00:00
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
SectionEnd
2010-05-13 18:54:51 +00:00
Function showExternalLinks
Push $R0
InstallOptions::dialog $PLUGINSDIR\external_links.ini
Pop $R0
FunctionEnd
2005-02-26 13:06:00 +00:00
var unRemoveJobs
Function un.onUninstSuccess
HideWindow
2012-02-12 20:33:09 +00:00
MessageBox MB_ICONINFORMATION|MB_OK "$(STRING_UNINSTALLED_OK)"
2005-02-26 13:06:00 +00:00
FunctionEnd
Function un.onInit
2009-01-17 13:46:46 +00:00
!insertmacro MUI_UNGETLANGUAGE
2012-02-12 20:33:09 +00:00
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "$(STRING_REMOVE_PROGRAM_QUESTION)" IDYES +2
2005-02-26 13:06:00 +00:00
Abort
StrCpy $unRemoveJobs "No"
IfFileExists "$INSTDIR\jobs\*.*" +2
Return
2012-02-12 20:33:09 +00:00
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "$(STRING_REMOVE_JOB_FILES_QUESTION)" IDYES +2
2005-02-26 13:06:00 +00:00
Return
StrCpy $unRemoveJobs "Yes"
FunctionEnd
Section Uninstall
2008-10-06 15:08:44 +00:00
SetShellVarContext all
2015-06-23 14:47:48 +00:00
${unregisterExtension} ".mtxcfg" "MKVToolNix GUI Settings"
2005-02-26 13:06:00 +00:00
!insertmacro MUI_STARTMENU_GETFOLDER "Application" $ICONS_GROUP
Delete "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk"
Delete "$SMPROGRAMS\$ICONS_GROUP\Website.lnk"
Delete "$SMPROGRAMS\$ICONS_GROUP\mkvinfo GUI.lnk"
2014-09-13 09:08:49 +00:00
Delete "$SMPROGRAMS\$ICONS_GROUP\MKVToolNix GUI preview.lnk"
2015-05-10 08:13:32 +00:00
Delete "$SMPROGRAMS\$ICONS_GROUP\MKVToolNix GUI.lnk"
2010-05-08 18:08:29 +00:00
2015-10-02 11:55:37 +00:00
RMDir /r "$SMPROGRAMS\$ICONS_GROUP\Documentation"
2005-02-26 13:06:00 +00:00
RMDir "$SMPROGRAMS\$ICONS_GROUP"
2008-12-06 18:22:38 +00:00
Delete "$DESKTOP\mkvmerge GUI.lnk"
2014-09-13 18:27:30 +00:00
Delete "$DESKTOP\MKVToolNix GUI preview.lnk"
2015-05-10 08:13:32 +00:00
Delete "$DESKTOP\MKVToolNix GUI.lnk"
2008-12-06 18:22:38 +00:00
2015-10-02 11:55:37 +00:00
Delete "$INSTDIR\MKVToolNix.url"
2008-12-06 18:22:38 +00:00
Delete "$INSTDIR\uninst.exe"
2008-12-06 18:47:19 +00:00
Delete "$INSTDIR\mkvextract.exe"
Delete "$INSTDIR\mkvinfo.exe"
Delete "$INSTDIR\mkvmerge.exe"
2009-08-24 15:47:26 +00:00
Delete "$INSTDIR\mkvpropedit.exe"
2014-09-13 09:08:49 +00:00
Delete "$INSTDIR\mkvtoolnix-gui.exe"
2015-08-15 16:27:44 +00:00
Delete "$INSTDIR\mmg.exe"
2009-01-08 20:33:19 +00:00
2015-10-02 11:55:37 +00:00
RMDir /r "$INSTDIR\data"
RMDir /r "$INSTDIR\doc"
RMDir /r "$INSTDIR\examples"
RMDir /r "$INSTDIR\locale"
RMDir "$INSTDIR"
2006-11-10 13:05:22 +00:00
2005-02-26 13:06:00 +00:00
DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
2009-01-08 20:33:19 +00:00
DeleteRegKey HKLM "${MTX_REGKEY}"
2005-02-26 13:06:00 +00:00
DeleteRegKey HKCU "${MTX_REGKEY}"
SetAutoClose true
SectionEnd