/[pcsx2_0.9.7]/trunk/nsis/SharedSettings.nsh
ViewVC logotype

Contents of /trunk/nsis/SharedSettings.nsh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31 - (show annotations) (download)
Tue Sep 7 03:24:11 2010 UTC (9 years, 9 months ago) by william
File size: 1644 byte(s)
committing r3113 initial commit again...
1
2 ; =======================================================================
3 ; Core Includes and Defines
4 ; =======================================================================
5
6 ; Notes on Uninstall Log Location (UNINSTALL_LOG)
7 ; The name of the uninstall log determines whether or not future installers
8 ; fall under the same single uninstall entry, or if they use multiple (separate)
9 ; uninstall folders.
10
11 !system 'SubWCRev.exe ..\pcsx2 templates\svnrev_pcsx2.nsh svnrev_pcsx2.nsh'
12 !include "svnrev_pcsx2.nsh"
13
14 !ifndef APP_VERSION
15 !define APP_VERSION "0.9.7"
16 !endif
17
18 !define APP_NAME "PCSX2 ${APP_VERSION} (r${SVNREV})"
19 !define APP_FILENAME "pcsx2-r${SVNREV}"
20 !define UNINSTALL_LOG "Uninst-${APP_FILENAME}"
21
22 !define INSTDIR_REG_ROOT "HKLM"
23
24 XPStyle on
25
26 ; LZMA is the best, by far, so let's make sure it's always in use:
27 ; (dictionaries larger than 24MB don't seem to help)
28 SetCompressor /SOLID lzma
29 SetCompressorDictSize 24
30
31
32 ; The name of the installer
33 Name "${APP_NAME}"
34
35 OutFile "${APP_FILENAME}-${OUTFILE_POSTFIX}.exe"
36
37 ; The default installation directory
38 InstallDir "$PROGRAMFILES\PCSX2 ${APP_VERSION}"
39
40 ; Registry key to check for directory (so if you install again, it will
41 ; overwrite the old one automatically)
42 InstallDirRegKey ${INSTDIR_REG_ROOT} "Software\PCSX2" "Install_Dir_${APP_VERSION}"
43
44 ; These defines are dependent on NSIS vars assigned above.
45
46 !define APP_EXE "$INSTDIR\${APP_FILENAME}.exe"
47 !define INSTDIR_REG_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_FILENAME}"
48
49 Var DirectXSetupError

  ViewVC Help
Powered by ViewVC 1.1.22