[osgeo4w-dev] Installer Change

Matt Wilkie matt.wilkie at gov.yk.ca
Fri Mar 6 12:02:15 EST 2009

I've seen something which might be related: I installed to an alternate 
location (D:\o4w) and setup log files were still written to 
C:\OSGeo4W\var\log (setup.log, setup.log.full).

I don't recall any missing packages or dependencies, though I can't be 
sure about that and I've not done any further testing to try and 
reproduce it.

I am fairly certain I've never left setup.exe running while removing the 
C:\OSGeo4w tree. I have on occasion seen a program close their user 
interface yet still have a process shown running in Task Manager (most 
often with Firefox).

matt wilkie
Geographic Information,
Information Management and Technology,
Yukon Department of Environment
10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
867-667-8133 Tel * 867-393-7003 Fax

Frank Warmerdam wrote:
> Folks,
> On my home network I have been trying to use an OSGeo4W install tree
> on a shared network drive, but I was encountering problems when I tried
> to use it with new machines and running the OSGeo4W installer.  The problem
> was that the installer seemed to not recognise that there were installed
> packages in tree, and was furthermore wiping out the
> OSGeo4W\etc\setup\installed.db file.
> I tracked this down to setup.exe not reloading the installed.db when the
> root directory is changed in the dialog.  This meant the installer operated
> as if it's initial idea of what packages were installed (none) was still
> correct, if you didn't install something it would write out an empty list
> file for what is installed when you exit.
> I have fixed this, so changing the root (install location) causes the
> installed.db to be re-read from the new location.
> This also suggests to me that problems with the installed.db file may
> be behind the problems we occationally hear when folks wipe their tree,
> but for some reasonable required libraries will not get automatically
> installed afterwards.  It may be that the setup.exe program was left running
> while the C:\OSgeo4W tree was wiped, and after the wipe setup.exe was
> exited at which point it would write out an incorrect \etc\setup\installed.db
> file.  This would later confuse things as setup.exe would assume the
> recorded packages were already installed.
> If anyone can confirm or deny this theory I'd appreciate it.  The fix I
> did won't help it, though being careful to close setup.exe before wiping
> the OSGeo4W tree will help.
> The new installer version has been uploaded.
> Best regards,

More information about the osgeo4w-dev mailing list