diff --git a/ChangeLog b/ChangeLog index 9ca0454f1..59a86cf4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2009-02-28 Moritz Bunkus + * installer: bug fix: If the installer is run in silent mode + (switch "/S") then it will not ask the user whether or not to + place a shortcut on the desktop, and that shortcut will not be + created. Fix for bug 345. + * mmg: new feature: Added two buttons "enable all" and "disable all" to the list of attached files that enable / disable all attached files. diff --git a/installer/mkvtoolnix-unicode.nsi b/installer/mkvtoolnix-unicode.nsi index f1cc0be55..ab51031d0 100644 --- a/installer/mkvtoolnix-unicode.nsi +++ b/installer/mkvtoolnix-unicode.nsi @@ -169,6 +169,7 @@ Section "Program files" SEC01 !insertmacro MUI_STARTMENU_WRITE_END SetOutPath "$INSTDIR" + IfSilent +3 0 MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Should a shortcut be placed on the desktop?" IDNO +2 CreateShortCut "$DESKTOP\mkvmerge GUI.lnk" "$INSTDIR\mmg.exe" "" "$INSTDIR\matroskalogo_big.ico" SectionEnd