diff options
author | Simon Clitherow <aphex@nildram.co.uk> | 2004-07-28 20:19:50 +0400 |
---|---|---|
committer | Simon Clitherow <aphex@nildram.co.uk> | 2004-07-28 20:19:50 +0400 |
commit | fe5e1301f629f4e9b8edef39b1d688d2fa89c763 (patch) | |
tree | ef3956118fdb51ef69f0a06ff650382db4907e2e /release/windows/installer/00.sconsblender.nsi | |
parent | 846da79887d1277eab06ef5ce0189e9f5827d978 (diff) |
- update for the win installer scripts ( added new scripts, etc ).
Diffstat (limited to 'release/windows/installer/00.sconsblender.nsi')
-rw-r--r-- | release/windows/installer/00.sconsblender.nsi | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/release/windows/installer/00.sconsblender.nsi b/release/windows/installer/00.sconsblender.nsi index f96cbd771af..bb7e2975547 100644 --- a/release/windows/installer/00.sconsblender.nsi +++ b/release/windows/installer/00.sconsblender.nsi @@ -175,6 +175,9 @@ Var is2KXP Function DataLocation !insertmacro MUI_HEADER_TEXT "$(TEXT_IO_TITLE)" "" + + ; Set default choice + !insertmacro MUI_INSTALLOPTIONS_WRITE "data.ini" "Field 3" "State" 1 StrCpy $R1 $winversion 2 StrCmp $R1 "NT" do_win2kxp @@ -184,15 +187,12 @@ Function DataLocation ;else... Strcpy $is2KXP "false" - !insertmacro MUI_INSTALLOPTIONS_WRITE "data.ini" "Field 3" "State" 1 Goto continue do_win2kXP: Strcpy $is2KXP "true" - !insertmacro MUI_INSTALLOPTIONS_WRITE "data.ini" "Field 2" "State" 1 - continue: !insertmacro MUI_INSTALLOPTIONS_INITDIALOG "data.ini" @@ -224,15 +224,6 @@ Function DataLocation ReadEnvStr $BLENDERHOME "HOME" Goto end do_inst_path: - Strcmp $is2KXP "true" warning - Call SetWin9xPath - Goto end - warning: - IfFileExists "$PROFILE\Application Data\Blender Foundation\Blender\.blender\.bfont.ttf" disp_warning - Call SetWin9xPath - Goto end - disp_warning: - MessageBox MB_OK "Please note that user data files have been found in $PROFILE\Application Data\Blender Foundation\Blender. Blender will automatically use these instead of the files in $INSTDIR. Please remove the .blender folder from Application Data if you wish to use this option." Call SetWin9xPath end: @@ -256,8 +247,7 @@ Section "Blender-VERSION (required)" SecCopyUI SetOutPath $BLENDERHOME\.blender\bpydata File DISTDIR\.blender\bpydata\readme.txt - SetOutPath $BLENDERHOME\.blender\locale\ca\LC_MESSAGES - ;File DISTDIR\.blender\locale\ca\LC_MESSAGES\blender.mo + ; Language files [LANGUAGECONTS] SetOutPath $INSTDIR |