<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>To the list -</p>
    <p>Is there a method to use OS (Linux, Windows...) environment
      variables in the QGIS.ini setup file ?</p>
    <p>I had a number of customers asking for a method to "generalize"
      QGIS.ini, so it doesn't contain any "user" specific file and
      directory references, i.e</p>
    <p>(From qgis.ini) <br>
    </p>
    <p><font face="monospace">Configuration\MODELS_FOLDER=<b>C:\\Users\\Bo
          Victor Thomsen\\AppData\\Roaming</b>\\QGIS\\QGIS3\\profiles\\default\\processing\\models<br>
        Configuration\SCRIPTS_FOLDERS=<b>C:\\Users\\Bo Victor
          Thomsen\\AppData\\Roaming</b>\\QGIS\\QGIS3\\profiles\\default\\processing\\scripts<br>
      </font></p>
    <p>could be: <br>
    </p>
    <p><font face="monospace">Configuration\MODELS_FOLDER=<b>%APPDATA%</b>\\QGIS\\QGIS3\\profiles\\default\\processing\\models<br>
        Configuration\SCRIPTS_FOLDERS=<b>%APPDATA%</b>\\QGIS\\QGIS3\\profiles\\default\\processing\\scripts</font><br>
    </p>
    <p>or likewise.</p>
    <p>The ultimate reason is to have a method to distribute a
      "standard" setup for QGIS, complete with plugins and specialized
      setup parameters. This can be done by making a standard QGIS
      installation (which the IT departments love, especially with the
      new .msi package) and afterwards replace the "default" profile
      directory with at  directory specific for the organisation.
      However, the process of making the new profile will place a lot of
      file/directory references in QGIS.ini that is specific for the
      super-user developing the new profile.<br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Med venlig hilsen / Kind regards

Bo Victor Thomsen</pre>
  </body>
</html>