Microsoft Visual C++ Runtime Library runtime error while installing HP ENVY 4500 series printer driver

Anonymous
2014-01-06T19:37:04+00:00

Original title: Microsoft visual C++ runtime library.. application has requested the runtime to terminate it in an unusual way."

I get this message while trying to install a HP printer.  The message has something to do with the Setup.exe file from HP however they contend it is not their problem but is with the Windows 7 software.  I can successfully download and install other HP printers but cannot for the F4500 series but can for the ENVY 4500 series.  The details are ....Program C:\users\bob\appdata\local\temp\7z531EA\Setup.exe.   Help!

Windows for home | Previous Windows versions | Devices and drivers

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2014-01-07T12:14:18+00:00

    Hello Bob,

    Thank you for posting your query in Microsoft Community Forum.

    Did you make any changes to the computer prior to this issue?

    The issue may occur if the Microsoft Visual C++ Redistributable Package has got corrupted and is incompatible with the printer driver. So, I would suggest you to refer to the following methods and check if the issue persists.

    Step 1: Try to run the system in clean boot.

    How to perform a clean boot in Windows

    http://support.microsoft.com/kb/929135

    Note: Refer "How to reset the computer to start normally after clean boot troubleshooting" to reset the computer to start as normal after troubleshooting.

    Step 2: Try updating the system with the Microsoft Visual C++ 2010 Redistributable Package from the following links:

    If your system is 32-bit (x86), then refer to the following link:

    Microsoft Visual C++ 2010 Redistributable Package (x86)

    http://www.microsoft.com/en-gb/download/details.aspx?id=5555

    Else, If your system is 64-bit (x64), then refer to the following link:

    Microsoft Visual C++ 2010 Redistributable Package (x64)

    http://www.microsoft.com/en-gb/download/details.aspx?id=14632

    Then try installing the driver the hp ENVY 4500 driver. Refer to the following link if you do not have any of portable installation media:

    HP ENVY 4500 e-All-in-One Printer Drivers

    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=228&lc=en&cc=uk&product=5304877#N173

    Also, refer to this link from hp (link for Vista applies to Windows 7 as well):

    Microsoft Visual C++ Runtime Error May Display When Installing Certain Printers

    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c01609772

    You may also refer to this sample solution on HP support forums for a contemporary printer on a similar issue:

    http://h30434.www3.hp.com/t5/Printer-All-in-One-Install-Setup/runtime-error/td-p/1843111

    Hope this information is helpful. If the issue still persists, please post back for further assistance, we'll be glad to assist you.

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2014-01-07T15:15:07+00:00

    Harkanwar, I deleted and downloaded all of the Visual C++ software after getting the error and tried it again with the same results.  I also downloaded the bitlocker  patch SP40669, didn't work either.  This is not going to let me install a new printer.  I have deleted, downloaded, started over and  installed other printers successfully,   It seems to just be the F4500 HP printer and it is not an unheard of issue since there seems that there is numerous conversations about it with no one offering a solid fix.  Help!

    0 comments No comments
  3. Anonymous
    2014-01-08T14:57:33+00:00

    Hello Bob,

    Please give a try to these steps to install the printer:

    Step 1: Go to Start -> Control Panel -> Programs & Features and uninstall any drivers related to the printer.

    Step 2: Create a restore point. You may refer to the following link for creating restore point:

    http://windows.microsoft.com/en-in/windows7/create-a-restore-point

    Step 3: Boot your computer in the safe mode.

    Step 4: Browse to C:\WINDOWS\SYSTEM32\SPOOL\DRIVERS\w32x86 & delete its contents.

    Step 5: Browse to C:\WINDOWS\SYSTEM32\SPOOL\PRINTERS & delete its contents.

    Step 6: Edit the registry as follows:

    Click Start and type in Run in Start Search and press Enter. Type in regedit and click OK.

    Registry disclaimer: Important: this section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: KB 322756

    How to back up and restore the registry in Windows

    http://windows.microsoft.com/en-US/windows7/Back-up-the-registry

    1. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86View the list of subkeys (subfolders). There should only be the following subkeys:

    • DRIVERS

    • Print Processors

    If any other subkey is present, then delete it.

    1. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers & then look for Version 2 or Version 3, subkey. Delete the entries except Microsoft Shared Fax Driver & Microsoft XPS Document Viewer under the –Version-x.
    2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\ \Monitorsand View the list of subkeys. There should only be the following subkeys for the default print monitors:

    • Local Port

    • Microsoft Shared Fax Monitor

    • Standard TCP/IP Port

    • USB Monitor

    • WSD Port

    If, any other subkey is present then take registry backup & delete it.

    Step 7: Exit the registry editor. If the printer is still connected then unplug it & restart the computer.

    Step 8: Click Start and type in Run in Start Search and press Enter. Type in services.msc and click OK.

    Check if the Print Spooler service is Started& Automatic.

    Also check for the Dependencies for the Print Spooler service: Right click on the service and click properties and then click on the Dependencies tab. Make sure all the dependency services are running.

    Step 9: Try to install the printer drivers again from the manufacturer’s website.

    Please try these steps and post back with your results for further assistance.

    0 comments No comments