Skip to content

Commit

Permalink
Added nsis scripts to set the registry keys up so that plugins are en…
Browse files Browse the repository at this point in the history
…abled 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
  • Loading branch information
timlinux committed Apr 4, 2009
1 parent a9b5429 commit 4355b90
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
26 changes: 26 additions & 0 deletions ms-windows/plugins.nsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
############################### reg2nsis begin #################################
# This NSIS-script was generated by the Reg2Nsis utility #
# Author : Artem Zankovich #
# URL : http://aarrtteemm.nm.ru #
# Usage : You can freely inserts this into your setup script as inline text #
# or include file with the help of !include directive. #
# Please don't remove this header. #
################################################################################

WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "coordinatecaptureplugin" "true"
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "copyrightlabelplugin" "true"
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "delimitedtextplugin" "true"
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "dxf2shpconverterplugin" "true"
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "georefplugin" "true"
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "gpsimporterplugin" "true"
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "gridmakerplugin" "true"
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "interpolationplugin" "true"
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "northarrowplugin" "true"
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "ogrconverterplugin" "true"
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "quickprintplugin" "true"
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "scalebarplugin" "true"
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "spitplugin" "true"
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "wfsplugin" "true"
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\Plugins" "grassplugin" "true"

############################### reg2nsis end #################################
14 changes: 14 additions & 0 deletions ms-windows/python_plugins.nsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
############################### reg2nsis begin #################################
# This NSIS-script was generated by the Reg2Nsis utility #
# Author : Artem Zankovich #
# URL : http://aarrtteemm.nm.ru #
# Usage : You can freely inserts this into your setup script as inline text #
# or include file with the help of !include directive. #
# Please don't remove this header. #
################################################################################

WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\PythonPlugins" "plugin_installer" "true"
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\PythonPlugins" "fTools" "true"
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\PythonPlugins" "mapserver_export" "true"

############################### reg2nsis end #################################
18 changes: 18 additions & 0 deletions ms-windows/ui.nsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
############################### reg2nsis begin #################################
# This NSIS-script was generated by the Reg2Nsis utility #
# Author : Artem Zankovich #
# URL : http://aarrtteemm.nm.ru #
# Usage : You can freely inserts this into your setup script as inline text #
# or include file with the help of !include directive. #
# Please don't remove this header. #
################################################################################

WriteRegBin HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\UI" "state" 40004200790074006500410072007200610079002800000000000000ff000000000000000000fd000000000000000100000000000000000000000000010000000000000002008700fc0002000000000000000300fb000000000000000c0000004c0000006500000067000000650000006e000000640001000000000000006800000000000200870000000000000072000000ff00ff00ff00fb00000000000000100000004f00000076000000650000007200000076000000690000006500000077000000000000000100f4000000000000002a0000000000000014000000ff00ff00ff00fb0000000000000022000000430000006f0000006f0000007200000064000000690000006e000000610000007400000065000000430000006100000070000000740000007500000072000000650000000000000001007e00000000000000a0000000000000007e000000ff00ff00ff00000000000300af0000000000020087000000000000000100000000000000020000000000000001000000000000000200fc00000000000000040000000000000001000000000000000000000000000000020000000000000005000000000000001600000046000000690000006c00000065000000540000006f0000006f0000006c0000004200000061000000720001000000000000000000000000000100900000000000000000000000000000000000000000000000180000004c00000061000000790000006500000072000000540000006f0000006f0000006c0000004200000061000000720001000000000001009000000000000000be000000000000000000000000000000000000000000000014000000410000007400000074000000720000006900000062000000750000007400000065000000730001000000000002004e000000000001002700000000000000000000000000000000000000000000000800000048000000650000006c00000070000000000000000300d900000000000000dd00000000000000000000000000000000000000000000000e000000500000006c0000007500000067000000690000006e00000073000100000000000300750000000000010040000000000000000000000000000000000000000000000002000000000000000200000000000000140000004400000069000000670000006900000074000000690000007a000000690000006e0000006700010000000000000000000000000002001c00000000000000000000000000000000000000000000001c0000004d0000006100000070000000200000004e000000610000007600000069000000670000006100000074000000690000006f0000006e0001000000000002001c00000000000200990000000000000000000000000000000000000000000000020000000000000000002900
WriteRegBin HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\UI" "geometry" 400042007900740065004100720072006100790028000100d900d000cb000000010000000000ff00ff00ff00fc00ff00ff00ff00fc00000000000400b800000000000300220000000000000030000000000000004300000000000200af0000000000020022000000000000000000020000002900
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\UI" "lastVectorFileFilter" "[OGR] ESRI Shapefiles (*.shp *.SHP)"
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\UI" "lastVectorFileFilterDir" "C:/Program Files/Quantum GIS/gisdata/ecape"
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\UI" "encoding" "System"
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\UI" "lastRasterFileFilter" "GeoTIFF (*.tif *.TIF)"
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\QGIS\UI" "lastRasterFileFilterDir" "C:/Program Files/Quantum GIS/gisdata/ecape"

############################### reg2nsis end #################################

0 comments on commit 4355b90

Please sign in to comment.