- Timestamp:
- 2000-09-05T21:30:18+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsinstaller/gsinstall.cpp
r1498 r1502 65 65 bool updateProfiles(); 66 66 bool updateProgman(); 67 bool updateSetupExe(); 67 68 bool installNetscape(); 68 69 void setDestination(); … … 525 526 delete iniPath; 526 527 528 return true; 529 } 530 531 /** 532 * Ensure that we've installed the very latest setup executable @ the destination/ 533 * greenstone folder 534 */ 535 bool GSInstall::updateSetupExe() 536 { FilePath *destExePath; 537 FilePath srcExeFile(*this->sourcePath, "gssetup.exe"); 538 539 if (this->installExe) 540 { destExePath = this->destinationPath; 541 } 542 else 543 { destExePath = this->collectPath; 544 } 545 FilePath destExeFile(*destExePath, "gssetup.exe"); 546 547 if (!CopyFile(srcExeFile.cString(), destExeFile.cString(), false)) 548 { return false; 549 } 527 550 return true; 528 551 } … … 846 869 install.updateRegistry(); 847 870 install.updateProfiles(); 871 install.updateSetupExe(); 848 872 849 873 // the log will need reopening (probably failed initially)
Note:
See TracChangeset
for help on using the changeset viewer.