[QGIS-trac] [Quantum GIS] #2455: Windows installer doesn't warn user if it can't create directories

Quantum GIS qgis at qgis.org
Sat Feb 20 04:12:10 EST 2010


#2455: Windows installer doesn't warn user if it can't create directories
------------------------------------------------+---------------------------
   Reporter:  marisn                            |              Owner:  nobody       
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.5.0
  Component:  Build/Install                     |            Version:  1.4.0        
   Keywords:  windows installer                 |   Platform_version:               
   Platform:  Windows                           |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 Current version of QGIS Windows installer (1.4.0 standalone) gives no
 warning to user if user has no write permission to selected installation
 folder. I.e. when installer is running as user (not admin) and destination
 is "Program FileZ" or other ro folder.

 Correct solution would be something like this pseudocode (I have no idea
 how installer works): "mkdir $foo; if $? <> 0 { echo 'You have no
 permission. Try to run as admin!'; exit 1; }"

 See related #1766

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2455>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list