The installer has encountered an unexpected errorinstalling this package. This may indicate a proble

foreword

Scala installed in win10 environment reports an error:

The installer has encountered an unexpected errorinstalling this package. This may indicate a problem withthis package. The error code is 2503.


error message

We usually
encounter some errors when installing some msi type software (for example: SVN, GIT, Mysql, Scala) as follows:

Scala

problem analysis

The reason for the error is that the disk number was messed up after updating the windows system or reinstalling WIN10. After installing TorttoiseGit first, the disk number was changed, which made the previous one unusable, and then deleted the previous TortoiseGit. There is no way to delete it directly, because the installation location cannot be found after the drive letter is changed
.

solution

Enter the cmd window administrator – "Enter msiexec /package + the absolute path where the installer is located,

如 : msiexec /package E:\scala\scala-2.13.10.msi

cmd

Execute the statement directly, and then it will jump out of the installation interface, just install it normally! ! !

implement

注:The installed file package needs to be placed in the specified directory.


Summarize

If this article is helpful to you, I hope that the big guys can 关注, 点赞, 收藏, 评论support a wave, thank you very much!
Please correct me if I am wrong!!!

Reference 1

Guess you like

Origin blog.csdn.net/weixin_42326851/article/details/130283456