Симптомы
При построении программы с помощью Microsoft Visual C++ 2013 программа завершает работу и появляется исключение «Недопустимая инструкция». Это происходит потому, что некоторые функции библиотеки math с плавающей запятой в среде Visual C++ 2013 x64 C выполнения с (CRT) неправильно проверяет доступны ли определенные инструкции AVX и FMA3, прежде чем пытаться использовать их функции. Если инструкции не доступны для использования, вызовов этих функций вызывает исключение недопустимую инструкцию (0xc000001d). Затронутые функции включают журнал, log10 и pow и другие.
Данная проблема чаще всего возникает в следующих случаях:
-
В старой версии операционной системы Windows, не поддерживает AVX состояния сохранение (например, Windows Vista) Если используется на компьютере, который поддерживает набор инструкций AVX
-
Если сохранение состояния AVX явно отключен в конфигурации загрузки операционной системы
-
В среде предварительной установки Windows (Windows PE)
Примечание. Windows PE не поддерживает сохранение состояния AVX.
Эта проблема уже зарегистрирована на Microsoft Connect:
Причина
Эта проблема возникает, поскольку среда выполнения Visual C++ 2013 x64 C не проверяет, поддерживает ли операционная система AVX сохранение состояния, прежде чем попытается выполнить инструкции AVX или FMA3.
Решение
Если все уязвимые двоичные файлы C++, построенные с помощью Visual C++ 2013 используется Библиотека времени выполнения C (msvcr120.dll), установите обновленные Microsoft 2013 распространяемый пакет Visual C++ — 12.0.40660.0 или более поздней версии.
Если уязвимые двоичных файлов C++ статически связать 2013 C времени выполнения Visual C++, необходимо обновить установленную копию Visual Studio 2013 путем установки исправления 3174417 и перестройки и повторного развертывания уязвимые двоичные файлы.
Примечание. Эта проблема не влияет на более старых версий C времени выполнения Visual C++ (Visual C++ 2012 и более ранних версиях). Проблема была устранена до первоначального выпуска универсальной CRT, используемый Visual C++ 2015.
Центр загрузки Майкрософт
Чтобы обновить статически скомпонованной 2013 C времени выполнения Visual C++, 3174417 исправление выпущено как доступные только для загрузки обновления и не распространяться через Центр обновления Windows. Он доступен на веб-узел центра загрузки корпорации Майкрософт:
Загрузите пакет.
Для обновления динамически связанные 2013 C во время выполнения библиотеки DLL Visual C++, обновленный распространяемый пакет доступен. Для получения дополнительных сведений обратитесь к следующей статье Microsoft Knowledge Base:
3179560 обновление для распространяемого пакета Visual C++ и Visual C++ 2013
Временное решение
Чтобы обойти эту проблему, отключите FMA3 математические библиотеки, если подвержены этой проблеме. Можно выполнить запрос, поддерживает ли система инструкции AVX путем вызова GetEnabledXStateFeatures и отключение AVX в CRT явным образом путем вызова _set_FMA3_enable(0).
Дополнительные сведения см. на веб-сайте MSDN Работа с контекстом XState.
Функция _set_FMA3_enable(0) объявлен в файла < math.h >, и он доступен только при построении для x64. (Эта проблема затрагивает только x64 библиотеки.) В этом случае математическая библиотека, чтобы возвратиться к использованию реализаций не FMA3.
Нужна дополнительная помощь?
Нужны дополнительные параметры?
Изучите преимущества подписки, просмотрите учебные курсы, узнайте, как защитить свое устройство и т. д.
В сообществах можно задавать вопросы и отвечать на них, отправлять отзывы и консультироваться с экспертами разных профилей.
The 0x80240017 Unspecified Error occurs when users try to install Visual C++ Redistributable Package for Visual Studio 2013 or 2015. The Error seems to occur on all versions of Windows and in most cases can be fixed easily by replacing some missing files and DLLs. In this article, we have listed a detailed guide for completely fixing the issue using some easy to follow solutions.
Why is 0x80240017 Unspecified Error Triggered in the First Place?
It is possible that most users have been encountering this error due to the following common reasons.
- Missing DLLs: It is possible in some cases that some DLL files from your computer are missing due to which the error has popped up while trying to install Visual C++ redistributable. Therefore, we suggest that you follow the solutions below to install these files on your computer.
- Outdated Windows: Some users have complained that their Windows was outdated due to which the issue was being triggered on their computer and as soon as they applied the update, the issue went away.
- Installation Glitch: It is possible that the installation has been glitched and you cannot proceed with installing the software from the package. Therefore, you can try alternate ways of installing the Visual C++ redistributable to fix the issue as we have mentioned below.
Now that we have made you aware of some of the common reasons behind its occurrence, we can finally start implementing the solutions.
Fixing the 0x80240017 Error:
Method 1: Download Visual C++ Package Again
- Download the Visual C++ Redistributable Package from the official Microsoft Website.
- Select the appropriate architecture of the package and click on the download option.
Downloading Proper Visual Studio C++ Software from Microsoft Website - After that, run the downloaded “.exe” file and follow the on-screen instructions to install it on your computer.
- Check to see if doing so fixes the issue while installing Visual C++.
Method 2: Install Service Pack 1 for Windows 7
- Download the Windows 7 Service Pack 1 from the Microsoft Website.
- Make sure to download the ISO file from their website and wait for the download to complete.
- After downloading the ISO, download the WinCDEMU tool on your computer and run it after installation.
- Now, run the tool and point it towards the download directory where the Service Pack 1 ISO has been downloaded.
- After this, right-click on the ISO file and select the “Select Drive Letter and Mount”.
- Now, select the USB drive letter that you want to make bootable and select “OK”.
- Now, restart your computer and boot from this USB.
- Proceed with the on-screen installation steps to install Service Pack 1 on your computer and check to see if the issue is fixed.
Method 3: Install Universal C Runtime Update
- Using this link, navigate to the Microsoft Website and scroll down to the second method.
- From there, select the appropriate download according to your device and click on the “Download the Package” now button.
Download the Package Now - After downloading the package on your computer, make sure to run its executable to install it.
- Now, check to see if the issue is fixed.
Method 4: Check for Windows Update
- Press “Windows + I” to launch into settings, click on the “Update & Security” option and select the “Check for Updates” button from the right side.
Check for updates - Wait for the checking process to be finished and click on the “Download and Install” button if the updates are available and for them to be installed on your computer.
- Try to install Microsoft Visual C++ Redistributable after this and check to see if the 0x80240017 unspecified error is fixed.
Method 5: Remove Previous Visual C++ Redistributable Packages
- Press “Windows + R” to launch RUN, type in “Appwiz.cpl” and press “Enter” to launch into the application wizard.
Typing in “Appwiz.cpl” and pressing “Enter” - From here, scroll down on the right side and right-click on any Microsoft Visual C++ installations that you find.
- Select the “Uninstall” button and follow through with the on-screen instructions to completely remove them from your computer.
- Check to see if you are able to install the Microsoft Visual C++ redistributable after removing the older versions from your computer.
Method 6: Install Older Python Version
If the error is being triggered while trying to install a Python distribution, we recommend that you try to install an older version and check to see if the issue is fixed. This is because the older versions, especially the Python Version 3.4.3 is more stable than the newer ones and it might fix the 0x80240017 error while installing the Python distribution.
Method 7: Updating GPU Drivers
- Some GPU driver updates also install the latest version of the Visual C++ updates with them therefore, you can try to install the GPU driver updates and counter this issue along with it.
- Press “Windows + R” to launch into Run, type in “devmgmt.msc” and press “Enter” to launch into the device management window.
Typing devmgmt.msc in the Run prompt - From here, make sure to expand the “Display Adapters” option and right-click on your GPU driver.
- Select the “Update Driver” option and then click on the “Search Automatically for Updated Driver Software” button.
- Alternatively, you can also check for GPU updates on your relevant GPU Support application such as GeForce Experience or AMD Catalyst.
Method 8: Install Visual C++ in Safe Mode
Some programs and services are prevented from running in the safe mode. Therefore, if the service was interfering with the installation of the Visual C++ software, it will no longer do that.
- Press “Windows + R” to launch the RUN prompt, type in “msconfig” and press “Enter” to launch into the ms configuration panel.
Typing in “Msconfig” - After doing that, click on the “General” tab from above and ensure that you check the “Selective Startup” option.
- From there, ensure that only the “Load System Services” option is selected and that the rest aren’t selected.
- Now, Select the “Services” option and check the “Hide all Microsoft Services” option. After that, click on the “Disable All” button.
Hide All Microsoft Services - Select “Apply” to save your changes and restart your computer.
- In this mode, try to install the Visual C++ software and check to see if you still get the 0x80240017 unspecified error while doing so.
- After the installation, restart your computer after undoing the changes from the ms config panel.
Method 9: Correcting Date and Time Settings
- Press “Windows + I” to launch into the settings, click on the “Time & Language” option and from the left side, click on the “Date & Time” button.
- On the right, make sure that the “Set Time Automatically” toggle is turned on and that the time is set properly.
Set time zone automatically - If the toggle is on but the time isn’t proper, turn the toggle off.
- After that, click on the “Set Now” button under the “Set Date and Time Manually” heading.
- Set the proper time and check to see if you are able to fix the 0x80240017 error while Visual C++ installation.
Method 10: Performing Repair Installation
- If the issue is still occurring while installing the Visual C++ software, you can download the Windows Media Creation Tool on your computer.
- Now, Run the tool and select the “Repair this Computer” option when prompted.
- Follow the on-screen instructions to completely repair the Windows installation on your computer and check to see if the 0x80240017 error is fixed.
Fixing the 0x80240017 Windows Failed to Execute MSU package:
Fix 1: Running the DISM and SFC Scan
- Press “Windows + R” to launch Run, type in “cmd” and press “Shift + CTRL + Enter” to launch with admin permissions.
Typing in cmd - From there, type in the following commands and press “Enter” after each to execute them on your computer.
DISM.exe/Online/Cleanup-image/Scanhealth DISM.exe/Online/Cleanup-image/Restorehealth sfc/ scannow
- After the commands have been run, make sure to check if the MSU package can be executed normally now.
Fix 2: Run Windows Update Troubleshooter
- Press “Windows + I” to launch into the settings, click on the “Update and Security” option and from the left side, click on the “Troubleshoot” button.
Clicking on Additional Troubleshooters - On the right, click on the “Additional Troubleshooters” option and select the “Windows Update” button after that.
- Click on the “Start the Troubleshooter” button that drops down and wait for the process to be completed.
Fix 3: Reset Microsoft Store App
- Press “Windows + R” to launch into Run, type in “WSReset.exe” and press “Enter”.
wsreset.exe - Wait for the new window to execute and complete this process and it will close automatically.
- After the window has been closed, check to see if the 0x80240017 Windows Failed to Execute MSU package error has been fixed.
Fix 4: Configure Windows Installer Service to Manual
- Press “Windows + R” to launch into the Run prompt, type in “services.msc” and press “Enter” to launch into the service management window.
Typing in “services.msc” - From there, right-click on the “Windows Installer Service” and select the “Properties” option.
- From the “General” tab, click on the “Startup Type” dropdown and select the “Manual” option.
- Now, click on “OK” to save your changes, restart your computer and check to see if the 0x80240017 Windows Failed to Execute MSU package error has been fixed.
Fix 5: Removing Temporary Files
- Press “Windows + R” to launch the Run prompt, type in “%temp%” and press “Enter” to launch into the temporary files folder.
Typing in “%temp%” - Inside here, press “CTRL + A” to select all the files and then press “Shift + Delete” to remove the files from your computer.
- After doing this, make sure to try again and check to see if the 0x80240017 Windows Failed to Execute MSU package error has been fixed
Fix 6: Register Windows Installer Server Again
- Press “Windows + R” to launch the Run prompt, type in “cmd” and press “Shift + CTRL + Enter” to launch with admin permissions.
- Type in the following commands one by one and press “enter” to execute them.
msiexec /unregister msiexec /regserver
- After executing the commands, check to see if the issue has been fixed.
Fix 7: Install Windows 8 Package (Windows 8 Users Only)
- On your computer, navigate to the following address.
C:ProgramDataPackage Cache
- Here, follow the path that is similar to the one below. (The long code and the Windows 8.1 KBXXX patch can be different).
FC6260C33678BB17FB8B88536C476B4015B7C5E9packagesPatchx64Windows8.1-KB2999226-x64.msu
- Copy the complete path from the navigation bar in the File Explorer and press “Windows + R” to launch the Run prompt.
- Inside the Run prompt, type in “cmd” and press “Shift + CTRL + Enter” to launch with admin permissions.
- Inside the Command prompt, type in the following commands one by one and press “Enter” after each to execute them.
C: mkdir tmp mkdir tmptmp move C:ProgramDataPackage CacheFC6260C33678BB17FB8B88536C476B4015B7C5E9packagesPatchx64Windows8.1-KB2999226-x64.msu c:tmp expand -F:* c:tmpWindows8.1-KB2999226-x64.msu c:tmptmp dism /online /add-package /packagepath:c:tmptmpWindows8.1-KB2999226-x64.cab
- Make sure that while typing these commands, you replace the long code and the Windows 8.1 KB patch name with the one that you have on your computer.
- After executing all the commands, restart your computer and check to see if the issue is fixed.
Fix 8: Disable Antivirus Temporarily
- Press “Windows + I” to launch into the settings, click on the “Update & Security” option and select the “Windows Security” button from the left side.
- After this, click on the “Virus & Threat Protection” option from the right side and click on the “Manage Settings” button under the “Virus & Threat Protection” button.
- Now, from here, make sure to disable the toggle under the “Real-Time Protection” option.
Disable real-Time Protection - Now that the Real-Time protection has been disabled, install the app and check to see if the 0x80240017 unspecified error has been fixed.
Fix 9: Reset Windows Update Components
- Press “Windows + R” to launch the Run prompt, type in “cmd” and press “Shift + CTRL + Enter” to launch with admin permissions.
- After that, execute the following commands one by one and to completely reset the Windows Update components.
net stop wuauserv net stop cryptSvc net stop bits net stop msiserver ren C:WindowsSoftwareDistribution SoftwareDistribution.old ren C:WindowsSystem32catroot2 Catroot2.old net start wuauserv net start cryptSvc net start bits net start msiserver
- After having executed all of these commands, restart your computer, try to install the software and check to see if the 0x80240017 Windows Failed to Execute MSU package error is fixed.
Fix 10: Use Activated Windows
This issue can sometimes plague your computer if the Windows installation hasn’t been fully activated. This is because an activated version of Windows is required in order to be able to install and use some Microsoft services. Therefore, we suggest that you try to activate your Windows installation.
If the above fixes weren’t able to fix your issue, contact us for further troubleshooting.
Alan is a hardcore tech enthusiast that lives and breathes tech. When he is not indulged in playing the latest video games, he helps users with technical problems that they might run into. Alan is a Computer Science Graduate with a Masters in Data Science.
Hello!
I really hope someone here can help me, I’ve had this problem for months now, and it’s really driving me crazy!
For some reason, C++ Redistributable 2013 is no longer installed on my computer, I have no idea why this is because I didn’t delete it. — The problem is, that I can’t install it. Everytime I try install it, I get this message:
One or more issues caused the setup to fail. Please fix the issues and then retry setup.
For more information see the lig file.
And everytime I try install a new game that requires this software, I get this message:
c++ redistributable 2013 The feature you are trying to use is on a CD-ROM or other removable disk that is not available.
Insert the «Microsoft Visual C++ 2013 x64 Minimum Runtime — 12.0.21005 disk and click OK.
I have tried many different things from many different forums from people having similar issues… Nothing has helped. Today I tried something called «Visual Studio Community 2013″… When installing, this one just gets stuck at «Applying: Microsoft
Visual C++ 2013 x64 Minimum Runtime — 12.0.21005» (figures!)
Today I finaly pulled myself together and installed windows 10 on my computer, hoping this would sove the issue… but it didn’t.
I really need help with this guys… I can’t install ANY new games, I can only play the game that are already installed because of this
Here’s the log:
[3A88:03A0][2015-11-19T14:51:38]i001: Burn v3.7.2829.0, Windows v6.3 (Build 9600: Service Pack 0), path: C:UsersKjerDownloadsvcredist_x64.exe, cmdline: »
[3A88:03A0][2015-11-19T14:51:38]i000: Setting string variable ‘WixBundleLog’ to value ‘C:UsersKjerAppDataLocalTempdd_vcredist_amd64_20151119145138.log’
[3A88:03A0][2015-11-19T14:51:38]i000: Setting string variable ‘WixBundleOriginalSource’ to value ‘C:UsersKjerDownloadsvcredist_x64.exe’
[3A88:03A0][2015-11-19T14:51:38]i000: Setting string variable ‘WixBundleName’ to value ‘Microsoft Visual C++ 2013 Redistributable (x64) — 12.0.30501’
[3A88:03A0][2015-11-19T14:51:38]i100: Detect begin, 2 packages
[3A88:03A0][2015-11-19T14:51:38]i102: Detected related bundle: {f65db027-aff3-4070-886a-0d87064aabb1}, type: Upgrade, scope: PerMachine, version: 12.0.30501.0, operation: None
[3A88:03A0][2015-11-19T14:51:38]i101: Detected package: vcRuntimeMinimum_x64, state: Absent, cached: Complete
[3A88:03A0][2015-11-19T14:51:38]i101: Detected package: vcRuntimeAdditional_x64, state: Absent, cached: Complete
[3A88:03A0][2015-11-19T14:51:38]i052: Condition ‘VersionNT64 >= v6.0 OR (VersionNT64 = v5.2 AND ServicePackLevel >= 1)’ evaluates to true.
[3A88:03A0][2015-11-19T14:51:38]i199: Detect complete, result: 0x0
[3A88:03A0][2015-11-19T14:51:41]i200: Plan begin, 2 packages, action: Install
[3A88:03A0][2015-11-19T14:51:41]i052: Condition ‘VersionNT64’ evaluates to true.
[3A88:03A0][2015-11-19T14:51:41]i000: Setting string variable ‘WixBundleRollbackLog_vcRuntimeMinimum_x64’ to value ‘C:UsersKjerAppDataLocalTempdd_vcredist_amd64_20151119145138_0_vcRuntimeMinimum_x64_rollback.log’
[3A88:03A0][2015-11-19T14:51:41]i000: Setting string variable ‘WixBundleLog_vcRuntimeMinimum_x64’ to value ‘C:UsersKjerAppDataLocalTempdd_vcredist_amd64_20151119145138_0_vcRuntimeMinimum_x64.log’
[3A88:03A0][2015-11-19T14:51:41]i052: Condition ‘VersionNT64’ evaluates to true.
[3A88:03A0][2015-11-19T14:51:41]i000: Setting string variable ‘WixBundleRollbackLog_vcRuntimeAdditional_x64’ to value ‘C:UsersKjerAppDataLocalTempdd_vcredist_amd64_20151119145138_1_vcRuntimeAdditional_x64_rollback.log’
[3A88:03A0][2015-11-19T14:51:41]i000: Setting string variable ‘WixBundleLog_vcRuntimeAdditional_x64’ to value ‘C:UsersKjerAppDataLocalTempdd_vcredist_amd64_20151119145138_1_vcRuntimeAdditional_x64.log’
[3A88:03A0][2015-11-19T14:51:41]i201: Planned package: vcRuntimeMinimum_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
[3A88:03A0][2015-11-19T14:51:41]i201: Planned package: vcRuntimeAdditional_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: Register
[3A88:03A0][2015-11-19T14:51:41]i207: Planned related bundle: {f65db027-aff3-4070-886a-0d87064aabb1}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None
[3A88:03A0][2015-11-19T14:51:41]i299: Plan complete, result: 0x0
[3A88:03A0][2015-11-19T14:51:41]i300: Apply begin
[1D80:236C][2015-11-19T14:51:43]i360: Creating a system restore point.
[1D80:236C][2015-11-19T14:51:43]i361: Created a system restore point.
[1D80:236C][2015-11-19T14:51:43]i370: Session begin, registration key: SOFTWAREMicrosoftWindowsCurrentVersionUninstall{050d4fc8-5d48-4b8f-8972-47c82c46020f}, options: 0x7, disable resume: No
[1D80:236C][2015-11-19T14:51:43]i000: Caching bundle from: ‘C:UsersKjerAppDataLocalTemp{050d4fc8-5d48-4b8f-8972-47c82c46020f}.bevcredist_x64.exe’ to: ‘C:ProgramDataPackage Cache{050d4fc8-5d48-4b8f-8972-47c82c46020f}vcredist_x64.exe’
[1D80:236C][2015-11-19T14:51:43]i320: Registering bundle dependency provider: {050d4fc8-5d48-4b8f-8972-47c82c46020f}, version: 12.0.30501.0
[1D80:236C][2015-11-19T14:51:43]i371: Updating session, registration key: SOFTWAREMicrosoftWindowsCurrentVersionUninstall{050d4fc8-5d48-4b8f-8972-47c82c46020f}, resume: Active, restart initiated: No, disable resume: No
[1D80:2B24][2015-11-19T14:51:43]i304: Verified existing payload: vcRuntimeMinimum_x64 at path: C:ProgramDataPackage Cache{A749D8E6-B613-3BE3-8F5F-045C84EBA29B}v12.0.21005packagesvcRuntimeMinimum_amd64vc_runtimeMinimum_x64.msi.
[1D80:2B24][2015-11-19T14:51:44]i304: Verified existing payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:ProgramDataPackage Cache{A749D8E6-B613-3BE3-8F5F-045C84EBA29B}v12.0.21005packagesvcRuntimeMinimum_amd64cab1.cab.
[1D80:2B24][2015-11-19T14:51:44]i304: Verified existing payload: vcRuntimeAdditional_x64 at path: C:ProgramDataPackage Cache{929FBD26-9020-399B-9A7A-751D61F0B942}v12.0.21005packagesvcRuntimeAdditional_amd64vc_runtimeAdditional_x64.msi.
[1D80:2B24][2015-11-19T14:51:44]i304: Verified existing payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:ProgramDataPackage Cache{929FBD26-9020-399B-9A7A-751D61F0B942}v12.0.21005packagesvcRuntimeAdditional_amd64cab1.cab.
[1D80:236C][2015-11-19T14:51:44]i301: Applying execute package: vcRuntimeMinimum_x64, action: Install, path: C:ProgramDataPackage Cache{A749D8E6-B613-3BE3-8F5F-045C84EBA29B}v12.0.21005packagesvcRuntimeMinimum_amd64vc_runtimeMinimum_x64.msi, arguments:
‘ MSIFASTINSTALL=»7″ NOVSUI=»1″‘
[1D80:236C][2015-11-19T14:51:47]e000: Error 0x80070652: Failed to install MSI package.
[1D80:236C][2015-11-19T14:51:47]e000: Error 0x80070652: Failed to execute MSI package.
[3A88:03A0][2015-11-19T14:51:47]e000: Error 0x80070652: Failed to configure per-machine MSI package.
[3A88:03A0][2015-11-19T14:51:47]w348: Application requested retry of package: vcRuntimeMinimum_x64, encountered error: 0x80070652. Retrying…
[1D80:236C][2015-11-19T14:51:50]i301: Applying execute package: vcRuntimeMinimum_x64, action: Install, path: C:ProgramDataPackage Cache{A749D8E6-B613-3BE3-8F5F-045C84EBA29B}v12.0.21005packagesvcRuntimeMinimum_amd64vc_runtimeMinimum_x64.msi, arguments:
‘ MSIFASTINSTALL=»7″ NOVSUI=»1″‘
[1D80:236C][2015-11-19T14:51:53]e000: Error 0x80070652: Failed to install MSI package.
[1D80:236C][2015-11-19T14:51:53]e000: Error 0x80070652: Failed to execute MSI package.
[3A88:03A0][2015-11-19T14:51:53]e000: Error 0x80070652: Failed to configure per-machine MSI package.
[3A88:03A0][2015-11-19T14:51:53]w348: Application requested retry of package: vcRuntimeMinimum_x64, encountered error: 0x80070652. Retrying…
[1D80:236C][2015-11-19T14:51:56]i301: Applying execute package: vcRuntimeMinimum_x64, action: Install, path: C:ProgramDataPackage Cache{A749D8E6-B613-3BE3-8F5F-045C84EBA29B}v12.0.21005packagesvcRuntimeMinimum_amd64vc_runtimeMinimum_x64.msi, arguments:
‘ MSIFASTINSTALL=»7″ NOVSUI=»1″‘
[1D80:236C][2015-11-19T14:51:59]e000: Error 0x80070652: Failed to install MSI package.
[1D80:236C][2015-11-19T14:51:59]e000: Error 0x80070652: Failed to execute MSI package.
[3A88:03A0][2015-11-19T14:51:59]e000: Error 0x80070652: Failed to configure per-machine MSI package.
[3A88:03A0][2015-11-19T14:51:59]w348: Application requested retry of package: vcRuntimeMinimum_x64, encountered error: 0x80070652. Retrying…
[1D80:236C][2015-11-19T14:52:02]i301: Applying execute package: vcRuntimeMinimum_x64, action: Install, path: C:ProgramDataPackage Cache{A749D8E6-B613-3BE3-8F5F-045C84EBA29B}v12.0.21005packagesvcRuntimeMinimum_amd64vc_runtimeMinimum_x64.msi, arguments:
‘ MSIFASTINSTALL=»7″ NOVSUI=»1″‘
[1D80:236C][2015-11-19T14:52:05]e000: Error 0x80070652: Failed to install MSI package.
[1D80:236C][2015-11-19T14:52:05]e000: Error 0x80070652: Failed to execute MSI package.
[3A88:03A0][2015-11-19T14:52:05]e000: Error 0x80070652: Failed to configure per-machine MSI package.
[3A88:03A0][2015-11-19T14:52:05]i319: Applied execute package: vcRuntimeMinimum_x64, result: 0x80070652, restart: None
[3A88:03A0][2015-11-19T14:52:05]e000: Error 0x80070652: Failed to execute MSI package.
[1D80:236C][2015-11-19T14:52:05]i372: Session end, registration key: SOFTWAREMicrosoftWindowsCurrentVersionUninstall{050d4fc8-5d48-4b8f-8972-47c82c46020f}, resume: None, restart: None, disable resume: No
[1D80:236C][2015-11-19T14:52:05]i330: Removed bundle dependency provider: {050d4fc8-5d48-4b8f-8972-47c82c46020f}
[1D80:236C][2015-11-19T14:52:05]i352: Removing cached bundle: {050d4fc8-5d48-4b8f-8972-47c82c46020f}, from path: C:ProgramDataPackage Cache{050d4fc8-5d48-4b8f-8972-47c82c46020f}
[1D80:236C][2015-11-19T14:52:05]i371: Updating session, registration key: SOFTWAREMicrosoftWindowsCurrentVersionUninstall{050d4fc8-5d48-4b8f-8972-47c82c46020f}, resume: None, restart initiated: No, disable resume: No
[3A88:03A0][2015-11-19T14:52:05]i399: Apply complete, result: 0x80070652, restart: None, ba requested restart: No
My contact information
Email: Kjeralien@hotmail.com
Skype: asger-1990
- Remove From My Forums
-
Question
-
I have been trying to install Microsoft Visual C++ 2013 Redistributable (x64) on my 2012 R2 Server but keep getting error messages relating to failed theme control and failed create main window. every post i find is related to creating the program
and the logo location but i did not program anything just installing the program. here is log file[3280:1354][2017-07-13T10:02:57]i001: Burn v3.7.2829.0, Windows v6.1 (Build 7600: Service Pack 0), path: C:UsersnetadmDownloadsvcredist_x64.exe, cmdline: '' [3280:1354][2017-07-13T10:02:58]i000: Setting string variable 'WixBundleLog' to value 'C:UsersnetadmAppDataLocalTempdd_vcredist_amd64_20170713100258.log' [3280:1354][2017-07-13T10:02:58]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:UsersnetadmDownloadsvcredist_x64.exe' [3280:1354][2017-07-13T10:02:58]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.30501' [3280:071C][2017-07-13T10:02:58]e000: Error 0x80004005: Failed to load theme controls. [3280:071C][2017-07-13T10:02:58]e000: Error 0x80004005: Failed to create main window. [3280:1354][2017-07-13T10:02:58]i500: Shutting down, exit code: 0x4005 [3280:1354][2017-07-13T10:02:58]i410: Variable: WixBundleAction = 5 [3280:1354][2017-07-13T10:02:58]i410: Variable: WixBundleElevated = 0 [3280:1354][2017-07-13T10:02:58]i410: Variable: WixBundleInstalled = 0 [3280:1354][2017-07-13T10:02:58]i410: Variable: WixBundleLog = C:UsersnetadmAppDataLocalTempdd_vcredist_amd64_20170713100258.log [3280:1354][2017-07-13T10:02:58]i410: Variable: WixBundleManufacturer = Microsoft Corporation [3280:1354][2017-07-13T10:02:58]i410: Variable: WixBundleName = Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.30501 [3280:1354][2017-07-13T10:02:58]i410: Variable: WixBundleOriginalSource = C:UsersnetadmDownloadsvcredist_x64.exe [3280:1354][2017-07-13T10:02:58]i410: Variable: WixBundleProviderKey = {050d4fc8-5d48-4b8f-8972-47c82c46020f} [3280:1354][2017-07-13T10:02:58]i410: Variable: WixBundleTag = [3280:1354][2017-07-13T10:02:58]i410: Variable: WixBundleVersion = 12.0.30501.0 [3280:1354][2017-07-13T10:02:58]i007: Exit code: 0x4005, restarting: No
На чтение 10 мин. Просмотров 98 Опубликовано 16.04.2021
Сообщается, что несколько пользователей получают 0x80240017 Unspecified Error при попытке установить распространяемые пакеты Visual C ++ для Visual Studio 2013 или Распространяемые пакеты Visual C ++ для Visual Studio 2015 . Проблема не является исключительной для конкретной версии Windows, поскольку, как сообщается, возникает в Windows 7, Windows 8.1 и Windows 10.
Содержание
- Что вызывает «0x80240017 Unspecified Error»?
- Метод 1. Загрузка установочного пакета распространяемого пакета Visual C ++
- Метод 2: Установка Windows 7 с пакетом обновления 1 (если применимо)
- Метод 3: Установка обновления Universal C Runtime
- Метод 4: Установка всех ожидающих обновлений Windows
- Метод d 5. Удаление всех существующих распространяемых пакетов Microsoft Visual C ++
- Метод 6. Установка более старой версии Python (если применимо)
- Метод 7. Выполнение восстановительной установки
Что вызывает « 0x80240017 Unspecified Error»?
Мы исследовали эту конкретную проблему, просмотрев различные отчеты пользователей и стратегии исправления, которые они используется для решения проблемы. Основываясь на нескольких общих сценариях, которые нам удалось обнаружить, есть несколько общих виновников, которые ответственны за появление этого сообщения об ошибке.
- Пользователь пытается установить неполный пакет повторного распространения Visual C ++ . В большинстве случаев эта конкретная ошибка возникает из-за того, что пользователь пытается установить пакет, используя неполный/поврежденный установщик. Обычно это происходит с установщиками приложений, которые предоставляют пользователю пакет Visual C ++. В этом случае решение состоит в том, чтобы загрузить полную версию Visual C ++ с веб-сайта Microsoft.
- Redist-пакет Visual C ++ установлен в Windows v6.1 . Эта ошибка Сообщается также, что сообщение возникает в тех случаях, когда целевой операционной системой является Windows v6.1. Проблема возникает из-за того, что пакеты предназначены только для установки в Windows 7 и более поздних версиях. В этом случае решение заключается в обновлении для установки пакета обновления 1.
- На компьютере отсутствует обновление Universal C Runtime . Также может появиться сообщение об ошибке. если в вашей версии Windows отсутствует обновление Universal C Runtime. Обычно сообщается, что это эффективно в тех ситуациях, когда ошибка возникает при установке дистрибутива Python.
- Центр обновления Windows уже загрузил пакет redist Visual C ++ – Сообщение об ошибке также может появиться, если компоненту Центра обновления Windows удалось загрузить требуемый пакет Visual C ++ , но еще не удалось его установить. В этом случае решением является установка любого ожидающего обновления.
- Поврежденная/неполная установка распространяемого пакета Visual C ++ . Ошибка также может возникнуть, если у пользователя есть существующая установка Visual C ++, поврежденная или неполная. В этом случае решение состоит в том, чтобы удалить все существующие установки Visual C ++ перед повторной установкой требуемой с официальной страницы загрузки.
Если вы не можете решить эту проблему конкретное сообщение об ошибке, эта статья предоставит вам набор проверенных шагов по устранению неполадок. Ниже вы найдете несколько различных методов, которые другие пользователи в аналогичной ситуации использовали для решения проблемы.
Если вы хотите действовать максимально эффективно, мы рекомендуем вам следовать методы ниже по порядку. В конечном итоге вы должны натолкнуться на набор инструкций, которые помогут вам решить проблему на вашем конкретном компьютере.
Метод 1. Загрузка установочного пакета распространяемого пакета Visual C ++
Поскольку проблема в основном возникает после того, как установщик приложения просит вас установить распространяемый пакет Visual C ++, скорее всего, установщик устарел или не загрузился должным образом.
Несколько пользователей, оказавшихся в аналогичной ситуации, сообщили, что проблема была решена после того, как они повторно загрузили Распространяемый пакет Visual C ++ с официальных каналов. Для некоторых из них ошибка 0x80240017 Unspecified не возвращалась, когда они пытались выполнить установку из недавно загруженного установщика.
Вот краткое руководство по загрузке и установке необходимого Visual Распространяемый пакет C ++ с серверов Microsoft:
- Перейдите по ссылке для загрузки, относящейся к Распространяемому пакету Visual C ++ , который необходимо установить :
Распространяемый пакет Visual C ++ для Visual Studio 2013 – Ссылка для скачивания
Распространяемый пакет Visual C ++ для Visual Studio 2015 – Ссылка для скачивания - Как только вы перейдете на страницу загрузки, выберите язык установки и нажмите кнопку Загрузить , чтобы начать загрузку.
- Выберите правильный установщик в соответствии с архитектурой вашей ОС. Установите флажок, связанный с vc-redist.x64.exe , если у вас 64-разрядная версия Windows, или vc-redist.x64.exe . box, если вы используете 32-битную версию. Затем нажмите Далее , чтобы начать загрузку.
- Открыть исполняемый файл установки и следуйте инструкциям на экране, чтобы завершить установку.
Если вы все еще сталкиваетесь с 0x80240017 Unspecified Error, перейдите к следующему способу ниже.
Метод 2: Установка Windows 7 с пакетом обновления 1 (если применимо)
Как сообщили некоторые пользователи, проблема также может возникнуть, если вы пытаетесь установить распространяемые пакеты Visual C ++ для Visual Studio 2013 или 2015 в Windows v6.1 (сборка 7600: пакет обновления 0). В этом конкретном случае ошибка возникает из-за того, что два распространяемых пакета предназначены для установки в Windows 7 с пакетом обновления 1 и выше..
Несколько пользователей, оказавшихся в аналогичной ситуации, сообщили, что проблема была решена после установки пакета обновления 1. Вот краткое руководство о том, как это сделать:
- Перейдите по этой ссылке ( здесь ), выберите свой язык и нажмите кнопку Загрузить , чтобы загрузить пакет обновления 1.
- На следующем экране снимите все флажки, кроме основного файла ISO. Сделав это, нажмите кнопку Далее , чтобы начать загрузку.
- После загрузки файла ISO перейдите по этой ссылке ( здесь ) и нажмите кнопку «Загрузить», чтобы загрузить инструмент WinCDEMU 4.1 . Мы будем использовать этот инструмент для применения обновления Service Pack 1.
- Откройте исполняемый файл установки WinCDEmu и нажмите кнопку Установить , чтобы настроить инструмент на свой компьютер.
- После установки инструмента нажмите Установить , чтобы добавить необходимое системное программное обеспечение.
- Перезагрузите компьютер, чтобы завершить установку WindowsCDEmu.
- После завершения следующего запуска перейдите в то место, где вы загрузив файл ISO (на шаге 2), щелкните его правой кнопкой мыши и выберите Выбрать букву драйвера и монтировать .
- Выберите букву диска, который вы создадите, установите Тип диска на Диск с данными и нажмите Хорошо , чтобы смонтировать файл ISO .
- После подключения образа Windows 7 Service Pack 1 следуйте инструкциям на экране для завершения установки.
- После установки пакета обновления 1 перезагрузите компьютер еще раз и посмотрите, устранено ли сообщение об ошибке, попытавшись снова установить распространяемый пакет Visual C ++ .
Если вы все еще сталкиваетесь с 0x80240017 Unspecified Error, перейдите к следующему методу ниже.
Метод 3: Установка обновления Universal C Runtime
Несколько пользователей, которые получали эту ошибку после того, как установщик Python (или другое приложение) настоятельно рекомендовал установить пакет redist, сообщили, что проблема была решена после установки Universal C Runtime обновление, применимое к их версии Windows.
Вот краткое руководство по тому, как это сделать:
- Visi Перейдите по этой ссылке ( здесь ), прокрутите вниз до метода 2 и загрузите пакет обновления, применимый к вашей версии Windows..
- На следующем экране выберите предпочтительный язык и нажмите кнопку Загрузить , чтобы начать загрузку.
- Откройте исполняемый файл установки и следуйте инструкциям на экране, чтобы установите обновление Universal C Runtime. После завершения процесса перезагрузите компьютер и посмотрите, исчезло ли сообщение об ошибке при следующем запуске.
Если вы все еще сталкиваетесь с ошибкой ‘ 0x80240017 Unspecified Error ‘ при следующем запуске, перейдите к следующему способу ниже.
Метод 4: Установка всех ожидающих обновлений Windows
Несколько пользователей, которые столкнулись с ‘ 0x80240017 Unspecified Error’ при попытке установить пакет повторного распространения Visual C ++ после того, как им было предложено сделать это с помощью Python (или аналогичного дистрибутива), сообщили, что проблема была решена после установки любых ожидающих обновлений Windows.
Как оказалось, эта конкретная проблема может возникнуть, если пакет Redist Visual C ++ загружается компонентом Центра обновления Windows, но не устанавливается.
Если этот сценарий применим к вашей текущей ситуации, выполните следующие действия, чтобы установить все ожидающие обновления Windows и устранить ошибку ‘ 0x8 0240017 Unspecified Error ’:
- Нажмите клавишу Windows + R , чтобы открыть диалоговое окно« Выполнить ». Затем введите « ms-settings: windowsupdate » и нажмите Enter , чтобы открыть экран Windows Update в Настройки .
Примечание. Если вы ‘ Если вы используете версию Windows, более раннюю, чем Windows 10, используйте вместо нее команду «wuapp».
- На экране Центра обновления Windows нажмите Проверить наличие обновлений , затем следуйте инструкциям на экране, чтобы установить все ожидающие обновления Windows.
- При появлении запроса на перезагрузку , сделайте это и обязательно вернитесь к экрану Центра обновления Windows, чтобы увидеть, есть ли у вас другие ожидающие обновления.
- Попробуйте снова установить распространяемый пакет Microsoft Visual C ++ и посмотрите, появилось ли сообщение об ошибке решено.
Если вы по-прежнему сталкиваетесь с “ 0x80240017 Unspecified Error”, перейдите к следующему методу ниже.
Метод d 5. Удаление всех существующих распространяемых пакетов Microsoft Visual C ++
Как предлагали некоторые затронутые пользователи, проблема также может возникнуть, если одна из ваших текущих распространяемых пакетов Microsoft Visual C ++ повреждена. Несколько пользователей, которые были в аналогичной ситуации, сообщили, что сообщение об ошибке больше не появлялось после того, как они удалили все существующие установки Microsoft Visual C ++, прежде чем пытаться применить необходимый пакет Visual C ++ Redist .
Вот краткое руководство по удалению любых существующих распространяемых пакетов Microsoft Visual C ++ перед повторной попыткой переустановки:
- Нажмите клавишу Windows + R , чтобы открыть диалоговое окно Выполнить . Затем введите « appwiz.cpl » и нажмите Enter , чтобы открыть экран Программы и компоненты .
- На экране Программы и файлы перейдите на правую панель. , щелкните правой кнопкой мыши пакет Redist Microsoft Visual C ++ и выберите Удалить .
- В следующем меню нажмите Удалить и следуйте инструкциям на экране, чтобы избавиться от распространителя Microsoft Visual C ++. пакет.
Примечание. Если у вас несколько Microsoft Visual C ++ установки, повторите шаги 2 и 3 для каждого из них.
- После того, как вам удастся удалить все установки Microsoft Visual C ++, перезагрузите компьютер.
- При следующем запуске загрузите и установите необходимый Microsoft Visual C ++ inst по одной из этих ссылок и посмотрите, решена ли проблема:
Распространяемый пакет Visual C ++ для Visual Studio 2013 – Ссылка для скачивания
Распространяемый пакет Visual C ++ для Visual Studio 2015 – Ссылка для загрузки
Метод 6. Установка более старой версии Python (если применимо)
Если вы получаете это сообщение об ошибке при попытке установить дистрибутив Python, вы можете повторить процесс со старым дистрибутивом и посмотреть, появляется ли сообщение об ошибке по-прежнему.
Несколько пользователей, столкнувшихся с проблемой в аналогичном сценарии, сообщили, что им удалось обойти проблему, установив более старый дистрибутив Python.
Это не обязательно долгосрочное исправление, поскольку вы, скорее всего, необходимо обновить до последней версии в будущем, но это будет эффективно, если вы ищете быстрое решение, которое позволит вам установить дистрибутив Python.
В зависимости от того, что другие пользователи в аналогичной ситуации говорят, что вы сможете обойти проблему, загрузив Python версии 3.4.3 . Просто скачайте дистрибутив, следуйте инструкциям на экране и посмотрите, появляется ли у вас та же ошибка, когда вам будет предложено установить пакет Redist Visual C ++..
Метод 7. Выполнение восстановительной установки
Если вы зашли так далеко безрезультатно, велика вероятность, что вы столкнулись с этой проблемой из-за некоторого повреждения системы. Есть несколько методов, которые вы можете использовать, чтобы избавиться от повреждения файла и устранить 0x80240017 Unspecified Error, но многие пользователи в аналогичной ситуации сообщили, что проблема была решена после того, как они выполнила восстановительную установку.
Восстановительная установка – это неразрушающая процедура, которая позволит вам обновить все компоненты, связанные с Windows, без ущерба для ваших личных файлов и приложений. В отличие от чистой установки , исправленная установка позволит вам сохранить все ваши личные данные, включая фотографии, музыку, видео, пользовательские настройки и все установленные сторонние приложения.
Если вы решите выполнить ремонтную установку, вы можете следовать инструкциям, приведенным в этой статье