mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-26 08:22:31 +00:00
installer: improve support for silent installation
This commit is contained in:
parent
c75052fce6
commit
06725a38da
@ -1,3 +1,8 @@
|
||||
2016-03-25 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* Installer: fixed support for silent installation and
|
||||
uninstallation.
|
||||
|
||||
2016-03-24 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvmerge: bug fix: fixed two more issues in the conversion of
|
||||
|
@ -261,6 +261,7 @@ Section -Post
|
||||
SectionEnd
|
||||
|
||||
Function showExternalLinks
|
||||
IfSilent +4 0
|
||||
Push $R0
|
||||
InstallOptions::dialog $PLUGINSDIR\external_links.ini
|
||||
Pop $R0
|
||||
@ -270,16 +271,19 @@ var unRemoveJobs
|
||||
|
||||
Function un.onUninstSuccess
|
||||
HideWindow
|
||||
IfSilent +2 0
|
||||
MessageBox MB_ICONINFORMATION|MB_OK "$(STRING_UNINSTALLED_OK)"
|
||||
FunctionEnd
|
||||
|
||||
Function un.onInit
|
||||
!insertmacro MUI_UNGETLANGUAGE
|
||||
IfSilent +3 0
|
||||
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "$(STRING_REMOVE_PROGRAM_QUESTION)" IDYES +2
|
||||
Abort
|
||||
StrCpy $unRemoveJobs "No"
|
||||
IfFileExists "$INSTDIR\jobs\*.*" +2
|
||||
Return
|
||||
IfSilent +3 0
|
||||
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "$(STRING_REMOVE_JOB_FILES_QUESTION)" IDYES +2
|
||||
Return
|
||||
StrCpy $unRemoveJobs "Yes"
|
||||
|
Loading…
Reference in New Issue
Block a user