Skip to content

Commit 4355b90

Browse files
author
timlinux
committed
Added nsis scripts to set the registry keys up so that plugins are enabled by default and toolbars lay our nicely in the default install
git-svn-id: http://svn.osgeo.org/qgis/branches/Version-1_0@10462 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent a9b5429 commit 4355b90

File tree

3 files changed

+58
-0
lines changed

3 files changed

+58
-0
lines changed

ms-windows/plugins.nsh

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
############################### reg2nsis begin #################################
2+
# This NSIS-script was generated by the Reg2Nsis utility #
3+
# Author : Artem Zankovich #
4+
# URL : http://aarrtteemm.nm.ru #
5+
# Usage : You can freely inserts this into your setup script as inline text #
6+
# or include file with the help of !include directive. #
7+
# Please don't remove this header. #
8+
################################################################################
9+
10+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "coordinatecaptureplugin" "true"
11+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "copyrightlabelplugin" "true"
12+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "delimitedtextplugin" "true"
13+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "dxf2shpconverterplugin" "true"
14+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "georefplugin" "true"
15+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "gpsimporterplugin" "true"
16+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "gridmakerplugin" "true"
17+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "interpolationplugin" "true"
18+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "northarrowplugin" "true"
19+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "ogrconverterplugin" "true"
20+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "quickprintplugin" "true"
21+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "scalebarplugin" "true"
22+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "spitplugin" "true"
23+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "wfsplugin" "true"
24+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "grassplugin" "true"
25+
26+
############################### reg2nsis end #################################

ms-windows/python_plugins.nsh

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
############################### reg2nsis begin #################################
2+
# This NSIS-script was generated by the Reg2Nsis utility #
3+
# Author : Artem Zankovich #
4+
# URL : http://aarrtteemm.nm.ru #
5+
# Usage : You can freely inserts this into your setup script as inline text #
6+
# or include file with the help of !include directive. #
7+
# Please don't remove this header. #
8+
################################################################################
9+
10+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\PythonPlugins" "plugin_installer" "true"
11+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\PythonPlugins" "fTools" "true"
12+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\PythonPlugins" "mapserver_export" "true"
13+
14+
############################### reg2nsis end #################################

ms-windows/ui.nsh

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
############################### reg2nsis begin #################################
2+
# This NSIS-script was generated by the Reg2Nsis utility #
3+
# Author : Artem Zankovich #
4+
# URL : http://aarrtteemm.nm.ru #
5+
# Usage : You can freely inserts this into your setup script as inline text #
6+
# or include file with the help of !include directive. #
7+
# Please don't remove this header. #
8+
################################################################################
9+
10+
WriteRegBin HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\UI" "state" 40004200790074006500410072007200610079002800000000000000ff000000000000000000fd000000000000000100000000000000000000000000010000000000000002008700fc0002000000000000000300fb000000000000000c0000004c0000006500000067000000650000006e000000640001000000000000006800000000000200870000000000000072000000ff00ff00ff00fb00000000000000100000004f00000076000000650000007200000076000000690000006500000077000000000000000100f4000000000000002a0000000000000014000000ff00ff00ff00fb0000000000000022000000430000006f0000006f0000007200000064000000690000006e000000610000007400000065000000430000006100000070000000740000007500000072000000650000000000000001007e00000000000000a0000000000000007e000000ff00ff00ff00000000000300af0000000000020087000000000000000100000000000000020000000000000001000000000000000200fc00000000000000040000000000000001000000000000000000000000000000020000000000000005000000000000001600000046000000690000006c00000065000000540000006f0000006f0000006c0000004200000061000000720001000000000000000000000000000100900000000000000000000000000000000000000000000000180000004c00000061000000790000006500000072000000540000006f0000006f0000006c0000004200000061000000720001000000000001009000000000000000be000000000000000000000000000000000000000000000014000000410000007400000074000000720000006900000062000000750000007400000065000000730001000000000002004e000000000001002700000000000000000000000000000000000000000000000800000048000000650000006c00000070000000000000000300d900000000000000dd00000000000000000000000000000000000000000000000e000000500000006c0000007500000067000000690000006e00000073000100000000000300750000000000010040000000000000000000000000000000000000000000000002000000000000000200000000000000140000004400000069000000670000006900000074000000690000007a000000690000006e0000006700010000000000000000000000000002001c00000000000000000000000000000000000000000000001c0000004d0000006100000070000000200000004e000000610000007600000069000000670000006100000074000000690000006f0000006e0001000000000002001c00000000000200990000000000000000000000000000000000000000000000020000000000000000002900
11+
WriteRegBin HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\UI" "geometry" 400042007900740065004100720072006100790028000100d900d000cb000000010000000000ff00ff00ff00fc00ff00ff00ff00fc00000000000400b800000000000300220000000000000030000000000000004300000000000200af0000000000020022000000000000000000020000002900
12+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\UI" "lastVectorFileFilter" "[OGR] ESRI Shapefiles (*.shp *.SHP)"
13+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\UI" "lastVectorFileFilterDir" "C:/Program Files/Quantum GIS/gisdata/ecape"
14+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\UI" "encoding" "System"
15+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\UI" "lastRasterFileFilter" "GeoTIFF (*.tif *.TIF)"
16+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\UI" "lastRasterFileFilterDir" "C:/Program Files/Quantum GIS/gisdata/ecape"
17+
18+
############################### reg2nsis end #################################

0 commit comments

Comments
 (0)