Ignore:
Timestamp:
2001-02-20T00:11:32+13:00 (23 years ago)
Author:
cs025
Message:

Updates and fixes to permit removal of the main install directory successfully.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsinstaller/gsManifest.cpp

    r1764 r2013  
    305305  if (actionName == "Manifest.CreateDir" || actionName == "CreateDir")
    306306    {
    307       RemoveDirectory(params[0].c_str());
     307      if (!RemoveDirectory(params[0].c_str()))
     308      {
     309        MessageBox(0, "Remove failed", params[0].c_str(), MB_OK);
     310            this->removeFailed.add(params[0]);
     311      }
    308312      return true;
    309313    }
     
    314318    }
    315319  return false;
     320}
     321
     322bool gsManifest::undoFailed(string path)
     323{
     324    return this->removeFailed.includes(path);
    316325}
    317326
Note: See TracChangeset for help on using the changeset viewer.