[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn-0.14.0-r2667-setup.exe has show stopper bug in it PATH corrupted on Win XP/W2K/NT systems

From: Barry Scott <barry.alan.scott_at_ntlworld.com>
Date: 2002-08-10 16:44:39 CEST

The svn-0.14.0-r2667-setup.exe kit has a show stopper bug in it.
It screws up the PATH for the system.

Personally I'd remove the kit from the files area until you have a fixed
kit to test. (I have not tried svn-0.14.0-r2804-setup.exe).

I was lucky and spotted the error before a reboot...

The reason is that the PATH must be a REG_EXPAND_SZ on NT/W2K/XP systems
and it is written as REG_SZ. The REG_EXPAND_SZ is required as windows
puts elements of the path in like %SystemRoot%.

Looking at install\svnpath\modPath.bas the fix is to change
both PathRemoveNT and PathSetNT so that

- .keyValueType = REG_SZ
+ .keyValueType = REG_EXPAND_SZ

Where is the source code for the installer? I did no find it in
http://svn.collab.net/repos/svn/trunk to check current version.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Aug 10 16:45:21 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.