Search code examples
windows-10windows-installer

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


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:

enter image description here

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


Solution

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

    Here are some generic setup.exe debugging suggestions:

    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