Blender Git Commit Log

Git Commits -> Revision d369a6a

Revision d369a6a by Brecht Van Lommel (master)
May 27, 2011, 09:57 (GMT)
Windows installer and Path changes, fixing various issues:

* Windows installer not working for non-admin users and multiple users
* Addon scripts not installing next to user configuration
* Portable install not being taken into account in all places

The main problem was the windows installer was installing system scripts in
AppData next to the user configuration directory, which is not shared between
users. Now these are installed in ProgramFiles, and only addon scripts added
by the users go to AppData.

On all platforms, addon scripts were sometimes getting installed between
system scripts, because the scripts folder in the executable directory was
given precedence over the user configuration folder, that is no longer done
now. So addons now behave like user configuration, they are preserved even
if you download a newer build of the same blender version.

If you have an installation of 2.57 on windows, the addon install location
will not change until we do the version bump to 2.58, to avoid conflicts with
the existing the installed 2.57 version.

The old behavior of giving precedence to the local folder was done to support
portable install, where all configuration is written to the local folder. This
is now implemented differently: if and only if a "config" folder exists in the
local folder, portable install will be assumed, and files will only be written
to that local folder.

Commit Details:

Full Hash: d369a6aaaf3d3c44bb2c3cde34fde053633ec799
SVN Revision: 36947
Parent Commit: 0381c44
Lines Changed: +88, -99

11 Modified Paths:

/build_files/scons/tools/btools.py (+1, -4) (Diff)
/release/scripts/startup/bl_operators/wm.py (+8, -0) (Diff)
/release/windows/installer/00.sconsblender.nsi (+26, -55) (Diff)
/source/blender/blenlib/BLI_path_util.h (+0, -5) (Diff)
/source/blender/blenlib/intern/path_util.c (+48, -28) (Diff)
/source/blender/editors/space_file/space_file.c (+1, -1) (Diff)
/source/blender/python/intern/bpy.c (+1, -1) (Diff)
/source/blender/python/intern/bpy_interface.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+1, -1) (Diff)
/source/creator/creator.c (+0, -2) (Diff)
/source/gameengine/Ketsji/KX_PythonInit.cpp (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021