How to resolve error "Could not copy file Composite70.dll to ..." while installing TDV ODBC driver?

How to resolve error "Could not copy file Composite70.dll to ..." while installing TDV ODBC driver?

book

Article ID: KB0077056

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization 7.0.0 and higher

Description

When trying to install the TDV ODBC driver, the application may display the following message:

Could not copy file Composite70_x64.dll to C:\WINDOWS\system32\composite70_x64.dll. Please check if the file is being in use by another application.

Issue/Introduction

How to resolve error "Could not copy file Composite70.dll to ..." while installing TDV ODBC driver?

Resolution

Please follow the troubleshooting steps below.

(1) Run the installer as Administrator

This error is often due to insufficient UAC (user access control) privileges. If this is the case, running the installer as Administrator will resolve the error since the admin has higher UAC privileges.
-  Right-click on the installer EXE file. 
-  From the menu that pops up, select "Run as Administrator". A Yes/No prompt dialog box will appear.
-  Click the "Yes" button in the dialog, and allow the installation to run to completion.

(2) Find out whether the file needs to be unblocked

- Right click on the installer EXE file.  A dialog box will pop up.
- Inspect the dialog box to see whether it contains a security option to unblock the file, as shown below.

                   User-added image

If it does contain an "Unblock" checkbox, select the box for all files (e.g. CsOdbcInstall70_x64.exe, composite70_x64.dll, and composite70_x64.txt). Note that the unblock has to be done for all the files, and not just for the installer executable file.
- Run the installer.

(3)  Run the installer in Compatibility mode

The error could be due to a compatibility problem. To check whether this is the case:
- Right click on the installer EXE file.
- Use the "Troubleshoot Compatibility" option shown below  to test the installer.

           User-added image