-
Notifications
You must be signed in to change notification settings - Fork 0
/
regame.nsi
51 lines (39 loc) · 998 Bytes
/
regame.nsi
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
OutFile "regame.exe"
InstallDir $PROGRAMFILES64\regame
; page order
Page directory
Page instfiles
UninstPage uninstConfirm
UninstPage instfiles
; global constants
!define SOURCE_DIR "windows-x64"
Function IncludeFFmpeg
FILE ${SOURCE_DIR}\avcodec-59.dll
FILE ${SOURCE_DIR}\avdevice-59.dll
FILE ${SOURCE_DIR}\avfilter-8.dll
FILE ${SOURCE_DIR}\avformat-59.dll
FILE ${SOURCE_DIR}\avutil-57.dll
FILE ${SOURCE_DIR}\postproc-56.dll
FILE ${SOURCE_DIR}\swresample-4.dll
FILE ${SOURCE_DIR}\swscale-6.dll
FunctionEnd
Section
SetOutPath $INSTDIR
; cgc
FILE ${SOURCE_DIR}\cgc.exe
FILE ${SOURCE_DIR}\SDL2.dll
; cge
FILE ${SOURCE_DIR}\cge.exe
; cgh
FILE ${SOURCE_DIR}\cgi.exe
FILE ${SOURCE_DIR}\captureyuv.dll
FILE ${SOURCE_DIR}\EasyHook.dll
; ffmpeg
Call IncludeFFmpeg
; extra
FILE ${SOURCE_DIR}\video_source.exe
WriteUninstaller $INSTDIR\uninstaller.exe
SectionEnd
Section "Uninstall"
RMDir /r /REBOOTOK $INSTDIR
SectionEnd