forked from FeatherCoin/Feathercoin
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows installer graphics and move to 64bit only
- Loading branch information
Showing
4 changed files
with
3 additions
and
11 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
Name "@PACKAGE_NAME@ (@WINDOWS_BITS@-bit)" | ||
Name "@PACKAGE_NAME@ (64-bit)" | ||
|
||
RequestExecutionLevel highest | ||
SetCompressor /SOLID lzma | ||
|
||
# General Symbol Definitions | ||
!define REGKEY "SOFTWARE\$(^Name)" | ||
!define PRODUCTVERSION @OMNICORE_VERSION_MAJOR@.@OMNICORE_VERSION_MINOR@.@OMNICORE_VERSION_PATCH@.@OMNICORE_VERSION_BUILD@ | ||
!define VERSION @OMNICORE_VERSION_MAJOR@.@OMNICORE_VERSION_MINOR@.@OMNICORE_VERSION_PATCH@.@OMNICORE_VERSION_BUILD@ | ||
!define VERSION @OMNICORE_VERSION_MAJOR@.@OMNICORE_VERSION_MINOR@.@OMNICORE_VERSION_PATCH@ | ||
!define COMPANY "Omni Foundation" | ||
!define URL http://www.omnilayer.org/ | ||
|
||
|
@@ -29,9 +29,7 @@ SetCompressor /SOLID lzma | |
# Included files | ||
!include Sections.nsh | ||
!include MUI2.nsh | ||
!if "@WINDOWS_BITS@" == "64" | ||
!include x64.nsh | ||
!endif | ||
|
||
# Variables | ||
Var StartMenuGroup | ||
|
@@ -49,12 +47,8 @@ Var StartMenuGroup | |
!insertmacro MUI_LANGUAGE English | ||
|
||
# Installer attributes | ||
OutFile @abs_top_srcdir@/omnifeather-${VERSION}-win@[email protected] | ||
!if "@WINDOWS_BITS@" == "64" | ||
OutFile @abs_top_srcdir@/omnifeather-${VERSION}-win64-setup.exe | ||
InstallDir "$PROGRAMFILES64\OmniFeather" | ||
!else | ||
InstallDir "$PROGRAMFILES\OmniFeather" | ||
!endif | ||
CRCCheck on | ||
XPStyle on | ||
BrandingText " " | ||
|
@@ -156,15 +150,13 @@ SectionEnd | |
# Installer functions | ||
Function .onInit | ||
InitPluginsDir | ||
!if "@WINDOWS_BITS@" == "64" | ||
${If} ${RunningX64} | ||
; disable registry redirection (enable access to 64-bit portion of registry) | ||
SetRegView 64 | ||
${Else} | ||
MessageBox MB_OK|MB_ICONSTOP "Cannot install 64-bit version on a 32-bit system." | ||
Abort | ||
${EndIf} | ||
!endif | ||
FunctionEnd | ||
|
||
# Uninstaller functions | ||
|