I want to install Extension Pack in a different location than the standard Mari Scripts Directory


By default Extension Pack should be installed into the Mari Scripts directory, as this is read by Mari by default


The Mari Scripts Directory is usually located:


      • WINDOWS:  MyDocuments / Mari / Scripts /
      • MAC: UserDirectory / Mari / Scripts /
      • Linux: UserDirectory / Mari / Scripts /



Mari does allow you to specify an arbitrary location for your scripts directory, as well as allowing multiple separate script directories,

which all will be evaluated  on Mari Start.


The MARI_SCRIPT_PATH Environment Variable


Setting the MARI_SCRIPT_PATH Environment Variable to a location of your choice, allows you to specify arbitrary Paths as Mari's

Script Path.


Below is an example where two locations are specified that Mari scans on Startup:

    • D:\MariScripts
    • D:\MariScripts_ReleaseBuild



Using this method you can for example place Extension Pack in a different location than your Default Script Path.


Multiple simultaneously loaded Script Paths and Extension Pack


When using multiple Script Paths that all are loaded on Mari start, ensure that each Extension Pack version only exists once. 

Avoid having for example MariExtensionPack_6R1v1_forMari6 in multiple Script Locations.

Having different Extension Pack Versions spread across different Script Paths, on the other hand, is possible.


When using multiple Script Paths simultaneously the __initExtensionPack__.py / pyc files should only exist in one location.

Extension Pack will auto scan all specified Script Path Locations for Extension Pack Folders.

If you have mulitple __initExtensionPack__.py / pyc files in different locations, this process might cause issues.