DescriptionThis patch attempts to address windows installer and script/configuration file path issues. In particular:
* Addon scripts install not installing to the user path, but rather installing them between system scripts.
* Windows installer not working for non-administrator users or multiple users.
They are related, and need to be fixed simultaneously to avoid breakage. The fundamental issue is that system files and configuration files are mixed up. The windows installer is writing system files to the configuration directory, and user defined scripts and configuration files can be written to system directories.
The available paths are ambiguous, so I've removed some and for others, mostly the change has been to get user paths before local paths. For the windows installer, scripts and other datafiles are now always installed next to the executable, there is no longer an option for their install location.
One issue is that of compatibility with existing files installed in AppData (i.e. system files written to a configuration directory). For a new 2.58 version the scripts directory now do not get copied over from 2.57 to avoid the problem, and until the version bump to 2.58, addons will still be installed to the local path as they were before.
The patch is now quite well tested on Mac and Windows, and should work on Linux too. Feedback welcome.
Patch Set 1 #Patch Set 2 : Windows installer compatibility #Patch Set 3 : Missing bracket #Patch Set 4 : Uninstaller changes and compatibility fix #Patch Set 5 : Leave out version change #
Total comments: 5
Patch Set 6 : Portable install fix #Patch Set 7 : Comment fix #MessagesTotal messages: 12
|