Even if Blender was downloaded as a zip-file and started from the unpacked archive instead of the installation, the files with its settings are stored separately in the user’s directory. The history, the start scene, and user-installed add-ons are also stored there. So if you transfer Blender to another computer, all these preferences will be lost.
However, at startup, Blender first looks for a config directory in its own folder and only if it does not find it there, it accesses the folder in the user’s directory.
In order to make Blender completely portable, it is enough to copy config folders “config” and “scripts” from the user’s directory into Blender’s own directory into the folder with the version number. This will transfer the settings and installed add-ons to the Blender directory, and now all the changes will be made already here, not in the user directory. Blender becomes portable and can be copied to another computer or removable device.
This way, you can also create several Blender applications with different settings and presets on the same computer.
For example (for the Windows operating system):
Let Blender version 2.79 be installed in the C:\Program Files\Blender\
From the C:\Users\user_name\AppData\Roaming\Blender Foundation\Blender\2.79\ directory copy “config” and “scripts” folders to the C:\Program Files\Blender\2.79\
If Blender has never run and there are no necessary folders in the user directory, instead of copying, you just need to create empty “scripts” and “config” folders in the C:\Program Files\Blender\2.79\ directory.
Thank you for the turial, but what if Blender portable already has the script folder inside and addon folder as well – how should I correctly merge my script/addon folders with these ones?
Try to just copy your scripts to the Blender scripts folder.