Subversion Repositories Games.Rick Dangerous

Rev

Rev 4 | Rev 11 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4 Rev 9
Line 2... Line 2...
2
!include "FileFunc.nsh"
2
!include "FileFunc.nsh"
3
 
3
 
4
!define PRODUCT_NAME "Rick Dangerous"
4
!define PRODUCT_NAME "Rick Dangerous"
5
!define PUBLISHER "Pierre-Marie Baty"
5
!define PUBLISHER "Pierre-Marie Baty"
6
!define PUBLISHER_WEBSITE "http://www.pmbaty.com/rick/"
6
!define PUBLISHER_WEBSITE "http://www.pmbaty.com/rick/"
7
!define INSTALLER_SRC "P:\Rick Dangerous"
7
!define INSTALLER_SRC "Z:\Documents\Mes projets\Rick Dangerous"
8
 
8
 
9
Name "${PRODUCT_NAME}"
9
Name "${PRODUCT_NAME}"
10
BrandingText "${PRODUCT_NAME} by ${PUBLISHER} - ${PUBLISHER_WEBSITE}"
10
BrandingText "${PRODUCT_NAME} by ${PUBLISHER} - ${PUBLISHER_WEBSITE}"
11
 
11
 
12
SetCompressor lzma
12
SetCompressor lzma
Line 106... Line 106...
106
 
106
 
107
	; deploy our files
107
	; deploy our files
108
	File /r "${INSTALLER_SRC}\sounds"
108
	File /r "${INSTALLER_SRC}\sounds"
109
	File "${INSTALLER_SRC}\${PRODUCT_NAME}.exe"
109
	File "${INSTALLER_SRC}\${PRODUCT_NAME}.exe"
110
	File "${INSTALLER_SRC}\vc_redist.x86.exe"
110
	File "${INSTALLER_SRC}\vc_redist.x86.exe"
111
	File "${INSTALLER_SRC}\sdl.dll"
111
	File "${INSTALLER_SRC}\SDL2.dll"
112
	File "${INSTALLER_SRC}\Rick Dangerous Paper Toy.pdf"
112
	File "${INSTALLER_SRC}\Rick Dangerous Paper Toy.pdf"
113
 
113
 
114
	; create Start menu shortcuts
114
	; create Start menu shortcuts
115
	CreateShortCut "$DESKTOP\${PRODUCT_NAME}.lnk" "$INSTDIR\${PRODUCT_NAME}.exe" "" "" "" "" "" "Start a Rick Dangerous game"
115
	CreateShortCut "$DESKTOP\${PRODUCT_NAME}.lnk" "$INSTDIR\${PRODUCT_NAME}.exe" "" "" "" "" "" "Start a Rick Dangerous game"
116
	CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}"
116
	CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}"