[Qgis-user] QGIS and Windows Registry
Andreas Neumann
a.neumann at carto.net
Wed May 13 23:17:52 PDT 2009
Hi Tim,
Thanks for the information. I just wanted to make sure that all versions
use the same place in the registry. If this is the case, it should be easy
to convince our IT people to make this part read/write for the users. And
yes, I agree that the registry is the best way on Windows. I am surprised
this wasn't the case in the "hkey_current_user" part of the registry
anyway. QGIS doesn't seem to be the only application having these
troubles. So my guess is that there is something fundamentally wrong in
the registry policy for these windows accounts.
Thanks,
Andreas
On Thu, May 14, 2009 7:40 am, Tim Sutton wrote:
> Hi Andreas
>
> Andreas Neumann wrote:
>> Hi,
>>
>> I have a quick question about QGIS-Settings on Windows. The QGIS manual
>> writes that the settings are in the registry at
>> \\HKEY\CURRENT\USER\Software\QuantumGIS\qgis
>>
>> My question is if this applies both to the native Windows port and to
>> the
>> OSGeo4W port? Are both using the same places to store settings?
>
> They are pretty much the same thing, both built on MSVC, just packaged
> differently. Even the mingw builds (if someone picks them up again)
> should write to the same registry location.
>
>>
>> In the manual there seems to be a slight mistake:
>>
>> \\HKEY\CURRENT\USER\Software\QuantumGIS\qgis
>> should actually be
>> \\HKEY_CURRENT_USER\Software\QuantumGIS\qgis
>>
>> Note the underscores instead of the backslashes.
>>
>> On one of my Windows machines (with reduced user rights) storing the
>> settings doesn't work. I wonder if our sysadmins disabled write-access
>> to
>> the Registry, since I can't find
>> \\HKEY_CURRENT_USER\Software\QuantumGIS\qgis after starting and closing
>> QGIS.
>
> There is actually a possibility in Qt4 to write settings to somewhere
> other than the registry (using similar approach to linux and mac),
> though you have to do extra work to get that and writing to the registry
> seems to be the standard for win so it probably makes more sense.
>
> Regards
> --
>
> Tim Sutton - QGIS Project Steering Committee Member (Release Manager)
> ==============================================
> Please do not email me off-list with technical
> support questions. Using the lists will gain
> more exposure for your issues and the knowledge
> surrounding your issue will be shared with all.
>
> Visit http://linfiniti.com to find out about:
> * QGIS programming and support services
> * Mapserver and PostGIS based hosting plans
> * FOSS Consulting Services
> Skype: timlinux
> Irc: timlinux on #qgis at freenode.net
> ==============================================
>
>
--
Andreas Neumann
http://www.carto.net/neumann/
http://www.svgopen.org/
More information about the Qgis-user
mailing list