diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-09-04 10:01:27 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-09-04 10:01:27 +0000 |
commit | 719790c350a18e714babedb53906ef788c9e487a (patch) | |
tree | fb5722c54a085b932a04eaf4b963a997124a78f6 /tools | |
parent | 88efdb32b732e4335de0a3f3c93966a6c4d67031 (diff) |
- Installer: optimization (thanks Robyer for the tip)
git-svn-id: http://svn.miranda-ng.org/main/trunk@5939 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools')
-rw-r--r-- | tools/installer_ng/MirandaNG.iss | 42 |
1 files changed, 7 insertions, 35 deletions
diff --git a/tools/installer_ng/MirandaNG.iss b/tools/installer_ng/MirandaNG.iss index b362dcf7fd..a1531f3546 100644 --- a/tools/installer_ng/MirandaNG.iss +++ b/tools/installer_ng/MirandaNG.iss @@ -1,48 +1,20 @@ #ifdef ptx86
#define MirName "Miranda32.exe"
-#else
- #define MirName "Miranda64.exe"
-#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"
-#endif
-
-#ifndef ptx86
- #define ArcAllow "x64"
-#else
#define ArcAllow ""
-#endif
-
-#ifdef ptx86
#define VcRedistName "vcredist_x86.exe"
-#else
- #define VcRedistName "vcredist_x64.exe"
-#endif
-
-#ifdef ptx86
#define Ptf "x86"
-#else
- #define Ptf "x64"
-#endif
-
-#ifdef ptx86
#define RedistRegChk "(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}')"
-#else
- #define RedistRegChk "(HKLM64, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1D8E6291-B0D5-35EC-8441-6616F567A0F7}')"
-#endif
-
-#ifdef ptx86
#define MirPfInstDir "ExpandConstant('{pf32}')"
#else
+ #define MirName "Miranda64.exe"
+ #define MirGroupName "Miranda NG x64"
+ #define MirOutName "miranda-ng-alpha-latest_x64"
+ #define ArcAllow "x64"
+ #define VcRedistName "vcredist_x64.exe"
+ #define Ptf "x64"
+ #define RedistRegChk "(HKLM64, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1D8E6291-B0D5-35EC-8441-6616F567A0F7}')"
#define MirPfInstDir "ExpandConstant('{pf64}')"
#endif
|