为什么任何 MSI(Windows 安装程序)安装程序都不起作用?

MDT*_*MAN 7 windows windows-installer installation windows-8.1

很长一段时间以来,我一直无法安装任何以任何方式使用 Windows Installer(又名msiexec)的应用程序,这是大多数应用程序。我不是在谈论一些没有安装的随机特定程序,它是任何程序。

所有安装人员都这样说:

安装向导提前结束

我现在使用的是:http : //download.microsoft.com/download/C/F/F/CFF3A0B8-99D4-41A2-AE1A-496C08BEB904/WebPlatformInstaller_amd64_en-US.msi

可以看到,是微软官方下载的,所以包不是问题。

另外,使用我运行的这个超级用户帖子msiexec.exe /I "WebPlatformInstaller_amd64_en-US.msi" /QN /L*V! "C:\msilog.log",我得到了这个日志:

=== Verbose logging started: 3/28/2015  20:46:26  Build type: SHIP UNICODE 5.00.9600.00  Calling process: C:\WINDOWS\system32\msiexec.exe ===
MSI (c) (0C:C4) [20:46:26:944]: Resetting cached policy values
MSI (c) (0C:C4) [20:46:26:994]: Machine policy value 'Debug' is 7
MSI (c) (0C:C4) [20:46:27:034]: ******* RunEngine:
           ******* Product: WebPlatformInstaller_amd64_en-US.msi
           ******* Action: 
           ******* CommandLine:  
MSI (c) (0C:C4) [20:46:27:062]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (0C:C4) [20:46:27:086]: Grabbed execution mutex.
MSI (c) (0C:C4) [20:46:27:137]: Cloaking enabled.
MSI (c) (0C:C4) [20:46:27:166]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (0C:C4) [20:46:27:194]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (B8:30) [20:46:27:222]: Running installation inside multi-package transaction C:\Users\Maxwell\Downloads\WebPlatformInstaller_amd64_en-US.msi
MSI (s) (B8:30) [20:46:27:243]: Grabbed execution mutex.
MSI (s) (B8:7C) [20:46:27:270]: MainEngineThread is returning 1603
MSI (s) (B8:30) [20:46:27:295]: User policy value 'DisableRollback' is 0
MSI (s) (B8:30) [20:46:27:318]: Machine policy value 'DisableRollback' is 0
MSI (s) (B8:30) [20:46:27:345]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (B8:30) [20:46:27:369]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (s) (B8:30) [20:46:27:395]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (s) (B8:30) [20:46:27:419]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (0C:C4) [20:46:27:446]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (0C:C4) [20:46:27:470]: MainEngineThread is returning 1603
=== Verbose logging stopped: 3/28/2015  20:46:27 ===
Run Code Online (Sandbox Code Playgroud)

有没有人知道为什么会发生这种情况,最重要的是,如何解决它。

系统信息:
操作系统:Windows 8.1
架构:x64

我没有任何实际的防病毒软件。只是默认的 Windows Defender 或他们现在称之为的任何东西。

编辑:当我使用 Process Explorer 分析 msiexec.exe 时,我发现它试图访问一个不存在的注册表项:(点击放大) 进程浏览器

小智 2

  1. 尝试 msicuu(Windows Installer CleanUp Utility)来删除损坏的 MSI 安装尝试
  2. 进入 services.msc 并确保 Windows Installer 服务设置为“手动”运行。如果正在运行,请停止。或者使用 sc.exe 命令来停止它。
  3. 尝试使用 /qb 代替 /QN!查看进度,或者只是交互运行 .msi 包。它可能会显示更多细节。尝试一些不太复杂的东西,比如 7-zip。
  4. 检查 Windows 事件日志(应用程序和系统日志)并搜索故障日期/时间附近的事件。

我希望这有帮助。