1. 程式人生 > >win10或win8下安裝msi格式安裝包報錯(error code is 2502/2503)

win10或win8下安裝msi格式安裝包報錯(error code is 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 "安裝包路徑"