summaryrefslogtreecommitdiff
path: root/tools/installer_ng
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-09-03 22:26:29 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-09-03 22:26:29 +0000
commit29445fb3f1a1bd1026a4c74f59ad5de79dbba1b4 (patch)
tree4a22fce8377ba164407f300e345c2fa84f07ae46 /tools/installer_ng
parent7d352ebdd897385f318c410db1252ba9ebf81c7d (diff)
- Different program groups and shortcuts for x86 and x64
git-svn-id: http://svn.miranda-ng.org/main/trunk@5931 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/installer_ng')
-rw-r--r--tools/installer_ng/MirandaNG.iss14
1 files changed, 10 insertions, 4 deletions
diff --git a/tools/installer_ng/MirandaNG.iss b/tools/installer_ng/MirandaNG.iss
index 3c16700125..b362dcf7fd 100644
--- a/tools/installer_ng/MirandaNG.iss
+++ b/tools/installer_ng/MirandaNG.iss
@@ -5,6 +5,12 @@
#endif
#ifdef ptx86
+ #define MirGroupName "Miranda NG"
+#else
+ #define MirGroupName "Miranda NG x64"
+#endif
+
+#ifdef ptx86
#define MirOutName "miranda-ng-alpha-latest"
#else
#define MirOutName "miranda-ng-alpha-latest_x64"
@@ -50,7 +56,7 @@ VersionInfoVersion={#SetupSetting("AppVersion")}
MinVersion=5.0
ArchitecturesAllowed={#ArcAllow}
DefaultDirName={pf}\Miranda NG
-DefaultGroupName=Miranda NG
+DefaultGroupName={#MirGroupName}
LicenseFile=Files\Docs\license.txt
UninstallFilesDir={app}\Uninstall
UninstallDisplayIcon={#MirName}
@@ -208,10 +214,10 @@ Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescrip
[Icons]
Name: "{app}\DbChecker"; Filename: "{app}\{#MirName}"; Parameters: "/svc:dbchecker"; Check: IsDefault()
-Name: "{group}\Miranda NG"; Filename: "{app}\{#MirName}"
+Name: "{group}\{#MirGroupName}"; Filename: "{app}\{#MirName}"
Name: "{group}\{cm:UninstallProgram,Miranda NG}"; Filename: {app}\Uninstall\Unins000.exe
-Name: "{userdesktop}\Miranda NG"; Filename: "{app}\{#MirName}"; WorkingDir: {app}; Tasks: desktopicon
-Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Miranda NG"; Filename: "{app}\{#MirName}"; WorkingDir: {app}; Tasks: quicklaunchicon
+Name: "{userdesktop}\{#MirGroupName}"; Filename: "{app}\{#MirName}"; WorkingDir: {app}; Tasks: desktopicon
+Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MirGroupName}"; Filename: "{app}\{#MirName}"; WorkingDir: {app}; Tasks: quicklaunchicon
[Run]
Filename: "{tmp}\{#VcRedistName}"; Parameters: "/passive /Q:a /c:""msiexec /qb /i vcredist.msi"" "; Check: RedistIsNotInstalled(); StatusMsg: Installing Microsoft Visual C++ 2010 SP1 Redistributable Package ({#Ptf})