Changeset 1638 for trunk/gsinstaller/gsinstall.cpp
- Timestamp:
- 2000-11-01T08:09:20+13:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsinstaller/gsinstall.cpp
r1588 r1638 350 350 } 351 351 352 // openthe log for writing352 // set the log for writing 353 353 FilePath *logPath = new FilePath(this->destinationPath->pathString(), "install.log"); 354 this->openLog(logPath->pathString(), true); 355 delete logPath; 356 } 354 this->setLogFile(logPath->pathString()); 355 delete logPath;} 357 356 358 357 bool GSInstall::setUninstall() … … 394 393 // will in fact be the temporary directory as outlined above) 395 394 FilePath *logPath = new FilePath(this->sourcePath->pathString(), "install.log"); 396 this->openLog(logPath->pathString(), false); 395 this->setLogFile(logPath->pathString()); 396 this->readLog(); 397 397 delete logPath; 398 398 … … 951 951 // will be deleted, it must be closed; copying may also fail, so it's 952 952 // safer to close it before doing either. 953 install. closeLog();953 install.recordLog(); 954 954 955 955 // if the install is empty, terminate all final items (currently the … … 999 999 install.updateSetupExe(); 1000 1000 1001 // the log will need reopening (probably failed initially)1002 install.reopenLog();1003 1004 1001 // close log 1005 install. closeLog();1002 install.recordLog(); 1006 1003 1007 1004 // do further actions
Note:
See TracChangeset
for help on using the changeset viewer.