You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Jostein Christoffer Andersen <jo...@josander.net> on 2002/07/30 07:23:52 UTC
Windows Installer: -Feedback needed please
Hi,
I want some input and thoughs about how things should be done with the
Windows installer, it's not wise to let one person (me) decide how
things should be done and things can allways be better.
The Subversion project are getting bigger and many third party packages
are required.
The Subversion project itself have a new family member (rapidsvn) and
will probably continue to be bigger.
I have some points that I feel that need feedback and you may have other
issues to:
* Should Subversion for Windows require Administrative
privileges (NT versions)? Right now, the installer puts
the following strings in the registrey:
HKLM/Software/Tigris.org/Subversion|Revision: "2667"
HKLM/Software/Tigris.org/Subversion|Version: "0.14.0"
I have done this for future use (for gui clients etc).
* Should I exclude the Berkeley DB from the installer?
It is possible to download it from within the installer
while installing Subversion for Windows. In that case,
it may be good to make a Windows installer for Berkeley.
* What about offering the person who are installing
subversion to download a rapidsvn package during
the installation (when it's ready)?
If we are offering the users to download packages during the
installation, then the Berkeley package (and others) must be aviable
with other filenames, making sure that the latest versions are aviable
for the installer.
This should be possible by symlinking the packages to db-latest.zip,
rapidsvn-latest.exe on a FTP server
The installer can fetch files via HTTP and FTP.
Any comments are welcome.
Thanks
Jostein
--
----------------------------------------------------------------------
Jostein Christoffer Andersen <jo...@josander.net>
http://www.josander.net/
Public PGP Key:
Key: http://www.josander.net/pub_keys/jostein_josander.net.asc
----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
RE: Windows Installer: -Feedback needed please
Posted by Barry Scott <ba...@ntlworld.com>.
>
> DB4 is needed in the client for local repositories.
>
> --
> Michael Wood <mw...@its.uct.ac.za>
Missed the local repo. Looks like there are three
interesting deployment parts:
Feature Admin
------- -----
HTTP server Required
FILE server Optional
Client access Optional
I'm assuming that anyone installing the HTTP server kit wants to
run apache as an NT service with SVN inside it. This I will
need admin access.
I'm sure users that cannot get admin access will appreciate
having a kit that can be installed without admin access.
If size of the kit is not an issue then bundle "File server" with
"Client access".
BArry
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Windows Installer: -Feedback needed please
Posted by Michael Wood <mw...@its.uct.ac.za>.
On Tue, Jul 30, 2002 at 01:53:28PM +0200, Jostein Christoffer Andersen wrote:
> On tirsdag 30 juli 2002, 13.05, Barry Scott wrote:
> > Suggestion: You need two kits.
> >
> > 1) Server kit
> > This is reasonable to require admin priv and use HKLM
> > This will need DB4
> > Probable contains the client kit.
> >
> > 2) Client kit
> > If you have admin priv then install for all users
> > Otherwise install for the current user only.
> > No DB4 required.
>
> Might be a good idea. I need more feedback on this one.
[snip]
DB4 is needed in the client for local repositories.
--
Michael Wood <mw...@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Windows Installer: -Feedback needed please
Posted by Jostein Christoffer Andersen <jo...@josander.net>.
On tirsdag 30 juli 2002, 13.05, Barry Scott wrote:
> Suggestion: You need two kits.
>
> 1) Server kit
> This is reasonable to require admin priv and use HKLM
> This will need DB4
> Probable contains the client kit.
>
> 2) Client kit
> If you have admin priv then install for all users
> Otherwise install for the current user only.
> No DB4 required.
Might be a good idea. I need more feedback on this one.
> The issue with GUI clients and other tools is finding where
> SVN is installed. Its then easy to check version info.
> Your registry keys do not help me find SVN.EXE or the Swig'ed
> wrappers. It's not always possible to rely on tools being on
> the PATH.
How about adding this?:
HK??/Software/Tigris.org/Subversion|Path "F:\Develop\subversion"
I should have done this anyway.
> Maybe you need a convention of placing the location of SVN and
> another info, like version in HLKM if you can otherwise in HKCU.
> Tools then can search HKCU before HKLM to find the SVN data.
>
> (This would also allow a devo to override the HKLM data to test
> a new version without trashing the install.)
Consider it as done, good idea.
> Which installer are you using? I have used InstallShield a
I'm using INNO with help from Bjørnar Henden's ISTool. I might use the
ISX ("My Inno Setup Extentions") on the next release.
Thanks for your feedback :-)
Jostein
--
----------------------------------------------------------------------
Jostein Christoffer Andersen <jo...@josander.net>
http://www.josander.net/
Public PGP Key:
Key: http://www.josander.net/pub_keys/jostein_josander.net.asc
----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
RE: Windows Installer: -Feedback needed please
Posted by Barry Scott <ba...@ntlworld.com>.
Suggestion: You need two kits.
1) Server kit
This is reasonable to require admin priv and use HKLM
This will need DB4
Probable contains the client kit.
2) Client kit
If you have admin priv then install for all users
Otherwise install for the current user only.
No DB4 required.
The issue with GUI clients and other tools is finding where
SVN is installed. Its then easy to check version info.
Your registry keys do not help me find SVN.EXE or the Swig'ed
wrappers. It's not always possible to rely on tools being on
the PATH.
Maybe you need a convention of placing the location of SVN and
another info, like version in HLKM if you can otherwise in HKCU.
Tools then can search HKCU before HKLM to find the SVN data.
(This would also allow a devo to override the HKLM data to test
a new version without trashing the install.)
Which installer are you using? I have used InstallShield a
lot and do not like it. I'm in the process of migrating to INNO
that is free software and well designed, uses text file to hold
project details. The Windows Installer tools all use binary blobs
for the project details that makes review and auditing near
impossible.
INNO is at http://www.jrsoftware.org/isinfo.php
Barry
> -----Original Message-----
> From: Jostein Christoffer Andersen [mailto:jostein@josander.net]
> Sent: 30 July 2002 08:24
> To: dev@subversion.tigris.org
> Subject: Windows Installer: -Feedback needed please
>
>
> Hi,
>
> I want some input and thoughs about how things should be done with the
> Windows installer, it's not wise to let one person (me) decide how
> things should be done and things can allways be better.
>
> The Subversion project are getting bigger and many third party packages
> are required.
> The Subversion project itself have a new family member (rapidsvn) and
> will probably continue to be bigger.
>
> I have some points that I feel that need feedback and you may have other
> issues to:
>
> * Should Subversion for Windows require Administrative
> privileges (NT versions)? Right now, the installer puts
> the following strings in the registrey:
> HKLM/Software/Tigris.org/Subversion|Revision: "2667"
> HKLM/Software/Tigris.org/Subversion|Version: "0.14.0"
> I have done this for future use (for gui clients etc).
> * Should I exclude the Berkeley DB from the installer?
> It is possible to download it from within the installer
> while installing Subversion for Windows. In that case,
> it may be good to make a Windows installer for Berkeley.
> * What about offering the person who are installing
> subversion to download a rapidsvn package during
> the installation (when it's ready)?
>
> If we are offering the users to download packages during the
> installation, then the Berkeley package (and others) must be aviable
> with other filenames, making sure that the latest versions are aviable
> for the installer.
> This should be possible by symlinking the packages to db-latest.zip,
> rapidsvn-latest.exe on a FTP server
> The installer can fetch files via HTTP and FTP.
>
> Any comments are welcome.
>
> Thanks
>
> Jostein
>
> --
>
>
> ----------------------------------------------------------------------
> Jostein Christoffer Andersen <jo...@josander.net>
> http://www.josander.net/
>
> Public PGP Key:
> Key: http://www.josander.net/pub_keys/jostein_josander.net.asc
> ----------------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svn-0.14.0-r2667-setup.exe has show stopper bug in it PATH corrupted
on Win XP/W2K/NT systems
Posted by Patrik Husfloen <pa...@student.liu.se>.
oops, I forgot to CC the list, sorry about that :/
--
on another note, what is this reference to VB runtimes?
does the install program require them?
I read this thread and I couldn't find any discussion about that.
Anyway, there is always the nullsoft superpimp installer [1]
/patrik
[1] http://www.nullsoft.com/free/nsis/
Barry Scott wrote:
> I got a message from Patrik Husfloen confirming the PATH got "hosed".
>
> I just rerun the install and document what I see...
>
> 1. Uninstall did not remove the c:\program files\subversion from the PATH.
> 2. I manually remove the c:\program files\subversion from the PATH
> 3. PATH is REG_EXPAND_SZ
> 4. Install svn-0.14.0-r2667-setup.exe
> 5. PATH is REG_SZ and contains:
> C:\Python22\.;C:\Python21\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Subversion
> 6. Start a new CMD
> 7. typeing notepad gets
> 'notepad' is not recognized as an internal or external command,
> operable program or batch file.
> 8. PATH command lists
>
> 8. Now I repair PATH back to REG_EXPAND_SZ (you have to edit it via the My COmputer/Properties
> Advanced tab, Environment Variables Button, then make a edit to PATH in SYstem variables.
> (add a space and delete it), Click OK a couple of times and the system notices the PATH change.)
>
> I suggest that you put up a kit that does not run svnpath at all until we have a fix.
> You could use the max_version stuff to exclude XP from the run.
>
> As well why not add a note to the files area on tigris.org that warns users that the install
> is bad on XP.
>
> Yes you are right requireing VB runtime is bad news for a kit. Why not code in C/C++ rather then
> Pascal then more people could build it and help with code modifications?
>
> BArry
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svn-0.14.0-r2667-setup.exe has show stopper bug in it PATH corrupted on Win XP/W2K/NT systems
Posted by Jostein Christoffer Andersen <jo...@josander.net>.
On onsdag 14 august 2002, 22.39, Barry Scott wrote:
> I've not got any 9X systems anywhere to test 9xpath functionality on.
> I would be good to get a 9X user to help here.
>
I can mail you some autoexec.bat samples so you can test it if you want
to.
I renamed them as autoexec.w98 autoexec.w95 and so on when I wrote the
svnpath program so I could check everything.
I can check your program in Win95/98 and NT4 and XP (I purcased XP after
the registry story).
I will continue to use the svnpath program until something better shows
up (ntpath, ISX, whatever)
Jostein
--
----------------------------------------------------------------------
Jostein Christoffer Andersen <jo...@josander.net>
http://www.josander.net/
Public PGP Key:
Key: http://www.josander.net/pub_keys/jostein_josander.net.asc
----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
RE: svn-0.14.0-r2667-setup.exe has show stopper bug in it PATH corrupted on Win XP/W2K/NT systems
Posted by Barry Scott <ba...@ntlworld.com>.
Yes this really should be part of INNO. As should being able to
run an EXE to check for prerequisites. I like the simplicity of INNO
but hope that for my projects I can avoid ISX.
I've not got any 9X systems anywhere to test 9xpath functionality on.
I would be good to get a 9X user to help here.
Barry
> -----Original Message-----
> From: Jostein Christoffer Andersen [mailto:jostein@josander.net]
> Sent: 14 August 2002 08:46
> To: Barry Scott
> Cc: dev@subversion.tigris.org; Branko Cibej
> Subject: Re: svn-0.14.0-r2667-setup.exe has show stopper bug in it PATH
> corrupted on Win XP/W2K/NT systems
>
>
> ----- Original Message -----
> From: "Barry Scott" <ba...@ntlworld.com>
>
> > > My C/C++ knowledge are very limited but you (and everyone) are most
> welcome
> > > to make this in C/C++. I will be grateful if yo do that :-)
> >
> > O.K. I've found the time to contribute. :-)
>
> This is great news! :-)
>
> It's one part that I would like added:
> * Make it work for Win9x too. The program can
> use switches like 'ntpath add9x' and
> 'ntpath addnt' and so on. Inno Setup have
> no problem to detect and take action depending
> on the OS.
>
> Inno Setup will probably include this function in a very near future. It's
> one of the most wanted functions to be added to Inno Setup and the author
> knows that.
> The people who make installers with Inno Setup have used 'My Inno Setup
> Extentions' (ISX) wich enables pascal scripting to Inno Setup or external
> programs like svnpath and ntpath up to this time.
>
> I will not come back to this group before the 20. August.
>
> Thanks for your work with the program.
>
> Jostein
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svn-0.14.0-r2667-setup.exe has show stopper bug in it PATH corrupted on Win XP/W2K/NT systems
Posted by Jostein Christoffer Andersen <jo...@josander.net>.
----- Original Message -----
From: "Barry Scott" <ba...@ntlworld.com>
> > My C/C++ knowledge are very limited but you (and everyone) are most
welcome
> > to make this in C/C++. I will be grateful if yo do that :-)
>
> O.K. I've found the time to contribute. :-)
This is great news! :-)
It's one part that I would like added:
* Make it work for Win9x too. The program can
use switches like 'ntpath add9x' and
'ntpath addnt' and so on. Inno Setup have
no problem to detect and take action depending
on the OS.
Inno Setup will probably include this function in a very near future. It's
one of the most wanted functions to be added to Inno Setup and the author
knows that.
The people who make installers with Inno Setup have used 'My Inno Setup
Extentions' (ISX) wich enables pascal scripting to Inno Setup or external
programs like svnpath and ntpath up to this time.
I will not come back to this group before the 20. August.
Thanks for your work with the program.
Jostein
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
RE: svn-0.14.0-r2667-setup.exe has show stopper bug in it PATH corrupted on Win XP/W2K/NT systems
Posted by Barry Scott <ba...@ntlworld.com>.
> Does it check if the path is already in PATH? IIRC the installer didn't
> check this, so that repeated installs would add the same path several times.
>
> --
> Brane Cibej <br...@xbc.nu> http://www.xbc.nu/brane/
Yes it checks. But it will not clean up the multiple duplicates (laziness on
my part).
The source code and makefile for VC++ 6.0 is in
http://www.barrys-emacs.org/ntpath.zip hopefully you can use this for the
svn installer.
I have placed the usage info as a comment in the source file and updated
from the text posted last night.
I have tested on Windows NT, Windows 2000 and Windows XP. On XP I have tested
admin and non-priv'ed users. The app-path has been test for removal at
the start of the PATH, at the end, in the middle and as the only item.
Note that I was correct that on all NT the system PATH is a REG_EXPAND_SZ
date type. However some application installations overwrite with a REG_SZ
value. (Don't you just love Windows).
At work I found NT4 with REG_EXPAND_SZ, W2K with REG_EXPAND_SZ and REG_SZ and
XP with REG_EXPAND_SZ. I conclude that a well behavior installation should not
change the data type in the registry. NTPATH will preserver that data type that
it finds.
You have been lucky that the installation only seems to have broken XP, some
very common app must be over writing the PATH data type.
There is still the problem of updating the path in 9X systems. I think that
9X path should be a separate utility.
I'm not going to be able to check mail for the next week.
Barry
P.S.
I developed this mini project as my first in anger use of SVN. I have
an svn repo hosted on FreeBSD and worked on the software from two XP
machines. SVN worked without a hitch.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svn-0.14.0-r2667-setup.exe has show stopper bug in it PATH corrupted
on Win XP/W2K/NT systems
Posted by Branko Čibej <br...@xbc.nu>.
Barry Scott wrote:
>ntpath - utility to add and remove paths from the Windows NT PATH.
>
>syntax:
>ntpath add <path>
>ntpath remove <path>
>
>command line parsing is very simplistic extra spaces will mess things up.
>
>add action:
>
>Add <path> to the system PATH variable if the user has permission otherwise
>update the users PATH variable. Create the users PATH variable if it
>does not exist in the registry (which is true of a new users account).
>
>
Does it check if the path is already in PATH? IIRC the installer didn't
check this, so that repeated installs would add the same path several times.
--
Brane Čibej <br...@xbc.nu> http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
RE: svn-0.14.0-r2667-setup.exe has show stopper bug in it PATH corrupted on Win XP/W2K/NT systems
Posted by Barry Scott <ba...@ntlworld.com>.
> My C/C++ knowledge are very limited but you (and everyone) are most welcome
> to make this in C/C++. I will be grateful if yo do that :-)
O.K. I've found the time to contribute. :-)
I've written the NT part of the path update logic for NT, W2K and XP
as a C++ program that uses limited features to keep the image size small
and dependencies to a minimum.
Tomorrow I'll test the code at work where I can get my hands on NT4 and
W2K systems.
The code is a single EXE that only depends on Windows system DLLs,
kernel32.lib user32.lib advapi32.lib.
Below is a reference for the utility.
Barry
ntpath - utility to add and remove paths from the Windows NT PATH.
syntax:
ntpath add <path>
ntpath remove <path>
command line parsing is very simplistic extra spaces will mess things up.
add action:
Add <path> to the system PATH variable if the user has permission otherwise
update the users PATH variable. Create the users PATH variable if it
does not exist in the registry (which is true of a new users account).
The type of the PATH value is preserved. If its REG_EXPAND_SZ then it
stays REG_EXPAND_SZ, if its REG_SZ then it stays REG_SZ. This will allow
the code to work on NT, W2K and XP. There are no version checks.
Return code:
0 - <path> added
1 - add failed
remove action:
Attempt to remove <path> from the system PATH variable and the users PATH
variable.
Return code:
0 - <path> removed
1 - removed failed
Example:
ntpath add C:\Progam Files\Subversion
ntpath remove C:\Progam Files\Subversion
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svn-0.14.0-r2667-setup.exe has show stopper bug in it PATH corrupted on Win XP/W2K/NT systems
Posted by Jostein Christoffer Andersen <jo...@josander.net>.
> 1. Uninstall did not remove the c:\program files\subversion from the PATH.
> 2. I manually remove the c:\program files\subversion from the PATH
It's on the installer's ToDo list
> I suggest that you put up a kit that does not run svnpath at all until we
have a fix.
I will exclude it for now and ask people to manually add/remove the svnpath
on (un)installation and fix it when I come home around 20. August. I hope to
upload a new svn installer within a few hours from now.
> Yes you are right requireing VB runtime is bad news for a kit. Why not
code in C/C++ rather then
> Pascal then more people could build it and help with code modifications?
My C/C++ knowledge are very limited but you (and everyone) are most welcome
to make this in C/C++. I will be grateful if yo do that :-)
Jostein
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
RE: svn-0.14.0-r2667-setup.exe has show stopper bug in it PATH corrupted on Win XP/W2K/NT systems
Posted by Barry Scott <ba...@ntlworld.com>.
I got a message from Patrik Husfloen confirming the PATH got "hosed".
I just rerun the install and document what I see...
1. Uninstall did not remove the c:\program files\subversion from the PATH.
2. I manually remove the c:\program files\subversion from the PATH
3. PATH is REG_EXPAND_SZ
4. Install svn-0.14.0-r2667-setup.exe
5. PATH is REG_SZ and contains:
C:\Python22\.;C:\Python21\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Subversion
6. Start a new CMD
7. typeing notepad gets
'notepad' is not recognized as an internal or external command,
operable program or batch file.
8. PATH command lists
8. Now I repair PATH back to REG_EXPAND_SZ (you have to edit it via the My COmputer/Properties
Advanced tab, Environment Variables Button, then make a edit to PATH in SYstem variables.
(add a space and delete it), Click OK a couple of times and the system notices the PATH change.)
I suggest that you put up a kit that does not run svnpath at all until we have a fix.
You could use the max_version stuff to exclude XP from the run.
As well why not add a note to the files area on tigris.org that warns users that the install
is bad on XP.
Yes you are right requireing VB runtime is bad news for a kit. Why not code in C/C++ rather then
Pascal then more people could build it and help with code modifications?
BArry
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svn-0.14.0-r2667-setup.exe has show stopper bug in it PATH corrupted on Win XP/W2K/NT systems
Posted by Jostein Christoffer Andersen <jo...@josander.net>.
> Here is the save from REGEDT32 from my XP Pro system:
.
.
>
C:\Python21\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;l
> :\bin;l:\barry\bin;C:\Python21\PyQt\bin
>
> Notice all the %SystemRoot% in the PATH.
I have %WINDIR% and other environment variables in _my_ path as well. The
svnpath program does not _write_ the %SystemRoot% value to the registry, it
writes the %ENV_VARIABLES% itself as clean text back to the registry. That's
why I don't use REG_EXPAND_SZ when writing the path back to the registry.
The program is tested on all the NT flavors by many people, so I really want
to know what's going on here. The problem is that I can't fix/check it where
I'm now, but the svnpath source code consists of very small subs so it
should be easy to see how it works.
I have started to port the svnpath to pascal because a VB program does not
belong in a Windows installer like this. Win95 users may not have the VB5
run time files.
Jostein
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
RE: svn-0.14.0-r2667-setup.exe has show stopper bug in it PATH corrupted on Win XP/W2K/NT systems
Posted by Barry Scott <ba...@ntlworld.com>.
Here is the save from REGEDT32 from my XP Pro system:
Key Name: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session
Manager\Environment
Class Name: <NO CLASS>
Last Write Time: 5/22/2002 - 10:53 PM
Value 5
Name: Path
Type: REG_EXPAND_SZ
Data:
C:\Python21\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;l
:\bin;l:\barry\bin;C:\Python21\PyQt\bin
Notice all the %SystemRoot% in the PATH.
I've not got a W2K or NT4 here to check out. I thought this was the case
on them all. But as your NT4 is not I must have confused when this change
came in.
Barry
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
RE: svn-0.14.0-r2667-setup.exe has show stopper bug in it PATH corrupted on Win XP/W2K/NT systems
Posted by Barry Scott <ba...@ntlworld.com>.
Can anyone else confirm or refute the install problem with PATH on
Windows XP?
To repair the damage with REGEDT32 (not REGEDIT):
1. Open up Key
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session
Manager\Environment
2. Rename PATH to PATH.old
3. Add new PATH by Right-Click New/Epandable String Value
4. Copy date from PATH.old into PATH.
Barry
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svn-0.14.0-r2667-setup.exe has show stopper bug in it PATH corrupted on Win XP/W2K/NT systems
Posted by Jostein Christoffer Andersen <jo...@josander.net>.
> The svn-0.14.0-r2667-setup.exe kit has a show stopper bug in it.
> It screws up the PATH for the system.
How does your path look before and after the installation? I'm using NT4 and
have no problem with it.
> 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
It's in the windows distro. I don't have access to the repository. You are
welcome to fix it, compile it and send it to me (but make sure that it
works, this is the first time this problem is reported :-).
I have no chance to recompile it (svnpath) by myself before 2002/08/20
because i'm in another country at the moment, I can only upgrade the distro
to the new 0.14.1 version.
Thank for you help
Jostein
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
svn-0.14.0-r2667-setup.exe has show stopper bug in it PATH corrupted on Win XP/W2K/NT systems
Posted by Barry Scott <ba...@ntlworld.com>.
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.
BArry
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Windows Installer: -Feedback needed please
Posted by Jostein Christoffer Andersen <jo...@josander.net>.
On onsdag 31 juli 2002, 20.48, Josef Wolf wrote:
> On Tue, Jul 30, 2002 at 08:56:13PM +0200, Jostein Christoffer Andersen
wrote:
> > > When you make a release you should include all the tested binaries
> > > for that release version. Downloading the latest files is not a
> > > good idea because then you can no longer vouch that it all works
> > > together. Subversion contains many parts so that makes this even
> > > more important.
>
> +1
OK, I make no changes here
> > > Downloading requires a user to have internet access. You cannot
> > > assume that will always be the case.
>
> +1. Why not give an Option like Cygwin:
>
> [] Download from Internet
> [] Install from local Directory
The Subversion distro is not _that_ big. The user can click on the setup
program (wich is fast and efficient) or choose the "Subversion on
Internet" menu item. This is two simple and powerful options.
> > Good points. I'm just a little bit worried that the distro will be a
> > big to a big monster to download.
>
> That's why it would be better to split into server/client :)
I will split into server/client distros if the whole thing are getting
bigger and/or if I understand that's a real demand for it.
I was thinking about making two distros in the beginning but was
recommended not to do so in this group (and I agree).
I think that one distro will do at the moment but It should not be much
bigger before splitting (limit 5 MB?).
The current distro are aprox. 4 MB in size (this will probably be a bit
smaller when it's not development builded.)
Thanks for your feedback
Jostein
--
----------------------------------------------------------------------
Jostein Christoffer Andersen <jo...@josander.net>
http://www.josander.net/
Public PGP Key:
Key: http://www.josander.net/pub_keys/jostein_josander.net.asc
----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Windows Installer: -Feedback needed please
Posted by Josef Wolf <jw...@raven.inka.de>.
On Tue, Jul 30, 2002 at 08:56:13PM +0200, Jostein Christoffer Andersen wrote:
> > When you make a release you should include all the tested binaries
> > for that release version. Downloading the latest files is not a good
> > idea because then you can no longer vouch that it all works together.
> > Subversion contains many parts so that makes this even more
> > important.
+1
> > Downloading requires a user to have internet access. You cannot
> > assume that will always be the case.
+1. Why not give an Option like Cygwin:
[] Download from Internet
[] Install from local Directory
BTW: anyone tried to compile under cygwin?
> Good points. I'm just a little bit worried that the distro will be a big
> to a big monster to download.
That's why it would be better to split into server/client :)
--
-- Josef Wolf -- jw@raven.inka.de --
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Windows Installer: -Feedback needed please
Posted by Jostein Christoffer Andersen <jo...@josander.net>.
On tirsdag 30 juli 2002, 23.08, Brent R. Matzelle wrote:
> Installers are commonly monsters for the server version (and
> downloaded less often). The client edition should be much smaller.
>
> If you are concerned about size you can always set InnoSetup's
> compression to bzip2.
I'm already using bzip2 (the installer script are included in the setup
program).
Anyway, one distro for Windows should be enought as it is now (but it
might change quickly).
Thanks
Jostein
--
----------------------------------------------------------------------
Jostein Christoffer Andersen <jo...@josander.net>
http://www.josander.net/
Public PGP Key:
Key: http://www.josander.net/pub_keys/jostein_josander.net.asc
----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Windows Installer: -Feedback needed please
Posted by "Brent R. Matzelle" <bm...@yahoo.com>.
--- Jostein Christoffer Andersen <jo...@josander.net> wrote:
> Good points. I'm just a little bit worried that the distro will be
> a big
> to a big monster to download. I guess that it's natural to let
> progs
> like rapidsvn have its own installer.
Installers are commonly monsters for the server version (and
downloaded less often). The client edition should be much smaller.
If you are concerned about size you can always set InnoSetup's
compression to bzip2.
Brent
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Windows Installer: -Feedback needed please
Posted by Jostein Christoffer Andersen <jo...@josander.net>.
On tirsdag 30 juli 2002, 19.45, Brent R. Matzelle wrote:
> > I have some points that I feel that need feedback and you may have
> > other
> > issues to:
> >
> > * Should Subversion for Windows require Administrative
> > privileges (NT versions)? Right now, the installer puts
> > the following strings in the registrey:
> > HKLM/Software/Tigris.org/Subversion|Revision: "2667"
> > HKLM/Software/Tigris.org/Subversion|Version: "0.14.0"
> > I have done this for future use (for gui clients etc).
>
> For the server version yes, client version no. This is pretty
> standard for most installers and users will normally expect this.
Got it..
>
> > * Should I exclude the Berkeley DB from the installer?
> > It is possible to download it from within the installer
> > while installing Subversion for Windows. In that case,
> > it may be good to make a Windows installer for Berkeley.
>
> Including it is a must as the client and server require it.
I did not express my self good enough here, others have noticed this
(sendig private email to me) too, I hope this will clarify:
- A minimum of Berkeley files are already installed by the
current and previous Windows installers when the user
choose not to install the Berkeley files and they will
continue to be installed in future versions as far as I
know.
>
> > * What about offering the person who are installing
> > subversion to download a rapidsvn package during
> > the installation (when it's ready)?
>
> When you make a release you should include all the tested binaries
> for that release version. Downloading the latest files is not a good
> idea because then you can no longer vouch that it all works together.
> Subversion contains many parts so that makes this even more
> important.
>
> Downloading requires a user to have internet access. You cannot
> assume that will always be the case.
>
Good points. I'm just a little bit worried that the distro will be a big
to a big monster to download. I guess that it's natural to let progs
like rapidsvn have its own installer.
Thanks for your feedback
Jostein
--
----------------------------------------------------------------------
Jostein Christoffer Andersen <jo...@josander.net>
http://www.josander.net/
Public PGP Key:
Key: http://www.josander.net/pub_keys/jostein_josander.net.asc
----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Windows Installer: -Feedback needed please
Posted by "Brent R. Matzelle" <bm...@yahoo.com>.
--- Jostein Christoffer Andersen <jo...@josander.net> wrote:
> Hi,
>
> I want some input and thoughs about how things should be done with
> the
> Windows installer, it's not wise to let one person (me) decide how
> things should be done and things can allways be better.
>
> The Subversion project are getting bigger and many third party
> packages
> are required.
> The Subversion project itself have a new family member (rapidsvn)
> and
> will probably continue to be bigger.
>
> I have some points that I feel that need feedback and you may have
> other
> issues to:
>
> * Should Subversion for Windows require Administrative
> privileges (NT versions)? Right now, the installer puts
> the following strings in the registrey:
> HKLM/Software/Tigris.org/Subversion|Revision: "2667"
> HKLM/Software/Tigris.org/Subversion|Version: "0.14.0"
> I have done this for future use (for gui clients etc).
For the server version yes, client version no. This is pretty
standard for most installers and users will normally expect this.
> * Should I exclude the Berkeley DB from the installer?
> It is possible to download it from within the installer
> while installing Subversion for Windows. In that case,
> it may be good to make a Windows installer for Berkeley.
Including it is a must as the client and server require it.
> * What about offering the person who are installing
> subversion to download a rapidsvn package during
> the installation (when it's ready)?
When you make a release you should include all the tested binaries
for that release version. Downloading the latest files is not a good
idea because then you can no longer vouch that it all works together.
Subversion contains many parts so that makes this even more
important.
Downloading requires a user to have internet access. You cannot
assume that will always be the case.
InnoSetup is an excellent and extensible tool so I agree with its use
as the standard installer.
Regards,
Brent
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org