
#291: cabal-install cannot re-install itself on windows ---------------------------------+------------------------------------------ Reporter: duncan | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.2 | Platform: Windows ---------------------------------+------------------------------------------ Comment (by guest): http://msdn.microsoft.com/en-us/library/aa365240(VS.85).aspx {{{ MoveFileEx(file_to_delete,NULL,MOVEFILE_DELAY_UNTIL_REBOOT); }}} That will cause the file to be deleted after rebooting. Only works on WinNT kernels, but I don't think we support Win9x anymore (I certainly don't own such a machine!) -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/291#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects