1. 程式人生 > >安裝svn時2503/2502錯誤

安裝svn時2503/2502錯誤

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.

======================================================================