forked from andyfriesen/ika
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathika.nis
executable file
·122 lines (99 loc) · 2.93 KB
/
ika.nis
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
;
; ika installer and stuff.
; -- khross
;
Name "ika"
OutFile "ika-install-@@VERSION@@.exe"
InstallDir $PROGRAMFILES\ika
InstallDirRegKey HKLM SOFTWARE\ika "Install_Dir"
ComponentText "This will install ika and any optional modules you would like on your computer."
DirText "Select a directory to install to."
Section "ika core files"
SetOutPath $INSTDIR
File "ika.exe"
File "ikamap.exe"
; File "iked.exe"
File "rho.exe"
File "user.cfg"
File "python_reference.html"
File "ikamap.html"
WriteRegStr HKLM SOFTWARE\ika "Install_Dir" "$INSTDIR"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ika" "DisplayName" "ika (remove only)"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ika" "UninstallString" '"$INSTDIR\uninstall.exe"'
WriteUninstaller "uninstall.exe"
SectionEnd
Section "ika DLLs"
SetOutPath $INSTDIR
File "audiere.dll"
File "corona.dll"
File "msvcp71.dll"
File "msvcr71.dll"
File "python25.dll"
File "zlib.dll"
SectionEnd
Section "rho"
File "rho.exe"
File "ICSharpCode.SharpZipLib.dll"
File "Scintilla.NET.dll"
File "WeifenLuo.WinFormsUI.dll"
SectionEnd
;Section "iked"
; SetOutPath $INSTDIR
; File "iked.exe"
;SectionEnd
Section "ikaMap"
SetOutPath $INSTDIR
File "ikamap.exe"
SectionEnd
Section "Font Tools"
SetOutPath $INSTDIR
File "fnt2png.exe"
File "img2fnt.exe"
File "ttf2png.exe"
SectionEnd
Section "xi library"
CreateDirectory "$INSTDIR\xi"
SetOutPath $INSTDIR\xi
File "xi\*.py"
SectionEnd
Section "Demo library"
CreateDirectory "$INSTDIR\stats"
SetOutPath $INSTDIR\stats
File "stats\*.py"
CreateDirectory "$INSTDIR\menu"
SetOutPath $INSTDIR\menu
File "menu\*.py"
SectionEnd
Section "packin demo (requires xi and the Demo library)"
SetOutPath $INSTDIR
File "*.py"
File "*.ika-sprite"
File "*.png"
File "*.ika-map"
File "*.vsp"
File "*.fnt"
File "*.dat"
CreateDirectory "$INSTDIR\music"
SetOutPath $INSTDIR\music
File "music\*.*"
CreateDirectory "$INSTDIR\sound"
SetOutPath $INSTDIR\sound
File "sound\*.*"
SectionEnd
Section "Desktop shortcut"
CreateShortCut "$DESKTOP\ika.lnk" "$INSTDIR" "" "$INSTDIR" 0
SectionEnd
UninstallText "This will uninstall ika. Press Enter to continue."
Section "Uninstall"
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ika"
DeleteRegKey HKLM SOFTWARE\ika
Delete $DESKTOP\ika.lnk
Delete $INSTDIR\*.*
Delete $INSTDIR\xi\*.*
Delete $SMPROGRAMS\ika\*.*
RMDir "$SMPROGRAMS\ika"
RMDir "$INSTDIR\xi"
RMDir "$INSTDIR\cursor"
RMDir "$INSTDIR"
SectionEnd
;