Skip to content
Permalink
Browse files

osgeo4w: don't register .qgs file extensions if release version is in…

…stalled

(fixes OSGeo4W#415)
  • Loading branch information
jef-n committed May 9, 2014
1 parent f5f0326 commit ecb2778b4ca34926dec33cc64e7ee04d226a2427
Showing with 2 additions and 1 deletion.
  1. +2 −1 ms-windows/osgeo4w/postinstall-dev.bat
@@ -13,7 +13,8 @@ set OSGEO4W_ROOT=%OSGEO4W_ROOT:\=\\%
textreplace -std -t "%O4W_ROOT%\apps\@package@\bin\qgis.reg"
set OSGEO4W_ROOT=%O4W_ROOT%

nircmd elevate "%WINDIR%\regedit" /s "%O4W_ROOT%\apps\@package@\bin\qgis.reg"
REM Do not register extensions if release is installed
if not exist "%O4W_ROOT%\apps\qgis\bin\qgis.reg" nircmd elevate "%WINDIR%\regedit" /s "%O4W_ROOT%\apps\@package@\bin\qgis.reg"

call "%OSGEO4W_ROOT%"\bin\o4w_env.bat
path %PATH%;%OSGEO4W_ROOT%\apps\@package@\bin

0 comments on commit ecb2778

Please sign in to comment.
You can’t perform that action at this time.