Fixes #676 Write the install location to the registry before calling additional installs

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5720 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 274da43d25b1399e73e5ca6939cb9fe5f31808a2
Former-commit-id: ebea4f42647d5078c397ff2fcda6d3652ec08494
This commit is contained in:
beaglejoe 2013-11-05 09:24:33 +00:00
parent c2ad063372
commit 0027ff89b4

View file

@ -185,6 +185,9 @@ Section "!Base System" SEC01
; Base tracks (only Espie)
SetOutPath "$INSTDIR\data\tracks\circuit\espie"
File /r /x *.lib "${BUILD_INST_DIR}\data\tracks\circuit\espie\*.*"
; Write the install dir to the registry so that optional installs can find it.
WriteRegStr ${GAME_ROOT_REGKEY} "${GAME_DIR_REGKEY}" "" "$INSTDIR"
SectionEnd