Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#415 closed enhancement (fixed)

Don't assign .qgs extension to qgis-dev.bat

Reported by: AndreJoost Owned by: osgeo4w-dev@…
Priority: major Component: Installer
Version: Keywords:
Cc:

Description

Quite annoyingly the OSGEO4W setup always assigns the .qgs extension to the last installed version of QGIS stable or dev. The dev version is not meant for productive use, so I still want to open .qgs project files with the stable version by double-clicking on the file or the desktop shortcut to the file.

It is possible to change the programme to open with, but Windows (7) does not like to connect to a bat file in that dialogue. Modifying the registry is not an easy task, nor reinstalling QGIS stable just to get back extension assignment.

Therefore I suggest to leave out the extension registration for the qgis-dev package. Or ask the user if he wants it.

Change History (7)

comment:2 by AndreJoost, 11 years ago

Resolution: fixed
Status: closedreopened

Sorry, just made a fresh install with fresh setup.exe, and still the same behaviour.

I used the 32 bit OSGEO4W setup.exe on 64 bit Windows 7.

comment:3 by jef, 11 years ago

Did you install qgis and qgis-dev? qgis-dev is still registered when qgis is not installed.

comment:4 by AndreJoost, 11 years ago

Qgis 2.2 is installed as standalone, and I want qgis-dev in parallel, but without the registration.

Mainly because every day there is a new qgis-dev, but I want to work on with the stable version outside C:\OSGEO4W\, throwing the whole folder away if necessary.

comment:5 by jef, 11 years ago

hm, mixing standalone and osgeo4w isn't expected. You can just doubleclick the apps/qgis(-dev)/bin/qgis.reg in either install to switch the registration. And either install qgis into osgeo4w and/or copy the .reg from the standalone to OSGeo4W (or create an empty file) to avoid having qgis-dev reregistered (see QGIS ecb2778b).

Having qgis-dev registered when there is no other installed qgis (in OSGeo4W) makes sense to me.

in reply to:  5 ; comment:6 by AndreJoost, 11 years ago

Resolution: fixed
Status: reopenedclosed

Replying to jef:

You can just doubleclick the apps/qgis(-dev)/bin/qgis.reg in either install to switch the registration.

OK, that worked. Is this documented somewhere in a userfriendly way?

in reply to:  6 comment:7 by jef, 11 years ago

Replying to AndreJoost:

Replying to jef:

You can just doubleclick the apps/qgis(-dev)/bin/qgis.reg in either install to switch the registration.

OK, that worked. Is this documented somewhere in a userfriendly way?

No, it's create in the installation process and was never meant to be executed manually.

Note: See TracTickets for help on using tickets.