Hack blender with new name / shortcut / icon / template & startup

Hi everyone,

In order to be adopted by a broad public, the open source atlas of Anatomy needs to be user-friendly.

It is actually shared both as a Portable version (For Windows) and as a Template (for Windows, Mac and Linux).

The main obstacle to finalize the hack of Blender into a regular ‘.exe’ (https://www.z-anatomy.com/) is that any custom startup file is stored in C:>User>Appdata>Roaming>Blender Foundation>Blender 3.1>3.1>Config> ’ but can not be stored in the folder before installation…

I would like the file shared to be only:

-downloaded (unzip)
-& installed (yes, yes, yes, finish)
-double-click the desktop icon to run the .exe

While it is possible to
-Create a Template with new splash screen, config and startup file
-use ‘Inno’ to create an installer with a custom name and icon, and then to run Blender from a new custom name+icon shortcut (https://www.youtube.com/watch?v=DTQ-atboQiI)
-or to create a shortcut pointing towards a template (adding ’ --app-template MyTemplateName’ at the end of the target of the shortcut)

‘Inno’ does not seem to understand such target using a .exe_but_opening_a_template

Is there something to do about it?
@ziel

The main obstacle to finalize the hack of Blender into a regular ‘.exe’ (https://www.z-anatomy.com/) is that any custom startup file is stored in C:>User>Appdata>Roaming>Blender Foundation>Blender 3.1>3.1>Config> ’ but can not be stored in the folder before installation…

Blender has easy portable solution that is,
manually create a “config” folder,

  • under <blender.exe_folder>/<blender_version>/
  • paralell with folders: datailes, python, scripts

Yes, I know the trick.

In the case of the portable version, the installation is not needed and it already has its custom config and startup file.

When I use ‘inno’ to create a custom shortcut for it, besides the unnecessary installation, it crashes on opening…

The Template is more complicated to install (more steps required).