os/win32/installer/install.nsi
changeset 1157 5cbea454ba1c
parent 801 bfa47ec110b0
child 1166 18a43f099e76
equal deleted inserted replaced
1156:2410cdb83d76 1157:5cbea454ba1c
     1 ; Define your application name
     1 ; Define your application name
     2 !define APPNAME "OpenTTD"
     2 !define APPNAME "OpenTTD"
     3 !define APPNAMEANDVERSION "OpenTTD 0.3.5.0"
     3 !define APPNAMEANDVERSION "OpenTTD 0.3.6.0"
     4 !define APPVERSION "0.3.5.0"
     4 !define APPVERSION "0.3.6.0"
     5 !define INSTALLERVERSION 13 ;NEED TO UPDATE THIS FOR EVERY RELEASE!!!
     5 !define INSTALLERVERSION 14 ;NEED TO UPDATE THIS FOR EVERY RELEASE!!!
     6 
     6 
     7 BrandingText "OpenTTD Installer"
     7 BrandingText "OpenTTD Installer"
     8 
     8 
     9 
     9 
    10 ; Version Info
    10 ; Version Info
   100   File ${PATH_ROOT}data\canalsw.grf
   100   File ${PATH_ROOT}data\canalsw.grf
   101   File ${PATH_ROOT}data\openttd.grf
   101   File ${PATH_ROOT}data\openttd.grf
   102   File ${PATH_ROOT}data\opntitle.dat
   102   File ${PATH_ROOT}data\opntitle.dat
   103   File ${PATH_ROOT}data\signalsw.grf
   103   File ${PATH_ROOT}data\signalsw.grf
   104   File ${PATH_ROOT}data\trkfoundw.grf
   104   File ${PATH_ROOT}data\trkfoundw.grf
       
   105   ; Copy scenario files
       
   106 	SetOutPath "$INSTDIR\scenario\"
       
   107   File ${PATH_ROOT}scenario\*.scn
   105 
   108 
   106 	; Copy the rest of the stuff
   109 	; Copy the rest of the stuff
   107 	SetOutPath "$INSTDIR\"
   110 	SetOutPath "$INSTDIR\"
   108 
   111 
   109 	;Copy text files
   112 	;Copy text files
   112   File ${PATH_ROOT}readme.txt
   115   File ${PATH_ROOT}readme.txt
   113   File ${PATH_ROOT}known-bugs.txt
   116   File ${PATH_ROOT}known-bugs.txt
   114 
   117 
   115 	; Copy executable
   118 	; Copy executable
   116 	File /oname=OpenTTD.exe        ${PATH_ROOT}Release\openttd.exe
   119 	File /oname=OpenTTD.exe        ${PATH_ROOT}Release\openttd.exe
   117 	File ${PATH_ROOT}strgen\Release\strgen.exe
   120 	File ${PATH_ROOT}strgen\Debug\strgen.exe
   118 
   121 
   119 
   122 
   120   ; Delete old files from the main dir. they are now placed in data/ and lang/
   123   ; Delete old files from the main dir. they are now placed in data/ and lang/
   121 	Delete "$INSTDIR\*.lng"
   124 	Delete "$INSTDIR\*.lng"
   122 	Delete "$INSTDIR\*.grf"
   125 	Delete "$INSTDIR\*.grf"