diff options
author | sr55 <[email protected]> | 2020-11-14 15:44:33 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2020-11-14 15:44:40 +0000 |
commit | edd291d61a3aad8f41f86af909a4e9979ac5d37d (patch) | |
tree | 6dcefb610de2c2b7b3853eb486269eb53bf45cb5 /win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi | |
parent | 1a8610c0ca7ad2ceacbb02b71ca46e955ce3ae00 (diff) |
WinGui: Various fixes and improvements to the installers post .NET 5
Diffstat (limited to 'win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi')
-rw-r--r-- | win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi b/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi index 19323a403..0d2f18b54 100644 --- a/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi +++ b/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi @@ -119,9 +119,14 @@ Section "HandBrake" SectionApp File "*.dll"
File "*.template"
File "*.config"
- File "*.json"
+ File "*.deps.json"
+ File "*.runtimeconfig.json"
File "HandBrake*.pdb"
+ SetOutPath "$INSTDIR\runtimes\win\lib\netcoreapp2.0"
+ SetOverwrite ifnewer
+ File "runtimes\win\lib\netcoreapp2.0\*.*"
+
; Copy the languages
SetOutPath "$INSTDIR\de"
SetOverwrite ifnewer
@@ -233,6 +238,12 @@ Section Uninstall Delete "$INSTDIR\uk\*.*"
RMDir "$INSTDIR\uk"
+ Delete "$INSTDIR\runtimes\win\lib\netcoreapp2.0\*.*"
+ RMDir "$INSTDIR\runtimes\win\lib\netcoreapp2.0"
+ RMDir "$INSTDIR\runtimes\win\lib"
+ RMDir "$INSTDIR\runtimes\win"
+ RMDir "$INSTDIR\runtimes"
+
RMDir "$INSTDIR"
Delete "$SMPROGRAMS\HandBrake Nightly\Uninstall.lnk"
|