У меня небольшая проблема с моим приложением Cocos2dx, выпущенным для win32.
Выпустив ее и отправив папку с файлом .exe в нее моему коллеге, он не смог запустить программу из-за «отсутствия MSVC110.dll», поэтому я сказал ему, что установка распространяемого Visual C ++ для Visual Studio 2015 сработает, но это не имело место, поскольку отсутствующая ошибка dll все еще показывала даже после установки.
Пытаясь устранить ошибку, мы в итоге вручную вставили отсутствующую dll в папку System32 (которая, казалось, работала, так как каждый раз программа показывала другую отсутствующую ошибку dll).
Мы продолжали этот подход до тех пор, пока не появилась ошибка, касающаяся api-ms-win-crt-runtime-l1-1.0.dll, указывающая не на отсутствующий DLL-файл, а на сам процесс (который, к сожалению, у меня нет подробнее о).
Мы решили вернуться к исходным настройкам и попытаться снова (например, в 2000 году) удалить и переустановить с помощью установщика vc-redist, но после удаления вручную dll, который мы поместили в папку System 32, теперь установщик повторного установки завершается неудачно.
У меня есть журнал установщика здесь:
[1780:0C18][2016-02-15T22:33:50]i001: Burn v3.7.3813.0, Windows v6.0 (Build 6002: Service Pack 2), path: C:\Users\Gabriele\Desktop\vc_redist.x86.exe, cmdline: ''
[1780:0C18][2016-02-15T22:33:50]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\Gabriele\AppData\Local\Temp\dd_vcredist_x86_20160215223350.log'
[1780:0C18][2016-02-15T22:33:50]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\Gabriele\Desktop\vc_redist.x86.exe'
[1780:0C18][2016-02-15T22:33:50]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\Gabriele\Desktop\'
[1780:0C18][2016-02-15T22:33:50]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.23026'
[1780:0C18][2016-02-15T22:33:50]i100: Detect begin, 10 packages
[1780:0C18][2016-02-15T22:33:50]i000: File search: windows_uCRT_DetectKey, did not find path: C:\Windows\system32\api-ms-win-crt-runtime-l1-1-0.dll
[1780:0C18][2016-02-15T22:33:50]i000: File search: windows_uCRT_DetectKeyExists, did not find path: C:\Windows\system32\api-ms-win-crt-runtime-l1-1-0.dll
[1780:0C18][2016-02-15T22:33:50]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 0
[1780:0C18][2016-02-15T22:33:50]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1780:0C18][2016-02-15T22:33:50]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1780:0C18][2016-02-15T22:33:50]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1780:0C18][2016-02-15T22:33:50]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1780:0C18][2016-02-15T22:33:50]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1780:0C18][2016-02-15T22:33:50]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1780:0C18][2016-02-15T22:33:50]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1780:0C18][2016-02-15T22:33:50]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false.
[1780:0C18][2016-02-15T22:33:50]i101: Detected package: vcRuntimeMinimum_x86, state: Absent, cached: None
[1780:0C18][2016-02-15T22:33:50]i101: Detected package: vcRuntimeAdditional_x86, state: Absent, cached: None
[1780:0C18][2016-02-15T22:33:50]i101: Detected package: Windows81_x86, state: Absent, cached: None
[1780:0C18][2016-02-15T22:33:50]i101: Detected package: Windows81_x64, state: Absent, cached: None
[1780:0C18][2016-02-15T22:33:50]i101: Detected package: Windows8_x86, state: Absent, cached: None
[1780:0C18][2016-02-15T22:33:50]i101: Detected package: Windows8_x64, state: Absent, cached: None
[1780:0C18][2016-02-15T22:33:50]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None
[1780:0C18][2016-02-15T22:33:50]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: None
[1780:0C18][2016-02-15T22:33:50]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None
[1780:0C18][2016-02-15T22:33:50]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None
[1780:0C18][2016-02-15T22:33:50]i052: Condition 'VersionNT >= v6.0 OR (VersionNT = v5.1 AND ServicePackLevel >= 2) OR (VersionNT = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
[1780:0C18][2016-02-15T22:33:50]i199: Detect complete, result: 0x0
[1780:0C18][2016-02-15T22:33:53]i200: Plan begin, 10 packages, action: Install
[1780:0C18][2016-02-15T22:33:53]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeMinimum_x86' to value 'C:\Users\Gabriele\AppData\Local\Temp\dd_vcredist_x86_20160215223350_000_vcRuntimeMinimum_x86_rollback.log'
[1780:0C18][2016-02-15T22:33:53]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x86' to value 'C:\Users\Gabriele\AppData\Local\Temp\dd_vcredist_x86_20160215223350_000_vcRuntimeMinimum_x86.log'
[1780:0C18][2016-02-15T22:33:53]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeAdditional_x86' to value 'C:\Users\Gabriele\AppData\Local\Temp\dd_vcredist_x86_20160215223350_001_vcRuntimeAdditional_x86_rollback.log'
[1780:0C18][2016-02-15T22:33:53]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x86' to value 'C:\Users\Gabriele\AppData\Local\Temp\dd_vcredist_x86_20160215223350_001_vcRuntimeAdditional_x86.log'
[1780:0C18][2016-02-15T22:33:53]i052: Condition 'VersionNT = v6.3 AND NOT VersionNT64' evaluates to false.
[1780:0C18][2016-02-15T22:33:53]w321: Skipping dependency registration on package with no dependency providers: Windows81_x86
[1780:0C18][2016-02-15T22:33:53]i052: Condition 'VersionNT = v6.3 AND VersionNT64' evaluates to false.
[1780:0C18][2016-02-15T22:33:53]w321: Skipping dependency registration on package with no dependency providers: Windows81_x64
[1780:0C18][2016-02-15T22:33:53]i052: Condition 'VersionNT = v6.2 AND NOT VersionNT64' evaluates to false.
[1780:0C18][2016-02-15T22:33:53]w321: Skipping dependency registration on package with no dependency providers: Windows8_x86
[1780:0C18][2016-02-15T22:33:53]i052: Condition 'VersionNT = v6.2 AND VersionNT64' evaluates to false.
[1780:0C18][2016-02-15T22:33:53]w321: Skipping dependency registration on package with no dependency providers: Windows8_x64
[1780:0C18][2016-02-15T22:33:53]i052: Condition 'VersionNT = v6.1 AND NOT VersionNT64' evaluates to false.
[1780:0C18][2016-02-15T22:33:53]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x86
[1780:0C18][2016-02-15T22:33:53]i052: Condition 'VersionNT = v6.1 AND VersionNT64' evaluates to false.
[1780:0C18][2016-02-15T22:33:53]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x64
[1780:0C18][2016-02-15T22:33:53]i052: Condition 'VersionNT = v6.0 AND NOT VersionNT64' evaluates to true.
[1780:0C18][2016-02-15T22:33:53]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x86
[1780:0C18][2016-02-15T22:33:53]i052: Condition 'VersionNT = v6.0 AND VersionNT64' evaluates to false.
[1780:0C18][2016-02-15T22:33:53]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x64
[1780:0C18][2016-02-15T22:33:53]i201: Planned package: vcRuntimeMinimum_x86, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[1780:0C18][2016-02-15T22:33:53]i201: Planned package: vcRuntimeAdditional_x86, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[1780:0C18][2016-02-15T22:33:53]i201: Planned package: Windows81_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1780:0C18][2016-02-15T22:33:53]i201: Planned package: Windows81_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1780:0C18][2016-02-15T22:33:53]i201: Planned package: Windows8_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1780:0C18][2016-02-15T22:33:53]i201: Planned package: Windows8_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1780:0C18][2016-02-15T22:33:53]i201: Planned package: Windows7_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1780:0C18][2016-02-15T22:33:53]i201: Planned package: Windows7_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1780:0C18][2016-02-15T22:33:53]i201: Planned package: WindowsVista_MSU_x86, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
[1780:0C18][2016-02-15T22:33:53]i201: Planned package: WindowsVista_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1780:0C18][2016-02-15T22:33:53]i299: Plan complete, result: 0x0
[1780:0C18][2016-02-15T22:33:53]i300: Apply begin
[17EC:100C][2016-02-15T22:33:56]i360: Creating a system restore point.
[17EC:100C][2016-02-15T22:34:02]i361: Created a system restore point.
[17EC:100C][2016-02-15T22:34:02]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{74d0e5db-b326-4dae-a6b2-445b9de1836e}, options: 0x7, disable resume: No
[17EC:100C][2016-02-15T22:34:02]i000: Caching bundle from: 'C:\Users\Gabriele\AppData\Local\Temp\{74d0e5db-b326-4dae-a6b2-445b9de1836e}\.be\VC_redist.x86.exe' to: 'C:\ProgramData\Package Cache\{74d0e5db-b326-4dae-a6b2-445b9de1836e}\VC_redist.x86.exe'
[17EC:100C][2016-02-15T22:34:02]i320: Registering bundle dependency provider: {74d0e5db-b326-4dae-a6b2-445b9de1836e}, version: 14.0.23026.0
[17EC:100C][2016-02-15T22:34:02]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{74d0e5db-b326-4dae-a6b2-445b9de1836e}, resume: Active, restart initiated: No, disable resume: No
[1780:0F24][2016-02-15T22:34:02]i336: Acquiring container: WixAttachedContainer, copy from: C:\Users\Gabriele\Desktop\VC_redist.x86.exe
[1780:0F24][2016-02-15T22:34:02]i000: Setting string variable 'WixBundleLastUsedSource' to value 'C:\Users\Gabriele\Desktop\'
[1780:1014][2016-02-15T22:34:02]e000: Error 0x80004005: Failed to extract all files from container.
[1780:0F24][2016-02-15T22:34:02]e000: Error 0x80004005: Faild to begin and wait for operation.
[1780:0F24][2016-02-15T22:34:02]e000: Error 0x80004005: Failed to extract payload: a8 from container: WixAttachedContainer
[1780:0F24][2016-02-15T22:34:02]e312: Failed to extract payloads from container: WixAttachedContainer to working path: C:\Users\Gabriele\AppData\Local\Temp\{74d0e5db-b326-4dae-a6b2-445b9de1836e}\464C13FB1A3D7C3F43A1BFF37FB3E964051D79ED, error: 0x80004005.
[1780:0C18][2016-02-15T22:34:02]e000: Error 0x80004005: Failed while caching, aborting execution.
[17EC:100C][2016-02-15T22:34:02]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{74d0e5db-b326-4dae-a6b2-445b9de1836e}, resume: None, restart: None, disable resume: No
[17EC:100C][2016-02-15T22:34:02]i330: Removed bundle dependency provider: {74d0e5db-b326-4dae-a6b2-445b9de1836e}
[17EC:100C][2016-02-15T22:34:02]i352: Removing cached bundle: {74d0e5db-b326-4dae-a6b2-445b9de1836e}, from path: C:\ProgramData\Package Cache\{74d0e5db-b326-4dae-a6b2-445b9de1836e}\
[17EC:100C][2016-02-15T22:34:02]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{74d0e5db-b326-4dae-a6b2-445b9de1836e}, resume: None, restart initiated: No, disable resume: No
[1780:0C18][2016-02-15T22:34:02]i399: Apply complete, result: 0x80004005, restart: None, ba requested restart: No
Так что теперь мы просто хотим, чтобы установщик работал снова и, возможно, также решил, почему приложение выдает отсутствующую ошибку .dll даже после установки правильных распространяемых файлов.
Ps.
Программа запускается без проблем на моем ПК и на других ПК после установки redist для Visual Studio. Единственное отличие в моем компьютере-коллеге, который начал испытание, заключается в том, что он работает на x86, в отличие от всех других компьютеров, на которых приложение работает правильно.
Надеюсь, кто-то может помочь и простить!
Задача ещё не решена.
Других решений пока нет …