您的位置:首页 > 其它

安装svn时2503/2502错误

2014-09-01 17:43 169 查看
win8.1 64位安装svn 1.8.8时出错: .....error code is 2503/2502,

参考了下面的解决方案后依然出错,后来发现是权限问题,于是以管理员方式运行cmd,然后定位到安装文件目录启动安装文件,安装成功。

其它安装程序应该也通用,没测试过,如果安装依然失败,请参考以下链接:
http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/error-code-2503-when-installing-programs/972e9fab-4251-e011-8dfc-68b599b31bf5
==============================================

Step 1: Check the Windows Installer Service.

1. Click Start Orb, in the start search box, type Services and press Enter.

2. Scroll down and find the Windows Installer.  Double-click “Windows Installer” in the Services list.

3. On the General tab, make sure the service is started under “Service status”.

4. If the service is not already running, under Service status, click Start, and then click OK.

Step 2: Unregister and re-register the Windows Installer 

1.  Click Start Orb, in the start search box, type MSIEXEC /UNREGISTER, and then click OK .  

2.  Click Start Orb, in the start search box, type MSIEXEC /REGSERVER, and then click OK . After you run this command, the operation is complete. 

3. Now, try your installation again. 

Step 3: Clean any pending installations

Check the following registry key and clean any entries in the key that you find:

Go to the Start Orb, type in Regedit and select enter.

If you get the User Account Control dialog box that states, Do you want to allow the following program to make changes to the is computer?, Click yes.

Modifying REGISTRY settings incorrectly can cause serious problems that may prevent your computer from booting properly. Microsoft cannot guarantee that any problems resulting from the configuring of REGISTRY settings can be solved. Modifications
of these settings are at your own risk.

Scroll to: HKEY_LOCAL_MACHINE \Software\Microsoft\Windows\CurrentVersion\Installer\InProgress

Check the following registry key and clean any entries in the key that you find:

HKEY_LOCAL_MACHINE \System\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations

Step 4: Check the permissions

Verify the System has Full Control on the following keys:

HKEY_LOCAL_MACHINE \Software\Microsoft\Windows\CurrentVersion\Installer

Next, restart your computer and try again.

If still having problems, then create a new Administrator User account and see if the problem could be a corrupt user account.

Please reply back and let us know if this helps with your Windows Installer Error.

======================================================================
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  svn error 2503 error2502