[Hackage] #291: cabal-install cannot re-install itself on windows

Hackage trac at galois.com
Tue Jun 10 14:47:38 EDT 2008

#291: cabal-install cannot re-install itself on windows
  Reporter:  duncan              |        Owner:         
      Type:  defect              |       Status:  new    
  Priority:  normal              |    Milestone:         
 Component:  cabal-install tool  |      Version:
  Severity:  normal              |     Keywords:         
Difficulty:  normal              |   Ghcversion:  6.8.2  
  Platform:  Windows             |  
 It fails when it gets round to actually installing the executable file.
 This is because in windows more than a little tricky for a program to
 replace its own executable file. Trying to overwrite or replace a file
 that is open by a process fails.

 It is possible to rename the existing exe file so that the new one can be
 installed though that still leaves the problem of deleting the old exe

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/291>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list