diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-06-21 12:42:55 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-06-21 12:42:55 +0400 |
commit | 8cebab2f66f54bdf70b87f10d16a4396e932590a (patch) | |
tree | 3c60eb029d9dc9d96a9342c7439c1fe6e24e3392 | |
parent | 40ede4f32c353e9b57042ae15ab9a97558fa47cd (diff) |
mpc-hc_setup.iss: indicate the Lite build in the uninstall entry in Add/Remove programs
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5213 10f7b99b-c216-0410-bff0-8a66a9350fd8
-rw-r--r-- | distrib/mpc-hc_setup.iss | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/distrib/mpc-hc_setup.iss b/distrib/mpc-hc_setup.iss index 010409a78..d142e8e4a 100644 --- a/distrib/mpc-hc_setup.iss +++ b/distrib/mpc-hc_setup.iss @@ -30,6 +30,10 @@ #error Use the Unicode Inno Setup
#endif
+; If you want to compile the 64-bit version define "x64build" (uncomment the define below or use build.bat)
+;#define x64Build
+;#define MPCHC_LITE
+
; Include translations by default. You can bypass this by defining localize=whatever or false etc in build.bat or here
#if !defined(localize)
#if defined(MPCHC_LITE)
@@ -39,9 +43,6 @@ #endif
#endif
#define sse_required
-; If you want to compile the 64-bit version define "x64build" (uncomment the define below or use build.bat)
-;#define x64Build
-;#define MPCHC_LITE
; From now on you shouldn't need to change anything
@@ -66,7 +67,9 @@ #define OutFilename = app_name + "." + app_version + ".x86"
#endif
-#if localize != "true"
+#if localize != "true" && defined(MPCHC_LITE)
+ #define OutFilename = OutFilename + ".Lite"
+#else
#define OutFilename = OutFilename + ".en"
#endif
@@ -79,14 +82,22 @@ #ifdef x64Build
AppId={{2ACBF1FA-F5C3-4B19-A774-B22A31F231B9}
DefaultGroupName={#app_name} x64
+#if defined(MPCHC_LITE)
+UninstallDisplayName={#app_name} {#app_version} Lite (64-bit)
+#else
UninstallDisplayName={#app_name} {#app_version} (64-bit)
+#endif
ArchitecturesAllowed=x64
ArchitecturesInstallIn64BitMode=x64
#else
AppId={{2624B969-7135-4EB1-B0F6-2D8C397B45F7}
DefaultGroupName={#app_name}
+#if defined(MPCHC_LITE)
+UninstallDisplayName={#app_name} {#app_version} Lite
+#else
UninstallDisplayName={#app_name} {#app_version}
#endif
+#endif
AppName={#app_name}
AppVersion={#app_version}
@@ -159,9 +170,17 @@ Name: ua; MessagesFile: compiler:Languages\Ukrainian.isl [Messages]
#ifdef x64Build
+#ifdef MPCHC_LITE
+BeveledLabel={#app_name} {#app_version} Lite (64-bit)
+#else
BeveledLabel={#app_name} {#app_version} (64-bit)
+#endif
#else
-BeveledLabel={#app_name} {#app_version}
+#ifdef MPCHC_LITE
+BeveledLabel={#app_name} {#app_version} Lite
+#else
+BeveledLabel={#app_name} {#app_version}
+#endif
#endif
|