On 12.10.2010 16:24, pvo_esi 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
The term is "UAC" which means "User Access Control".
This only works if an UI is present (otherwise if apps could circumvent
that UI it would defeat its whole purpose).
> 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...
It would be possible, yes. After all Installers can do the same. But
it's not recommended to do for normal operations but only for the very
few operations that it's actually required for.
Updating an application like this is a security risk and therefore not
recommended. And I definitely won't change TSVN (or any other of my
apps) to do something like that.
Really: if you want your app to update like this, put it to some other
place than the program files folder.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2670881
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-10-12 18:50:27 CEST