RE: Check out rights under Vista / Windows 7
From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Wed, 13 Oct 2010 14:28:49 -0400
> Hello BOb & Stephan,
Certainly it is possible. But... TSVN is already running in process of the Explorer. So, you can't elevate an existing process. The only way to have processes within an application be able to do stuff is to separate out the code that needs to be elevated into a separate binary. IIRC this is all documented by microsoft. There are also UI guidelines like putting the shield on a button that runs a process that requires elevation.
Why don't you use click once or Installshield's update service to provide your users with updates. This would put a real install UI in front of them and Windows will request elevation if you set up your installer properly.
The other thing you could do is ship the svn.exe command line tool with your app... when you user wants to update you can run a shell command that requires elevation to run the update.
Bottom line... this is not something that needs to be changes in TSVN... it is your software that needs an updater than correctly requests elevated privileges.
Or, if you want to keep doing what your doing, DON'T install your app in program files. Install it in the user's home directory or in the root of c:\. You really should work with the Windows best practices, not against them.
BOb
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
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.