aboutsummaryrefslogblamecommitdiffstats
path: root/Lua/installer/settings/files_main_install.nsh
blob: c2cdf727ae5b8c954bbb0274dc2c5cbdfe597e53 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11





                                                              




                                     


                      
                                                



                          
                      





                                         










                                                          
                             

















                                                  
; ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~
; UltraStar Deluxe Installer: Main components
; ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~ ~+~

; Create Directories:

CreateDirectory $INSTDIR\Plugins
CreateDirectory $INSTDIR\Songs
CreateDirectory $INSTDIR\Screenshots
CreateDirectory $INSTDIR\Playlists
CreateDirectory $INSTDIR\Covers

SetOutPath "$INSTDIR"

; themes, languages, sounds, fonts, visuals dir

File /r ..\game\themes
File /r ..\game\languages
File /r ..\game\sounds
File /r ..\game\fonts
File /r ..\installerdependencies\visuals

; Root dir:

File ..\installerdependencies\dll\*.dll

File ..\ChangeLog.txt
File ..\ChangeLog.german.txt
File ..\README.txt
File ..\installerdependencies\documents\documentation.pdf
File ..\installerdependencies\documents\license.txt

File "..\ScoreConverter.exe"
File "..\${exe}.exe"

; Covers dir:

SetOutPath "$INSTDIR\Covers"

IfFileExists $INSTDIR\covers\covers.ini +2 0
File ..\game\covers\Covers.ini
File ..\game\covers\NoCover.jpg

; Plugins dir:

SetOutPath "$INSTDIR\Plugins\"
  File "..\Plugins\*.dll"

${If} ${AtLeastWinVista}

  SetOutPath "$WINDIR"
  File "..\installerdependencies\plugins\gdf.dll"

${EndIf}

SetOutPath "$INSTDIR"