ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/AE/Installer/trunk/source/installer.cpp
(Generate patch)

Comparing AE/Installer/trunk/source/installer.cpp (file contents):
Revision 561 by gumby, Sun May 30 01:58:25 2010 UTC vs.
Revision 562 by gumby, Sun May 30 17:28:34 2010 UTC

# Line 390 | Line 390 | ModPackage fileToModPackage(fstream &fil
390          const string GlobalNeeded = "GlobalNeeded";
391          const string Category = "Category";
392          const string Creator = "Creator";
393        package.modStringName = modName;
393          while (!file.eof())
394          {
395                  getline(file,line);
# Line 492 | Line 491 | ModPackage fileToModPackage(fstream &fil
491                          }
492                  }
493          }
494 <
494 >        package.modStringName = modName;
495          return package;
496   }
497  
# Line 1479 | Line 1478 | bool ProcessAEUpdate(Install_info_cfg *c
1478   #ifndef WIN32
1479                          rename((path)("../" + thePath), (path)(strTrashDir + thePath));
1480   #else
1481 <                        remove((path)("../" + thePath));
1481 >                        remove_all((path)("../" + thePath));
1482   #endif
1483                  }
1484          }
# Line 1551 | Line 1550 | bool ProcessAEUpdate(Install_info_cfg *c
1550          }
1551          catch (exception & ex)
1552          {
1553 +                wxMessageDialog* DotNetDialogOfDeath =
1554 +                        new wxMessageDialog(TheWindow, ex.what(), "AE Installer Alert",
1555 +                                                                                                                                 wxICON_EXCLAMATION     , wxDefaultPosition);
1556 +                
1557 +                DotNetDialogOfDeath->ShowModal();
1558                  setStatusArea("Warning, handled exception: " + (string)ex.what());
1559                  return false;
1560          }

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)