Changeset 550 for AE/Installer/trunk/source
- Timestamp:
- May 27, 2010, 1:28:22 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/Installer/trunk/source/installer.cpp
r549 r550 1385 1385 if (exists(strPathToEUFN + strOniApp)) 1386 1386 { 1387 if (exists( strOniApp))1387 if (exists("../" + strOniApp)) 1388 1388 #ifdef WIN32 1389 remove((path) strOniApp);1389 remove((path)("../" + strOniApp)); 1390 1390 #else 1391 rename((path) strOniApp, (path)(strTrashDir + strOniApp));1392 #endif 1393 rename((path)(strPathToEUFN + strOniApp), (path) strOniApp);1391 rename((path)("../" + strOniApp), (path)(strTrashDir + strOniApp)); 1392 #endif 1393 rename((path)(strPathToEUFN + strOniApp), (path)("../" + strOniApp)); 1394 1394 } 1395 1395 if (updateAE->OniSplitVersion.compare(currentAE->OniSplitVersion) >= 1) … … 1514 1514 // Clean up after ourselves, trashing any packages or programs in the update package that are not newer than the current AE 1515 1515 #ifdef WIN32 1516 remove ((path)strPathToEUFN);1516 remove_all((path)strPathToEUFN); 1517 1517 #else 1518 1518 create_directory(strTrashDir + "Unneeded update files");
Note:
See TracChangeset
for help on using the changeset viewer.