When installing the msi program in Win10, the following error solutions are reported: 2503 and 2502. win102503 and

Source: Internet
Author: User

When installing the msi program in Win10, the following error solutions are reported: 2503 and 2502. win102503 and

After upgrading the system to win10, we re-built the development environment and reported errors 2503 and 2502 during scala installation,

 

I tried several methods to solve this problem. Now I want to list the three methods used in sequence:

1. Start the command prompt (Administrator)

Note: D: \ scala-2.11.8.ms with your installation path can be

Ii. Permanent Elevation of Privilege

First, configure the computer, select Local Group Policy Editor> Computer Configuration> management template> Windows Components> Windows Installer> always install with elevated permissions. Select enabled, click application.

 

Second, perform the following operations on user configuration and Computer Configuration:

Local Group Policy Editor --> User Configuration --> management template -- Windows Components --> Windows Installer --> always install with elevated permissions -- select Enabled, and click Application

III. C: \ Windows \ Temp folder NTFS permission

Go to C: \ Windows, find Temp, right-click Properties

 

Edit the current user permission, select "full control" and "modify", and click "Apply ".

 

In this way, the configuration has been completed.

4. Why is there another 4? Isn't there three methods?

I tried the first, second, and third methods in sequence. After trying the third method, I found that I was able to install it. I no longer reported the 2503 error. However, I found that no matter how I set the installation path, it installs it to the default path, that is, C: \ Program Files (x86) \ scala, however, scala installation paths cannot contain spaces, (), and other symbols. Therefore, scala cannot be used. At this time, we can review whether you have used the second method. When setting the elevation permission, do you want to set it to enabled?

 

In this case, you need to enable it and change it back to unset.

 

From the above three methods, we can know that the permission is actually because of the permission issue. Therefore, no matter how we perform the operation, we only need to improve the permission, but we didn't mention it.

The above three methods are described. There should be almost one solution to this problem, but they are not absolute. The problems vary from person to person.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.