Changeset 2073 for trunk/gsinstaller
- Timestamp:
- 2001-02-27T13:30:53+13:00 (23 years ago)
- Location:
- trunk/gsinstaller
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsinstaller/copyProgress.cpp
r1767 r2073 43 43 44 44 void copyProgressBar::registerClass() 45 { static bool registered = false;45 { static BOOL registered = FALSE; 46 46 47 if (registered == false)47 if (registered == FALSE) 48 48 { WNDCLASS classdef; 49 49 … … 59 59 classdef.lpszClassName = "CopyProgressBar"; 60 60 RegisterClass(&classdef); 61 registered = true;61 registered = TRUE; 62 62 } 63 63 } -
trunk/gsinstaller/gsinstall.cpp
r2063 r2073 203 203 204 204 // Get location of the library executable from the registry; this 205 // is thence used to get the location of gsdl .inietc.205 // is thence used to get the location of gsdlsite.cfg etc. 206 206 this->collectPath = this->gsRegister->collectionPath(); 207 207 if (this->collectPath->pathString() != "") … … 425 425 this->manifest = new gsManifest(*this); // get a manifest manager 426 426 427 iniPath = new FilePath(this->collectPath->pathString(), "gsdl .ini");427 iniPath = new FilePath(this->collectPath->pathString(), "gsdlsite.cfg"); 428 428 gsProfile gsdlProfile(*this, iniPath->pathString()); 429 429 … … 566 566 exePath = this->collectPath; 567 567 } 568 iniPath = new FilePath(exePath->pathString(), "gsdl .ini");568 iniPath = new FilePath(exePath->pathString(), "gsdlsite.cfg"); 569 569 570 570 // TODO: check if this 'if' structure is correct; suspect that it isn't quite … … 592 592 } 593 593 594 // create a profile object to write to the gsdl .inifile594 // create a profile object to write to the gsdlsite.cfg file 595 595 gsProfile gsdlProfile(*this, iniPath->pathString()); 596 596 … … 599 599 if (this->installExe) 600 600 { 601 // set the correct exe entries in gsdl .ini(in the gsdl section)601 // set the correct exe entries in gsdlsite.cfg (in the gsdl section) 602 602 gsdlProfile.writeString("gsdl", "gsdlhome", dataPath->pathString()); 603 603 gsdlProfile.writeString("gsdl", "gdbmhome", this->dataDestPath->pathString()); 604 604 } 605 605 606 // set the correct collection volume entries in gsdl .ini606 // set the correct collection volume entries in gsdlsite.cfg 607 607 if (this->installVolume) 608 608 {
Note:
See TracChangeset
for help on using the changeset viewer.