Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
win-installer
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
win-installer
Commits
e176be4c
Commit
e176be4c
authored
Aug 21, 2012
by
Justin Karneges
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support packaging 64 bit version
parent
12537cd9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
7 deletions
+22
-7
config.nsh
config.nsh
+6
-3
psi.nsi
src/psi.nsi
+16
-4
No files found.
config.nsh
View file @
e176be4c
...
@@ -2,17 +2,20 @@
...
@@ -2,17 +2,20 @@
; config.nsh - Psi Installer Configuration File
; config.nsh - Psi Installer Configuration File
;*******************************************************************************
;*******************************************************************************
!define APPVERSION "0.1
2
"
!define APPVERSION "0.1
4
"
!define APPEXTRAVERSION ""
!define APPEXTRAVERSION ""
!define BUILD_WITH_LANGPACKS
!define BUILD_WITH_LANGPACKS
; ^ comment if you want to build the installer without language packs
; ^ comment if you want to build the installer without language packs
;!define BUILD_32
; ^ uncomment to package a 32-bit psi. otherwise 64-bit psi is assumed
!define INSTALLER_HOME "/Volumes/Home/Projects/psi/win-installer/psi-0.12"
!define INSTALLER_HOME "/Volumes/Home/Projects/psi/win-installer/psi-0.12"
!define INSTALLER_BUILD "
1
"
!define INSTALLER_BUILD "
0
"
; ^ update whenever you add something to the installer and rebuild it
; ^ update whenever you add something to the installer and rebuild it
; without changing APPVERSION
; without changing APPVERSION
; ^ reset to 0 when you change APPVERSION
; ^ reset to 0 when you change APPVERSION
!define FILE_SEPARATOR "
/
"
!define FILE_SEPARATOR "
\
"
src/psi.nsi
View file @
e176be4c
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
!define INSTALLER_VERSION "2.0"
!define INSTALLER_VERSION "2.0"
; Psi Installer Configuration File
; Psi Installer Configuration File
!include "..
/
config.nsh"
!include "..
\
config.nsh"
; Application name
; Application name
!define APPNAME "Psi"
!define APPNAME "Psi"
...
@@ -95,11 +95,23 @@ BrandingText "- ${APPNAMEANDVERSION} installer - build ${INSTALLER_BUILD} / scri
...
@@ -95,11 +95,23 @@ BrandingText "- ${APPNAMEANDVERSION} installer - build ${INSTALLER_BUILD} / scri
!define APP_SOURCE "${APP_BUILD}psi_app${FILE_SEPARATOR}"
!define APP_SOURCE "${APP_BUILD}psi_app${FILE_SEPARATOR}"
Name "${APPNAMEANDVERSION}"
Name "${APPNAMEANDVERSION}"
InstallDir "$PROGRAMFILES\${APPNAME}"
!ifdef BUILD_32
InstallDir "$PROGRAMFILES\${APPNAME}"
!else
InstallDir "$PROGRAMFILES64\${APPNAME}"
!endif
!ifdef BUILD_WITH_LANGPACKS
!ifdef BUILD_WITH_LANGPACKS
OutFile "${APP_BUILD}${LCAPPNAME}-${APPFULLVERSION}-win-setup.exe"
!ifdef BUILD_32
OutFile "${APP_BUILD}${LCAPPNAME}-${APPFULLVERSION}-win32-setup.exe"
!else
OutFile "${APP_BUILD}${LCAPPNAME}-${APPFULLVERSION}-win64-setup.exe"
!endif
!else
!ifdef BUILD_32
OutFile "${APP_BUILD}${LCAPPNAME}-${APPFULLVERSION}-win32-setup-base.exe"
!else
!else
OutFile "${APP_BUILD}${LCAPPNAME}-${APPFULLVERSION}-win-setup-base.exe"
OutFile "${APP_BUILD}${LCAPPNAME}-${APPFULLVERSION}-win64-setup-base.exe"
!endif
!endif
!endif
InstallDirRegKey HKLM "Software\Affinix\${APPNAME}" ""
InstallDirRegKey HKLM "Software\Affinix\${APPNAME}" ""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment