diff options
author | sr55 <[email protected]> | 2019-09-21 21:29:52 +0100 |
---|---|---|
committer | Scott <[email protected]> | 2019-11-15 22:14:47 +0000 |
commit | b9e7ea8c83e47c5965874d32e1eeeee98436a824 (patch) | |
tree | 696b361fc42792163c5493f1a61852a50550b2a4 /win/CS | |
parent | 61b4ac916f0ed02b77dcd8354ae9a5b8cc63e5e1 (diff) |
Update the installer to work with plugins search directory.
Diffstat (limited to 'win/CS')
-rw-r--r-- | win/CS/HandBrakeWPF/Installer/Installer64.nsi | 6 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Installer/Installer64.nsi b/win/CS/HandBrakeWPF/Installer/Installer64.nsi index 9342c7bcc..8f1bffaed 100644 --- a/win/CS/HandBrakeWPF/Installer/Installer64.nsi +++ b/win/CS/HandBrakeWPF/Installer/Installer64.nsi @@ -21,6 +21,10 @@ ManifestDPIAware true !include "MUI.nsh"
!include WinVer.nsh
+; Required for Github Actions (or local builds were inetc is not part of the installed NSIS)
+; Extract inetc.zip to the HandBrake root directory into a folder called plugins.
+!addplugindir /x86-ansi "..\..\..\..\..\..\plugins\Plugins\x86-ansi"
+
; MUI Settings
!define MUI_ABORTWARNING
!define MUI_ICON "HandBrakepineapple.ico"
@@ -265,4 +269,4 @@ Function CheckFrameWork StrCpy $0 "2"
${EndIf}
-FunctionEnd
\ No newline at end of file +FunctionEnd
diff --git a/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi b/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi index 8cea32af3..be075927c 100644 --- a/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi +++ b/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi @@ -17,6 +17,10 @@ SetCompressor lzma
ManifestDPIAware true
+; Required for Github Actions (or local builds were inetc is not part of the installed NSIS)
+; Extract inetc.zip to the HandBrake root directory into a folder called plugins.
+!addplugindir /x86-ansi "..\..\..\..\..\..\plugins\Plugins\x86-ansi"
+
; MUI 1.67 compatible ------
!include "MUI.nsh"
!include WinVer.nsh
@@ -260,4 +264,4 @@ Function CheckFrameWork StrCpy $0 "2"
${EndIf}
-FunctionEnd
\ No newline at end of file +FunctionEnd
|