Opened 12 years ago

Closed 17 months ago

#98 closed defect (wontfix)

installer cannot uninstall apache or php

Reported by: tnbaldwin Owned by: osgeo4w-dev@…
Priority: minor Component: Package
Version: Keywords: php, apache, osgeo4w


When trying to use the OSGeo4W installer to uninstall Apache and php, you cannot. You can tell it to uninstall one, then try to do anything with the other one and it will automatically "Keep" the first one. I'm aware this is pretty minor and I know it has to do with the dependencies, but the only way I could uninstall was by overriding it at the end. This I had to do twice, once for Apache and once for php. It seemed to work, but to reach a bigger Windows-using market, an easier way to uninstall both would be great.

Change History (3)

comment:1 Changed 7 years ago by Andreas Müller

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 this. 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-Uninstall.

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 of %OSGEO4W_ROOT%

Thank you in advance.

comment:2 Changed 7 years ago by Andreas Müller

Component: InstallerPackage

comment:3 Changed 17 months ago by jef

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.