Install msi software (such as nodejs. msi, Git. msi, python. msi, T ortoiseSVN. msi) when the teacher encountered a 2503 or 2502 error, the reason is the system Permission problem.
Solution:
1.
Press win + x and select "command prompt (administrator) (A)" from the menu.
Alternatively, right-click the win logo of ghost and choose "command prompt (administrator) (A)" from the menu.
2.
In the command prompt window, enter "msiexec/package" full path of the installation file ";
Here we will talk about the location of the installation file, rather than the location where it is to be installed. Please pay attention to this problem; otherwise, the file cannot be found.
You can also run the cd command to enter the Directory of the installation file and then run the msiexec command.
3.
If there is a space in the path of the installation file, you must use (") in English. In fact, it is best to always use quotation marks in the installation path. For example, my installation file "E: \ softwareunion \ development software" under the "TortoiseSVN-1.8.5.25224-x64-svn-1.8.8.msi", then, my command is like this:
Msiexec/package "E: \ softwareunion \ developer software \ TortoiseSVN-1.8.5.25224-x64-svn-1.8.8.msi"
Just press enter ....
4.
Now you can proceed to the next step!
PS: This method is only a temporary method. It is only applicable to the current installation file. To install the msi file later, you must perform this operation again!