diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-05-05 17:17:43 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-05-05 17:17:43 +0400 |
commit | 50f77333d2b245c4f943fcb9ad7cc0b52b2e7542 (patch) | |
tree | bc5e676fc335896d86c21921b02e17ed790362eb | |
parent | c22b6b0ad1f7094508a71f234f463f43eb906658 (diff) |
updated installer's script
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1846 10f7b99b-c216-0410-bff0-8a66a9350fd8
-rw-r--r-- | distrib/custom_messages.iss | 15 | ||||
-rw-r--r-- | distrib/mpc-hc_setup.iss | 17 |
2 files changed, 19 insertions, 13 deletions
diff --git a/distrib/custom_messages.iss b/distrib/custom_messages.iss index 229e84294..b9056cf7c 100644 --- a/distrib/custom_messages.iss +++ b/distrib/custom_messages.iss @@ -1,10 +1,19 @@ [CustomMessages]
;utf-8 trigger: 巼ݠ
-;
;tsk=Task, msg=Message
-;
;Do NOT translate your language's name
+;English
+en.langid=00000000
+en.tsk_AllUsers=For all users
+en.tsk_CurrentUser=For the current user only
+en.tsk_Other=Other tasks:
+en.tsk_ResetSettings=Reset settings
+en.msg_DeleteSettings=Do you also want to delete MPC-HC settings? %nIf you plan on installing MPC-HC again then you do not have to delete them.
+
+
+#if localize
+
;Portuguese (Brasil)
br.langid=00000017
br.tsk_AllUsers=Para todos os usuarios
@@ -148,3 +157,5 @@ ua.tsk_CurrentUser=Лише для поточного користувача ua.tsk_Other=Інші завдання:
ua.tsk_ResetSettings=Скинути налаштування
ua.msg_DeleteSettings=Чи хочете ви видалити налаштування MPC-HC? %nЯкщо ви плануєте просто повторно встановити MPC-HC, то вам не потрібно їх видаляти.
+
+#endif
diff --git a/distrib/mpc-hc_setup.iss b/distrib/mpc-hc_setup.iss index 072e8d26c..5731ba49b 100644 --- a/distrib/mpc-hc_setup.iss +++ b/distrib/mpc-hc_setup.iss @@ -72,7 +72,8 @@ OutputDir=Installer SetupIconFile=..\src\apps\mplayerc\res\icon.ico
WizardImageFile=Images\WizardImageLarge.bmp
WizardSmallImageFile=Images\WizardImageSmall.bmp
-Compression=lzma2/ultra
+Compression=lzma/ultra
+InternalCompressLevel=ultra
SolidCompression=yes
DirExistsWarning=no
EnableDirDoesntExistWarning=no
@@ -109,18 +110,10 @@ Name: sk; MessagesFile: compiler:Languages\Slovak.isl Name: tc; MessagesFile: Languages\ChineseTrad.isl
Name: tr; MessagesFile: Languages\Turkish.isl
Name: ua; MessagesFile: Languages\Ukrainian.isl
-#include "custom_messages.iss"
#endif
-
-[CustomMessages]
-;tsk=Task, msg=Message
-en.langid=00000000
-en.tsk_AllUsers=For all users
-en.tsk_CurrentUser=For the current user only
-en.tsk_Other=Other tasks:
-en.tsk_ResetSettings=Reset settings
-en.msg_DeleteSettings=Do you also want to delete MPC-HC settings? %nIf you plan on installing MPC-HC again then you do not have to delete them.
+; Include installer's custom messages
+#include "custom_messages.iss"
[Messages]
@@ -184,6 +177,8 @@ Type: files; Name: {userdesktop}\{#app_name}.lnk; Check: NOT IsTaskSelected('des Type: files; Name: {commondesktop}\{#app_name}.lnk; Check: NOT IsTaskSelected('desktopicon\common')
Type: files; Name: {app}\{#mpchc_ini}; Tasks: reset_settings
Type: files; Name: {app}\*.bak; Tasks: reset_settings
+Type: files; name: {userappdata}\Media Player Classic\default.mpcpl; Tasks: reset_settings
+Type: dirifempty; Name: {userappdata}\Media Player Classic; Tasks: reset_settings
[Code]
|