File diff r31:4964974d4e2e → r32:dbfc54b77821
os/win32/installer/install.nsi
Show inline comments
 
@@ -103,25 +103,25 @@ Section "!OpenTTD" Section1
 
  File ${PATH_ROOT}data\canalsw.grf
 
  File ${PATH_ROOT}ReleasePNG\ttd.map
 

	
 
	; Copy the rest of the stuff
 
	SetOutPath "$INSTDIR\"
 

	
 
	;Copy text files
 
  File ${PATH_ROOT}changelog.txt
 
;  File "gpl.txt"
 
  File ${PATH_ROOT}readme.txt
 

	
 
	; Copy executable
 
	File /oname=openttd.exe        ${PATH_ROOT}ReleasePNG\ttd.exe
 
	File /oname=openttd.exe        ${PATH_ROOT}ReleasePNG\openttd.exe
 
	File ${PATH_ROOT}strgen\Release\strgen.exe
 

	
 

	
 
  ; Delete old files from the main dir. they are now placed in data/ and lang/
 
	Delete "$INSTDIR\*.lng"
 
	Delete "$INSTDIR\*.grf"
 
	Delete "$INSTDIR\sample.cat"
 
	Delete "$INSTDIR\ttd.exe"
 

	
 

	
 
	;Creates the Registry Entries
 
	WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OpenTTD" "Comments" "Visit http://www.openttd.com"