[osgeo4w-dev] [osgeo4w] #98: installer cannot uninstall apache or php

OSGeo4W trac_osgeo4w at osgeo.org
Sun Apr 12 11:30:59 PDT 2015

#98: installer cannot uninstall apache or php
Reporter:  tnbaldwin  |       Owner:  osgeo4w-dev@…              
    Type:  defect     |      Status:  new                        
Priority:  minor      |   Component:  Installer                  
 Version:             |    Keywords:  php, apache, osgeo4w       

Comment(by muellea):

 I encountered a similar problem with apache. Using setup or apt, it can't
 remove apache, because the service is still running. You can, in forehand,
 stop the service and try again, but it would be better to have a preremove
 batch file that it automatically. However you need admin privileges to to
 Is it possible to add a preremove batch file to the package? I think, the
 command is always there, through the start menü entry OSgeo4W-Apache-

 Also there is a syntactic error in postinstall, as i mentioned somewhere
 else. On the last line of xxmklink commands a simple " is missing in fron

 Thank you in advance.

Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/98#comment:1>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

More information about the osgeo4w-dev mailing list