Search code examples
svntortoisesvnelevated-privileges

Installing Tortoise SVN with elevated credentials


I'm trying to install TortoiseSVN (Ver: 1.6.1.16129) on Windows PC's where the user is not an administrator.

The installer is an msi file and by default, there is no "Run As" option for it.

I've tried both:

msiexec /a "{PATH}\TortoiseSVN-1.6.1.16129-win32-svn-1.6.1.msi"

and

runas /user:username "msiexec /a {PATH}\TortoiseSVN-1.6.1.16129-win32-svn-1.6.1.msi"

Running either of the above results in the installer starting then the first dialog has the cryptic message: "Please specify a network location for the server image of Tortoise SVN 1.6...."

When the same msi file is run by a user who is an administrator, the installer proceeds as expected.

Has anyone else had this problem? Did you find a fix for it?


Solution

  • Browse to the windows\system32 directory - right click on cmd.exe and choose "run as administrator". You get an elevated command shell. Now run your msi from the command shell.