forked from Toom3000/ma3_Magic_ColorGrid
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstaller.nsi
More file actions
49 lines (31 loc) · 1.05 KB
/
installer.nsi
File metadata and controls
49 lines (31 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
; Simple nsi script for installation of the magic color grid plugin.
;--------------------------------
; The name of the installer
Name "ma3_MagicColorGrid_Installer"
; The file to write
OutFile "ma3_MagicColorGrid_Installer.exe"
; Request application privileges for Windows Vista
RequestExecutionLevel user
; Build Unicode installer
Unicode True
; The default installation directory
InstallDir $%PROGRAMDATA%\MALightingTechnology\gma3_library
;--------------------------------
; Pages
Page directory
Page instfiles
;--------------------------------
Function .onVerifyInstDir
IfFileExists $INSTDIR\*.* Path1Good
Abort ; if $INSTDIR is not a winamp directory, don't let us install there
Path1Good:
FunctionEnd
; The stuff to install
Section "" ;No components page, name is not important
; Set output path to the installation directory.
SetOutPath $INSTDIR\media\images
; Put file there
File lib_images\*
SetOutPath $INSTDIR\datapools\plugins
File /r lib_plugins\*.*
SectionEnd