diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-07-14 02:16:40 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2013-07-14 15:19:04 +0400 |
commit | 726a07e3c0aa827499f16a7d2a0a2e0cdf53b9a4 (patch) | |
tree | cf2a4aade5ce76797621e11938bf880f1d1ee5df /distrib | |
parent | 1c38ccbf9f4638e03659c3859d3a9dc9eae1819d (diff) |
Update installer.
Delete old LAVFilters for the x64 build.
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/mpc-hc_setup.iss | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/distrib/mpc-hc_setup.iss b/distrib/mpc-hc_setup.iss index d3d20b18c..732147abb 100644 --- a/distrib/mpc-hc_setup.iss +++ b/distrib/mpc-hc_setup.iss @@ -69,18 +69,17 @@ #define base_bindir = "..\bin"
#endif
-#define lavfiltersdir = "LAVFilters"
-
#ifdef x64Build
#define bindir = base_bindir + "\mpc-hc_x64"
#define mpchc_exe = "mpc-hc64.exe"
#define mpchc_ini = "mpc-hc64.ini"
- #define lavfiltersdir = lavfiltersdir + "64"
+ #define lavfiltersdir = "LAVFilters64"
#define OutFilename = app_name + "." + app_ver + ".x64"
#else
#define bindir = base_bindir + "\mpc-hc_x86"
#define mpchc_exe = "mpc-hc.exe"
#define mpchc_ini = "mpc-hc.ini"
+ #define lavfiltersdir = "LAVFilters"
#define OutFilename = app_name + "." + app_ver + ".x86"
#endif
@@ -297,6 +296,22 @@ Type: files; Name: {userdesktop}\Media Player Classic - Home Cinema.lnk; Check Type: files; Name: {commondesktop}\Media Player Classic - Home Cinema.lnk; Check: not IsTaskSelected('desktopicon\common') and IsUpgrade()
Type: files; Name: {#quick_launch}\Media Player Classic - Home Cinema.lnk; Check: not IsTaskSelected('quicklaunchicon') and IsUpgrade(); OnlyBelowVersion: 6.01
+#ifdef x64Build
+Type: files; Name: {app}\LAVFilters\avcodec-lav-??.dll; Check: IsUpgrade()
+Type: files; Name: {app}\LAVFilters\avfilter-lav-?.dll; Check: IsUpgrade()
+Type: files; Name: {app}\LAVFilters\avformat-lav-??.dll; Check: IsUpgrade()
+Type: files; Name: {app}\LAVFilters\avresample-lav-?.dll; Check: IsUpgrade()
+Type: files; Name: {app}\LAVFilters\avutil-lav-??.dll; Check: IsUpgrade()
+Type: files; Name: {app}\LAVFilters\IntelQuickSyncDecoder.dll; Check: IsUpgrade()
+Type: files; Name: {app}\LAVFilters\LAVAudio.ax; Check: IsUpgrade()
+Type: files; Name: {app}\LAVFilters\LAVFilters.Dependencies.manifest; Check: IsUpgrade()
+Type: files; Name: {app}\LAVFilters\LAVSplitter.ax; Check: IsUpgrade()
+Type: files; Name: {app}\LAVFilters\LAVVideo.ax; Check: IsUpgrade()
+Type: files; Name: {app}\LAVFilters\libbluray.dll; Check: IsUpgrade()
+Type: files; Name: {app}\LAVFilters\swscale-lav-?.dll; Check: IsUpgrade()
+Type: dirifempty; Name: {app}\LAVFilters\; Check: IsUpgrade()
+#endif
+
#if localize == "true"
; remove the old language dlls when upgrading
|