.exe and .msi installers does not runs on Windows 10 OS

假如想象 提交于 2020-12-04 08:22:29

问题


I was trying to install Node.js node-v14.15.1-x64 on PC with Windows 10 Pro 64-bit OS, but then I found that the problem appears with any .exe and .msi

If I'm trying to run installer with/without administrator, I got only endless blue loading circle icon on my screen without any error report or process in Task manager:

Hanged icon with cursor arrow does not disappears, even if I will wait for a hour, to stop it, I've to restart computer

I've followed Stein Åsmul answer, which I'm forced keep unmarked, because it seems like nothing helps yet:

  1. I've re-download installation media but now I see that this happens happens to all installers.

  2. I've tried turn off Windows Defender Firewall and Security Antivirus.

  3. with C:\WINDOWS\system32>sfc /scannow Windows Resource Protection did not find any integrity violations.

  4. HKEY_CLASSES_ROOT/.exe value is exefile, and exefile folder value is Application, I have tried to change it with "%1"%*

  5. in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion in ProgrmFilesDir value is C:\Program Files and in ProgramFiles Dir (x86) is C:\Program Files (x86)

  6. With attempt to C:\WINDOWS\system32>assoc .exe=exefile something also went wrong here, because OS freeze, and I was forced to reboot

  7. C:\WINDOWS\system32>msiexec.exe /i :\Users\User\Desktop\New folder (1)\pycharm-community-2020.2.3.exe /L*v C:\Your.log opens Windows Installers, which describes Display, Install, Restart and Logging Options, but I'm not sure, how to use it, to find out with this issue

Solution:

After removing AVScanner.ini form C:\ directory problem disappeared and installation works fine

Also I have to note, that I will mark answer by Stein Åsmul because I found it useful in similar possible situation, even if it was not solution in this particular case

Any advice, guide or example would be helpful


回答1:


Overall: Do you have a screenshot? That almost sounds like a Windows Smartscreen issue?

Here are some generic setup.exe debugging suggestions:

  • Shortened setup.exe problem list
  • Long setup.exe problem list.

Specific Suggestions: 1) Re-download the installation media first of all. 2) Then reboot and disable anti-virus scanners and try to install. 3) You should also enable logging and look at the log for clues. 4) Try to install as a different admin users. 5) Finally test on a virtual or another machine to verify the integrity of the setup file.

Quick Logging:

msiexec.exe /i C:\Path\Your.msi /L*v C:\Your.log

  • General WiX and setup links (section: "Generic Tricks? - Consumer issues")
  • Smartscreen issues
  • Node.js - Cannot Install it is showing an error because of .msi


来源:https://stackoverflow.com/questions/64961305/exe-and-msi-installers-does-not-runs-on-windows-10-os

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!