Top 6 reasons UFT install fails

Automation Testing Published on:

Are you trying to install UFT or QTP but are getting some strange error messages like:

Error attempting to open source file ….

Module … failed to register

I get a lot of emails asking me about various UFT/QTP install error messages. To be honest the error messages HP gives are not very helpful and can be caused by multiple issues.

Although there are no quick fixes here are some common ways to try to resolve these types of issues.

6 Possible reasons you are getting install errors

  • UAC

The biggest reason for most errors is when you are trying to install on a machine that has its User Account Control (UAC) enabled. UAC and UFT do not mix. Make sure that you temporarily turn UAC off during the QTP install.

  • Permission issue

You need to be logged in to the machine with a user that has full administrator rights.

  • Installing from a shared drive

Sometimes you can get odd behavior if you are installing UFT from a shared or mapped drive. To avoid issues you should copy all the UFT/QTP install files locally to your machine.

  • Corrupted installation files

This is a long shot but sometimes the actual UFT install file you download from HP gets corrupted. This is usually caused by downloading the install from a non-internet explorer browser. I know most of us try to avoid using IE whenever possible but make sure you do use IE with the HP download manager option to avoid corruption.

  • DVD/CD drive software

If you are trying to install from an .ISO image the DVD/CD software you are using may be having issue reading the installation files properly. One workaround for this issue is to use a zip tool like 7Zip or WinRar to extract all the contents of the ISO image before doing the install.

  • Active Template Library file (alt.dll) is not registered

The ATL is a set of Microsoft developed template-based C++ classes used to simplify programming using COM objects. Not having this DLL registered can cause QTP install issues. Try to register atl.ddl located in the Windows\System32 folder and see if that helps:

Click on Start>Run

In the Run window enter regsvr32 “C:\WINDOWS\system32\atl.dll”

If everything works you should get a RegSvr32 succeeded message:

Happy MicroFocus UFT Install

Hopefully one of these six suggestions will fix your install issue. If you have any other Unified Functional Testing install fix/suggestions lets us know!

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  1. Hi friends,

    I try it installation for QTP Software, it is showing error message. For example message Error 1935.An error occurred during installation of assembly’policy 8.0 microsoft.VC80.ATL.type=”win32-policy”.version=”8.0.50727.6195″.

  2. Error 1935.An error occurred during the installation of assembly
    Please refer to Help and Support for more information.

  3. Error Attempting to open the source file:

    while installing uft 11.5 while coping file getting the following error: Testing\ MSI \target dir\data\resources\image\bitmapresources\Bitmapres ouces\-data\icons\16×16.forms.designer.increaseHorizontal space.png System Error code :3

  4. After installing UFT 11.50, the explorer.exe is getting crashed. I could not open any drive (C:) from computers and also Control Panel. Anybody faced this issue?

  5. Exception of type: System.InvalidCastException.

    I am getting above exception while clicking on new gui test.
    Please help.

  6. I installed trail of HP-UFT after starting UFT after opening all the icons are not active on the header. Please help me on this.

  7. When I try to install UFT 11.0, I receive the below error message. I tried the above options, but still the same issue persist.

    “Error 1935. An error occured during the installation of assembly component {98CB24AD-52FB-DB5F-A01F-C8B3B9A1E18E}. HRESULT: 0x8007054F”

    Does any one can provide solution?


  8. Hi Joe,

    I m getting the below error while installing UFT 12.02 app:

    HP Setup Wrapper

    I have local admin rights.

    Please suggest what could be the possible root cause.


    1. Does this help?

      Try these and see if it makes any difference:


      Navigate to the following registry subkey:
      In the details pane (Right Pane), locate the EnableLUA key (REG_DWORD type). Double click to Modify.
      In the Value data box, type 0 (zero), and then click OK.
      Exit Registry Editor, and then restart the computer.

      2. Disable DEP (Data Execution Prevention).

      Steps to disable DEP:

      Click Start, click Run, type sysdm.cpl, and then click OK.
      On the Advanced tab, under Performance, click Settings.
      On the Data Execution Prevention tab, use one of the following procedures: •
      Click Turn on DEP for essential Windows programs and services only to select the OptIn policy.
      Click Turn on DEP for all programs and services except those I select to select the OptOut policy, and then click Add to add the programs that you do not want to use the DEP feature.
      Click OK twice

  9. Hi,

    Getting pop up Invalid \H drive when trying to install UFT 12.53.

    Please help in solution.

    Thanks in advance.


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Latest Automation Trends: Top 13 Predictions for 2023

Posted on 01/04/2023

Welcome to my annual Latest Automation Trends: Top 13 Predictions for 2023 article. ...

Chrome Selenium Driver in Visual Studio C#

Posted on 12/21/2022

I'm sure you've all heard of Selenium by now. It's a popular tool ...

15 Reasons Why You Should (or shouldn’t) Automate a Test

Posted on 12/20/2022

Just because you can automate tests doesn’t necessarily mean that you should. In ...