diff --git a/build.bat b/build.bat index 3a616d74b..3adcb3e7d 100644 --- a/build.bat +++ b/build.bat @@ -207,6 +207,7 @@ COPY /Y /V "Newtonsoft.Json.dll" "temp_zip\" COPY /Y /V "System.Net.Http.Primitives.dll" "temp_zip\" COPY /Y /V "NAudio.Core.dll" "temp_zip\" COPY /Y /V "NAudio.WinMM.dll" "temp_zip\" +COPY /Y /V "Microsoft.Win32.Registry.dll" "temp_zip\" COPY /Y /V "SubtitleEdit.exe" "temp_zip\" COPY /Y /V "Languages\*.xml" "temp_zip\Languages\" COPY /Y /V "..\..\..\..\Dictionaries\*.*" "temp_zip\Dictionaries\" diff --git a/build_beta.bat b/build_beta.bat index 9f7b454f2..afe7fdd7d 100644 --- a/build_beta.bat +++ b/build_beta.bat @@ -181,6 +181,7 @@ COPY /Y /V "Newtonsoft.Json.dll" "temp_zip\" COPY /Y /V "System.Net.Http.Primitives.dll" "temp_zip\" COPY /Y /V "NAudio.Core.dll" "temp_zip\" COPY /Y /V "NAudio.WinMM.dll" "temp_zip\" +COPY /Y /V "Microsoft.Win32.Registry.dll" "temp_zip\" COPY /Y /V "SubtitleEdit.exe" "temp_zip\" COPY /Y /V "Languages\*.xml" "temp_zip\Languages\" COPY /Y /V "..\..\..\..\Dictionaries\*.*" "temp_zip\Dictionaries\" diff --git a/installer/Subtitle_Edit_installer.iss b/installer/Subtitle_Edit_installer.iss index 74b9a7328..a6a570164 100644 --- a/installer/Subtitle_Edit_installer.iss +++ b/installer/Subtitle_Edit_installer.iss @@ -314,6 +314,7 @@ Source: {#bindir}\System.Net.Http.Extensions.dll; DestDir: {app}; Source: {#bindir}\System.Net.Http.Primitives.dll; DestDir: {app}; Flags: ignoreversion; Components: main Source: {#bindir}\NAudio.Core.dll; DestDir: {app}; Flags: ignoreversion; Components: main Source: {#bindir}\NAudio.WinMM.dll; DestDir: {app}; Flags: ignoreversion; Components: main +Source: {#bindir}\Microsoft.Win32.Registry.dll; DestDir: {app}; Flags: ignoreversion; Components: main Source: ..\Changelog.txt; DestDir: {app}; Flags: ignoreversion; Components: main Source: ..\LICENSE.txt; DestDir: {app}; Flags: ignoreversion; Components: main Source: Icons\uninstall.ico; DestDir: {app}\Icons; Flags: ignoreversion; Components: main @@ -355,6 +356,8 @@ Type: files; Name: {app}\System.Net.Http.Extensions.dll; Check: IsU Type: files; Name: {app}\System.Net.Http.Primitives.dll; Check: IsUpgrade() Type: files; Name: {app}\NAudio.Core.dll; Check: IsUpgrade() Type: files; Name: {app}\NAudio.WinMM.dll; Check: IsUpgrade() +Type: files; Name: {app}\Microsoft.Win32.Registry.dll; Check: IsUpgrade() + ; Remove old files from the {app} dir Type: files; Name: {app}\Dictionaries\da_names.xml; Check: IsUpgrade()