In8 win10 installation msi prompts 2502, 2503 error codes

Foreword:
In the final analysis, it is caused by insufficient permissions. Win7 should not have this problem.
 
The problem occurs:
I changed a computer, installed a win10 preview version to play, and found that the python msi installation file could not be installed. The error code is 2502.
 
In fact, I have encountered it when I installed mysql on win8. It was solved at that time, but the method was invalid on win10. I just wanted to cry... Fortunately, I still found a solution.
 
Solution:
Method 1: Temporary installation method
1. Move the mouse to the lower left corner of the desktop -> right click (or directly:  WIN+X key), command prompt (administrator);
2. Input: msiexec /package +'msi file path' (pay attention to the half-width characters and The path cannot be Chinese name)
For example:
C:\Windows\system32> msiexec /package  G:\tool\TortoiseSVN-x64-1.8.9.msi
C:\Windows\system32> msiexec /package  G:\software\python\python -3.4.3.msi
C:\Windows\system32> msiexec /package  G:\software\python\python-2.7.10.msi

Method 2: Permanent Privilege Escalation Method
1. Press WIN+R , enter " gpedit.msc " in the run box to confirm; 2. Open the local policy group editor and expand: " Computer Configuration " - "Administrative Templates" - "Windows Components" - "" windows installer", and find "Always install with elevated privileges"; 3. Double-click the option, set it to " Enabled ", and apply it; 4. Finally, we have to do the same in [User Configuration] ; 5 . , you can install it.



 
Method 3: Hybrid Method
In the win10 preview version, I first used method 1, which was invalid; then I used method 2, which was still invalid.
In the end, it was found that the method 2 was carried out first, and then the method 1 was carried out.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326926748&siteId=291194637