[Qgis-user] QGIS SCCM package

Bugey, Anna Anna.Bugey at itk-rheinland.de
Thu Aug 30 02:06:49 PDT 2018


Hey Stefan and others,

Thanks again for your answer! This is exactly the way it is described in the German website that I mentioned in my first email. :) We used -configpath "%APPDATA%"\qgisini-ltr\config and -optionspath "%APPDATA%"\qgisini-ltr\options .
The remaining problem is that some paths still point to my profile. I tried replacing my profile path with %userprofile% but it doesn´t work.

Now we decided to put the project templates in the C:\Program Files\qgis-ltr instead so that it is not pointing to my profile.
But the cache is still a problem, since it should point to some place in the profile, right?
Also my userId remains in many paths in the qgis-ltr directory, e.g. in many of the plugin files. I don´t know how to change those. Does anyone know if this could be a problem?

Again the question, is there any other simpler solution to create a SCCM package with a standard installation plus 6 plugins?

Best,

Anna

Von: Stefan Blumentrath [mailto:Stefan.Blumentrath at nina.no]
Gesendet: Donnerstag, 9. August 2018 16:03
An: Bugey, Anna; 'qgis-user at lists.osgeo.org'
Betreff: RE: QGIS SCCM package

Dear Anna,

For QGIS 2 we had a similar approach.

Instead of using global settings, we added a section to the start-up batch that copies default settings from some network drive to users %HOME% (while replacing some user related paths strings...) utilizing the --confgpath option. See e.g.: http://planet.qgis.org/planet/tag/settings%5D/

Project templates or composer templates can still remain on network drive, BTW...

Cheers
Stefan



From: Bugey, Anna <Anna.Bugey at itk-rheinland.de>
Sent: torsdag 9. august 2018 15:20
To: Stefan Blumentrath <Stefan.Blumentrath at nina.no>; 'qgis-user at lists.osgeo.org' <qgis-user at lists.osgeo.org>
Subject: AW: QGIS SCCM package

Dear Stefan and other list members,

thanks for your response. Unfortunately I am supposed to use QGIS version 2.18, so I guess I can´t use the global settings solution. I think it will take some time until we´re switching to QGIS 3.

Does anyone else have any suggestions for 2.18?

Best,
Anna


Von: Stefan Blumentrath [mailto:Stefan.Blumentrath at nina.no]
Gesendet: Dienstag, 7. August 2018 11:43
An: Bugey, Anna; 'qgis-user at lists.osgeo.org'
Betreff: RE: QGIS SCCM package

Dear Anna,

At my institute we are currently using a solution based on OSGeo4W command line, that finally ends up in software center.

Here we make use of the nice and new Global settings in QGIS 3 [1]. This is what we do:

  1.  Download QGIS packages of interest:
osgeo4w-setup-x86_64.exe -q -a x86_64 -g -k -S -l "X:\\Networkdrive\\QGIS_packages\\ " -D -P avce00 -P boost -P ...

  1.  Inject a link to global settings on network drive in qgis.bat.tmpl (we use a python script for that which I can share if it is of interest
  2.  Our Sysadmins add some powershell based stuff in software center which at its core executes:
osgeo4w-setup-x86_64.exe -q -k -g -A -d -a x86_64 --local-install --root "C:\QGIS" -l "X:\\Networkdrive\\QGIS_packages " -P avce00 -P boost -P ...

Hope that gives some inspiration.

Cheers
Stefan

1: https://connect.boundlessgeo.com/docs/desktop/latest/system_admins/globalsettings.html

From: Qgis-user <qgis-user-bounces at lists.osgeo.org<mailto:qgis-user-bounces at lists.osgeo.org>> On Behalf Of Bugey, Anna
Sent: mandag 6. august 2018 12:42
To: 'qgis-user at lists.osgeo.org' <qgis-user at lists.osgeo.org<mailto:qgis-user at lists.osgeo.org>>
Subject: [Qgis-user] QGIS SCCM package

Hello fellow QGIS users,

I´m trying to create an SCCM package that contains QGIS with a few plugins pre-installed. I found these instructions: http://www.qgis.de/doku.php?id=site:kommunalverwaltung:netzwerk_install (Sorry, in German)
My problem is, since the instructions start out with a local installation, there are some paths pointing to my local AppData directory. The instructions say that I should change those paths to a central location. However, I would like the paths that now point to my local directory to point to each clients local AppData directory. Will this happen automatically? Do you have any suggestions how I could proceed with this?

Maybe there is a also different (easier) way to create an SCCM package with pre-installed plugins (there are no other adaptations on the QGIS installation necessary)?

Any suggestions welcome since I didn´t find much information on QGIS and SCCM on the web.

Thanks in advance!

Best,
Anna

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180830/716a5f1c/attachment.html>


More information about the Qgis-user mailing list