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

Re: Check out rights under Vista / Windows 7

From: Andy Levy <andy.levy_at_gmail.com>
Date: Tue, 12 Oct 2010 10:52:15 -0400

On Tue, Oct 12, 2010 at 10:24, pvo_esi <pierre.viossat_at_esi-group.com> wrote:
> Hello BOb & Stephan,
>
> First thank you for your prompt answer.
>
> The context is: I'm providing an installation folder of my soft by the
> means of a SVN repository. When I upload updated installation files in
> the repository, the end-users just have to update their working copy
> in order to obtain the upgrade of the soft, as there is no need to go
> through a standard installation procedure alla Installshield. I found
> the location was proper, as it is an installation and the admin rights
> are respected for the update (the user must have them for updating).
> So it looked at another way of installing a software (It's not really
> a working copy from client side, in the sense that the end-user is not
> targetted to modify it, just a read-only access...).
>
> But I think I didn't explained properly last time: when I try to
> create an empty folder 'by hand' in the ProgramFiles folder (within
> Windows Explorer) and when I want to copy one file in this folder, it
> is possible as I've got the admin rights. It is just warned (pop up
> window under Vista/Win 7) that it requires admin rights, but when I
> click on 'Continue' the operation is successfully processed. This
> seems to be 'tunable' by Windows (several notification levels with
> 'user account control' - translated from French OS, not sure the
> english term is that). The same kind of warning pops up when I install
> new softs with standard installation procedures... But it seems that
> this notification, which does not appear when checking out a working
> copy with TSVN, locks the writing (because I suppose it is using
> standard I/O routines).
>
> I just wondered whether this lock behaviour can be managed by other
> softs (like TSVN), or if only Microsoft can handle it...

You're still using Program Files & TSVN in an improper way here.
Program Files is locked down by the OS to stop the user from tinkering
with the contents. As far as the OS is concerned, all the actions
you're trying to automate here are either user-initiated or can't be
distinguished from malicious activity.

This is not solvable via TSVN. You're attempting to do things here
that the OS expressly forbids.

Have you looked at using ClickOnce for your deployment instead?
Assuming you're using Visual Studio, that is.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2670828

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-10-12 16:53:05 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

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