aboutsummaryrefslogtreecommitdiffstats
path: root/installer/settings/files_main_install.nsh
diff options
context:
space:
mode:
authorcanni0 <canni0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-12 01:03:25 +0000
committercanni0 <canni0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-12 01:03:25 +0000
commitedf4235745e5074a946f8552ec246b3b7c6f3bb6 (patch)
treea9b1397c5df3586e0fc94a0cd02bedb100bd3aa7 /installer/settings/files_main_install.nsh
parent8f55d79635ea77d486affc7efc157917e2c04e49 (diff)
downloadusdx-edf4235745e5074a946f8552ec246b3b7c6f3bb6.tar.gz
usdx-edf4235745e5074a946f8552ec246b3b7c6f3bb6.tar.xz
usdx-edf4235745e5074a946f8552ec246b3b7c6f3bb6.zip
updated installer source:
- adjusted folders to fit with changes from 1.1 alpha - removed incompatible themes - removed vista game exoplorer features due to incompatibility with windows 7 - added background music derivated from bebeto - added another song - fixed small icons bug - merged dependencies folder into installer git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2227 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'installer/settings/files_main_install.nsh')
-rw-r--r--installer/settings/files_main_install.nsh57
1 files changed, 34 insertions, 23 deletions
diff --git a/installer/settings/files_main_install.nsh b/installer/settings/files_main_install.nsh
index c2cdf727..693e0413 100644
--- a/installer/settings/files_main_install.nsh
+++ b/installer/settings/files_main_install.nsh
@@ -4,53 +4,64 @@
; Create Directories:
-CreateDirectory $INSTDIR\Plugins
-CreateDirectory $INSTDIR\Songs
-CreateDirectory $INSTDIR\Screenshots
-CreateDirectory $INSTDIR\Playlists
-CreateDirectory $INSTDIR\Covers
+CreateDirectory $INSTDIR\plugins
+CreateDirectory $INSTDIR\covers
+CreateDirectory $INSTDIR\songs
-SetOutPath "$INSTDIR"
+${If} ${AtLeastWinVista}
+
+ ; Create folders in appdata for current user
+ SetShellVarContext current
+ CreateDirectory $APPDATA\ultrastardx
+ CreateDirectory $APPDATA\ultrastardx\screenshots
+ CreateDirectory $APPDATA\ultrastardx\playlists
+
+ SetOutPath "$APPDATA\ultrastardx"
+ File ..\game\config.ini
+
+ SetOutPath "$INSTDIR"
+
+ CreateShortCut "screenshots.lnk" "$APPDATA\ultrastardx\screenshots"
+ CreateShortCut "playlists.lnk" "$APPDATA\ultrastardx\playlists"
+ CreateShortCut "config.ini.lnk" "$APPDATA\ultrastardx\config.ini"
+
+ SetShellVarContext all
+${EndIf}
; themes, languages, sounds, fonts, visuals dir
+SetOutPath "$INSTDIR"
+
File /r ..\game\themes
File /r ..\game\languages
File /r ..\game\sounds
File /r ..\game\fonts
-File /r ..\installerdependencies\visuals
+File /r ..\game\visuals
; Root dir:
-File ..\installerdependencies\dll\*.dll
+File .\dependencies\dll\*.dll
File ..\ChangeLog.txt
-File ..\ChangeLog.german.txt
+File ..\ChangeLog.GERMAN.txt
+File ..\game\LuaCommands.odt
File ..\README.txt
-File ..\installerdependencies\documents\documentation.pdf
-File ..\installerdependencies\documents\license.txt
+File .\dependencies\documents\license.txt
+File .\dependencies\documents\documentation.pdf
-File "..\ScoreConverter.exe"
File "..\${exe}.exe"
; Covers dir:
-SetOutPath "$INSTDIR\Covers"
+SetOutPath "$INSTDIR\covers"
IfFileExists $INSTDIR\covers\covers.ini +2 0
-File ..\game\covers\Covers.ini
+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\plugins\"
+File "..\game\plugins\*.*"
SetOutPath "$INSTDIR"