2
$\begingroup$

The Windows portable installation has (or can have) the user settings folder (named '2.77' for instance, containing all the user preferences) next to all of it's files - which is perfect for me, since I can sync the whole installation via cloud drive.

But what is the proper update procedure in such a setup? A freshly downloaded portable installation already has a user settings folder, containing for instance the add-ons folder. So to keep my add-ons, I was simply renaming my user setting folder to match the downloaded one ('2.76' to '2.77' for instance), and then copied all downloaded files over existing ones, overwriting them. That works, but I'm not sure if that can introduce problems in the long run? And if there is a better way of doing the same thing (updating a portable install while keeping settings and add-ons)?

$\endgroup$
1
$\begingroup$

You should not replace the whole 2.## folder version with a previous one.

That will not only roll back any updated versions of the addons the new version may bring, but also override any new presets, builtin python scripts, UI scripts and bundled Python versions along with your personal config.

You should only copy the Config folder inside the 2.## which should contain your bookmarks file, startup.blend and userpref.blend.

As far as I know there is no easy one-step-way to update portable versions and keep your addons, has far as I know. I use a portable installation by default, and generally manually reinstall all my addons from a backup after upgrading to a new version

$\endgroup$
  • $\begingroup$ I don't replace 2.# with the previous one, I replace the previous one with the new one, before it has any user settings in it. You think that's still bad? $\endgroup$ – PLyczkowski Sep 25 '16 at 9:14
  • $\begingroup$ Ah yes I misunderstood what you meant, that sounds more clever and a good way to keep your custom addons. Only downside I can think of is that in the off chance that any files are removed, there will be some garbage leftovers, but that should not be a common thing . Other than that I can't think of anything. If you find any problems don't forget to test on a fresh portable install to make sure it's not a problem with your setup. $\endgroup$ – Duarte Farrajota Ramos Sep 25 '16 at 14:30
1
$\begingroup$

Running the new portable version (the zipped Blender file downloaded from blender.org) will fetch the user-pref from the common roaming location of Windows so previous preferences and add-ons will be automatically added/activated in the new version

But if a config folder is created in the portable blender 2.XX folder it will read write the bookmarks file, startup.blend and userpref.blend.from that location.

The location for config is shown for a moment in before the splash screen of Blender comes up when you launch it.

Please see the screenshot below.

Blender Portable file location

Hope it helps some Blender portable users.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.