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

Re: MoveFileEx problem related to registry ?

From: SteveKing <steveking_at_gmx.ch>
Date: 2003-06-04 20:59:48 CEST

----- Original Message -----
From: "Francois Beausoleil" <fbos@users.sourceforge.net>
> I was reading the FAQ for InnoSetup
> (http://www.jrsoftware.org/isfaq.php), and I fell on this gem:
> Things that require administrative privileges on both Windows NT/2000/XP:
> Windows NT/2000/XP & Administrative Privileges
> ...
> * Using the "restartreplace" flag in the [Files] section. This flag
> causes Inno Setup to call the MoveFileEx function, which attempts to
> write to "HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Session
> Manager". Write access to this key is restricted to Administrators.
> ...
>
> I don't know if it is in any way related to the recent problems
> discovered with MoveFileEx, but I believe it might be possible.

I don't think so - MoveFileEx _only_ writes to the registry if
you specify the flag MOVEFILE_DELAY_UNTIL_REBOOT.
And I highly doubt subversion or apr uses that.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 4 21:02:27 2003

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.