Changeset 22957

Show
Ignore:
Timestamp:
24.09.2010 16:20:56 (9 years ago)
Author:
ak19
Message:

When doing a partial install on the harddrive, the CD Rom installer used to have issues when deleting and reinstalling (which we do for testing). This was because it would register the program with Windows registry and would try to re-install in the old location by getting that location from the Windows registry (it explicitly keeps track of existing installations). And in such cases where an installation already exists, it would not reinstall server.exe (or other executables), even though these might have been manually deleted. Now it no longer skips installing executables on subsequent re-installs.

Location:
other-projects/gs2-export-cdrom-installer/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • other-projects/gs2-export-cdrom-installer/trunk/README.txt

    r22919 r22957  
    22222. nmake /f win32.mak (in the gsinstaller directory) 
    2323 
     24Don't forget to copy the generated gssetup.exe into greenstone2\bin\windows 
     25replacing the existing one in the Greenstone installation. 
    2426 
    2527 
     28 
  • other-projects/gs2-export-cdrom-installer/trunk/gsinstall.cpp

    r22929 r22957  
    211211          this->installToPath = this->collectPath; 
    212212          // we don't need to install the exe files 
    213           this->installExe = false; 
     213          this->installExe = true;  // we do now (was false before), else it doesn't allow a proper  
     214                        // delete-and-reinstall cycle (doesn't install server.exe on subsequent installs then) 
    214215        } 
    215216    } 
     
    739740                              // whole wizard; note doing this in the wizard 
    740741                              // property sheet initialisation DOES NOT WORK 
    741  
     742     
    742743  switch (Message) 
    743744    {