1. 程式人生 > >在win10下安裝svn(msi格式)時出現報錯2502或者2503

在win10下安裝svn(msi格式)時出現報錯2502或者2503

在win10下安裝svn(msi格式)時出現報錯:
The installer has encountered an unexpected error installing this package.this may indicate a problem with package.the error code is 2502.
The installer has encountered an unexpected error installing this package.this may indicate a problem with package.the error code is 2503.
最後發現凡是在win8或win10下安裝msi格式的安裝包時都有可能出現該報錯。

這是系統的許可權問題,解決方式如下:
1、組合鍵win+x,選擇“命令提示符(管理員)”
2、執行命令:msiexec /package "安裝包路徑"