Automation Testing

Top 6 reasons UFT install fails

By Test Guild
  • Share:
Join the Guild for FREE

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!

  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
    ‘Microsoft.vc80.CRT,type=”win32″,version=”8.0.50727.4053″,publicKeyToken=”1fc8b3b9a1e18e3b”,processor/Architecture=”x86″‘.
    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?

    Regards,
    Sairam

  8. Hi Joe,

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

    —————————
    HP Setup Wrapper
    —————————
    Failed to open registry key SOFTWARE\POLICIES\MICROSOFT\WINDOWS\INSTALLER
    —————————
    OK
    —————————

    I have local admin rights.

    Please suggest what could be the possible root cause.

    Praveen.

  9. Does this help?

    Try these and see if it makes any difference:

    1.

    Navigate to the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
    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

  10. hey gyus
    i am trying to instaling utf but its stuck on “updating component registration :/
    anu ideas ?

  11. Hi,

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

    Please help in solution.

    Thanks in advance.

    Rgds
    Bhuvan

  12. all .dll registration failed it is showing while installing UFT , can you please suggest

Comments are closed.

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

Leveraging AI and Playwright for Test Case Generation

Posted on 11/22/2024

Two BIG trends the past few years in the software testing space been ...

Symbolic AI vs. Gen AI: The Dynamic Duo in Test Automation

Posted on 09/23/2024

You've probably been having conversations lately about whether to use AI for testing. ...

8 Special Ops Principles for Automation Testing

Posted on 08/01/2024

I recently had a conversation, with Alex “ZAP” Chernyak about his journey to ...

Sponsor The Industry-Standard E2E Automation Testing Annual Online Event (Limited Spots Left) - Reach Out Now >>