-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Archived Topics
- Printers Archive
- Error message Microsoft visual c++ runtime library

Create an account on the HP Community to personalize your profile and ask a question

12-16-2013 08:43 AM
I have new computer with windows 8.1, 64 bit. My computer recognizes the hp photosmart C6200 (I have c6280) but will not let me download the software for it. I downloaded the print & scan doctor. I get all the way to the point where it says it's extracting then that box disappears and a few minutes later the box opens with microsoft visual c++ run time library, program:c:\users\theresa\appdata\local\temp\7zs3cde\setup.exe, This application has requested run time to terminate in unusual way.
Please help - I know the printer is an older model but still works great and others who come to my home are able to use it on their new computers so I would like to to.
Thank you
12-16-2013 08:59 AM
I'm having exactly the same problem. Trying to reinstall my DeskJet F4150. Whenever I try to install the full driver and software I get a runtime error at location\AppData\Local\Temp\7zS6743\Setup.exe. I tried downloading a patch for certain AMD processors that I found in the HP Forums, but upon trying to install the patch, I got the exact same runtime error message.
Running Windows 7 64-bit SP1. AMD Athlon II x2 250 u 1.60 GHz processor.
I'd appreciate any help.
--Pier
12-18-2013 02:09 PM - edited 12-18-2013 02:57 PM
I have exactly the same problem with a C6280 when I try to install drivers etc using
PS_AIO_02_NetWired_Full_Win_WW_130_140.exe
I'm running Windows 7 Home Premium (64 bit) SP1 on a machine with an Intel Core i7-2600 processor (so presumably no AMD issues to worry about)
12-19-2013
03:58 PM
- last edited on
04-20-2016
11:02 AM
by
OscarFuentes
Hello. I understand you are experiencing a Microsoft Visual C++ runtime error when installing your printer. I will do my best to assist you with the issue. The first step I implore you to perform is to backup your computer. If a mistake is made when performing some of these troubleshooting steps, Windows might have to be reinstalled automatically. Additionally, a reinstall of Windows will likely be required if the troubleshooting steps, below, do not resolve the issue. Here is some information on backing up your computer on Windows 8: http://h10010.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&dlc=en&docname=c03270359
Before any other troubleshooting is done, please reference this HP document: http://support.hp.com/us-en/document/c01609772
On this page, please click the "SP40669 File Download" under the "See also" section. Once you do this, a patch will download. When finished downloading, double-click it to install it on the computer. Afterward, a level 3 uninstall of the printer software is required. This will remove any spare HP software from the unsuccessful installation attempts. Here are some instructions on performing a level 3 uninstall:
a) On your keyboard, press the Windows key and the letter "R" key to open the Run windows. In the search bar type %temp% and hit enter.
b) Locate the correct folder starting with "7z" (the correct folder contains "Util" and "CCC" folders).
c) Open folder "Util".
d) Open folder "CCC".
e) Please run the L3uninstall.bat.
f) When the uninstall has completed, restart the computer.
The next step is to perform a full virus scan of the computer. Viruses and malware have been known to create situations where a runtime error will occur. Please use your Anti-Virus software to perform a full scan of the computer.
Next, I would like you to perform a Disk cleanup in "System Tools". I have provided information on how to do this: http://windows.microsoft.com/en-ca/windows/delete-files-using-disk-cleanup#delete-files-using-disk-c...
Finally, before reinstalling the software, you should download and install the latest version of Adobe flash player: http://get.adobe.com/flashplayer/
Now, I would like you to utilize the Printer Install Wizard to install the printer software. I have included an HP document on how to use it and where to download it: http://support.hp.com/us-en/document/c02073861
(Please note that unless specified otherwise, use the Printer Install Wizard to install the printer software when my instructions suggest installing the printer software.)
If this issue is not resolved by the patch, I would like you to perform a System Restore. I want you to bring the computer back to the earliest restore point possible, in an attempt to dodge the runtime error. Here is a document on how to perform a System Restore: http://windows.microsoft.com/en-CA/windows7/products/features/system-restore
Once the System Restore is completed, try installing the printer software again. If the installation fails with the same error, please perform another level 3 uninstall, and proceed with further troubleshooting.
The next step is to download and install the Microsoft Visual C++ 2010, 2008 and 2005 Redistributable Packages. You will find the download links to these packages below:
2005 - http://www.microsoft.com/en-ca/download/details.aspx?id=26347
2008 - http://www.microsoft.com/en-ca/download/details.aspx?id=5582
2010 - http://www.microsoft.com/en-us/download/details.aspx?id=14632
12-19-2013 03:59 PM
Once they are downloaded and installed, restart the computer and try to install the software again. If the installation fails, perform another level 3 uninstall and continue troubleshooting below.
I would like you to create a new administrator user account, just in case there is some hidden corruption based off of your current user account. Please follow these specific steps, since I am providing instructions on unlocking a specific user account:
Run Command Prompt as Administrator. To do that, go to the start menu, type “CMD” in the search bar. Now, you should see a shortcut for CMD above. Right click on it, and click “run as administrator”. If it asks you for administrative permission, please allow permission. In your Command Prompt window (as administrator), type the following and hit Enter: net user administrator /active:yes
You should see a message saying "the command completed successfully". After troubleshooting is done, you can disable this account by typing the following command into Command Prompt (as administrator): net user administrator /active:no. Restart the computer, and utilize the new account that is available, which should be named "Administrator". In this user account, proceed with the following:
(Note, ensure these changes are completed in the Administrator account that was just created.)
After this account is created, I would like you to perform a clean boot on the computer. This will prevent most third-party programs from interfering with the software installation, since some third-party programs can provoke this issue. Here is some information on how to perform a clean boot: http://support.microsoft.com/kb/929135
The next step is performing a System File Check. To do this, run Command Prompt as administrator again. Type in this command and hit Enter afterward: sfc /scannow
SFC stands for System File Checker, and it scans and attempts to restore corrupted Windows files. Running this might find a corrupted file or service and repair it. After it completes it will basically say either no corrupted files were found, corrupted files were found and repaired, or corrupted files were found but were unable to be repaired. Restart after this completes and record your results.
After the check is complete, I want to ensure that all Windows updates have been installed. Here is some information on how to install all of your Windows updates: http://windows.microsoft.com/en-ca/windows-vista/install-windows-updates
Before you install the printer again, I would like you to re-register the Windows Installer service. To do this properly, please open Command Prompt as administrator and type the following commands (hit enter after the first command):
msiexec /unregister
msiexec /regserver
I would now like you to try installing the printer software again. If the issue still remains, please perform another level 3 uninstall and restart the computer.
I believe the next step is performing a Windows 8 refresh. This will not delete personal files or change major settings. This will simply clean up the computer thoroughly. It is the next step before reinstalling Windows, essentially. For more information on how to do this, please reference this Microsoft website: http://windows.microsoft.com/en-CA/windows-8/restore-refresh-reset-pc
This can take a good amount of time to complete. After the refresh is complete, try to install the printer software again. If the error remains, perform another level 3 uninstall and restart the computer.
12-19-2013 03:59 PM
The next step is going to be to install a generic printer driver on the computer, for this printer. If you reference this Microsoft document, it will explain how to install the generic Windows print driver for this printer: http://windows.microsoft.com/en-ca/windows/install-printer#install-printer=windows-7
If this is successful, this indicates that the required services to install printer software are working correctly. If not, skip the next paragraph.
Now that this generic driver is installed, you can try installing the printer using the Printer Install Wizard. Since there is already some software installed, it might be enough to allow the entire installation to go through. If the issue is not resolved, please proceed to the next paragraph.
Unfortunately, unless you received any other errors that are different than the c++ runtime error, I'm afraid the final step is to reinstall Windows. The software on the operating system is damaged to the point where it cannot install the software properly. For more information on reinstall Windows 8, please reference this website (You can also reference the document I provided when suggesting the Windows 8 refresh) : http://windows.microsoft.com/en-CA/windows-8/clean-install
Now, if you received any different error message that the c++ runtime error, please stop troubleshooting and provide the exact error. Also, please inform me where you left off with my troubleshooting steps.
Hopefully this troubleshooting guide will resolve the issue. If you found my information useful, please mark my posts with a Kudos, so others can locate this information easier. Please let me know if you have any other questions or concerns. I'm only here to help!
Mario
12-20-2013 10:40 AM
Hi Supermario & thank you for your advice. I'm starting to digest the amount of information you have sent over this printer problem & taking it very slowly as this is a brand new computer and i'm by far a computer expert. In your first message with the instructions on level 3 uninstall, you mention folder starting with 7z which contains the util & CCC folders. I have many of these (maybe because I tried to install this printer numerous times). Will I be able to uninstall all of them and then restart? Thank you
01-02-2014 12:30 PM
Ok Supermario - I have spent about 6-7 hours on my printer problem now that the holidays were over and could set that time aside (not counting the numerous hours put in on various days before). Well, I chickened out on the system restore/refresh/reinstall windows 8 options as I did not want to lose microsoft office, cyberlink software, and this is a brand new computer so thought it was too drastic to fool around that way as I'm not an expert. Went through all your other steps though and was about to give up when one of your last things to do was install generic printer. I went to start, devices & printers, add a printer and saw mine come up in the list c6200 (actually mines a c6280 but close enough), When I added it, it was all of a sudden there & I made it default & it works - yeah! I swear I did this before & it didn't work - doesn't matter now though. I must've changed something up along the way. Thanks for the advice!
I do not have the capability of trying to check ink levels, scan from computer etc. but it will print documents, pictures, recipes - if i need to scan & check levels i go to printer itself.
