Solved

error during installation [can not register a certain file]

Posted on 2003-10-22
7
228 Views
Last Modified: 2012-05-04
I use VB 6.0 and the supplied installation wizzard.

To run the programme correctly it also uses references to certain dll's

On 95% of computers and OS all the installation goes well without any error message.
From time to time I get the user feedback that the following error message occurs during installation:

"An error occured while registering the file  c:\winnt\system32\HTFSIFcl.dll "

If the user presses retry the same error happes again, when he presses ignore than the installation continues succesfully.

This happens on NT but also on WIN98 systems.

Is there any reason it does not register certain files, is it because they are already registered??

Any solution
0
Comment
Question by:themroc
  • 3
  • 2
  • 2
7 Comments
 
LVL 10

Assisted Solution

by:MrClyfar
MrClyfar earned 90 total points
Comment Utility

Hi there.

What is the file HTFSIFcl.Dll file? I cannot find a reference for it on Microsoft.com or on Google in fact. Did you manually add this file to the setup project when you were using the wizard, or did Visual Basic include the file itself?

It's possible that when the installation program is running and trying to register the Dll file, there is another application running in Windows which is using the Dll file for itself. So as the setup application is copying over the file, or trying to register it, Windows will not let this happen as the file is already being used.

If this is the case then try running the setup application with no other Windows applications running at the time. I'll see if I can find out more about HTFSIFcl.Dll as the key here is knowing where it came from and what it does - do you use any third party OCX files with your application?

Jas.
0
 

Author Comment

by:themroc
Comment Utility
this file is the "Standard Interface Libary" from HTFS a software company specialised in Heat exchanger calculation software. A quiet recognised programme.

During installation the HTFSIFcl.dll file was not in use because the software was not installed on the machine. So it must be somthing else

0
 
LVL 2

Assisted Solution

by:diarmaid
diarmaid earned 90 total points
Comment Utility
Its possible that HTFSIFcl.Dll has dependancies that arent included in your setup file and as a result it cant register the DLL. Find out what dependancies are needed and add to your setup package.
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

Author Comment

by:themroc
Comment Utility
how do i find out this kind of think. But if this is the case should it not always during every installation come up with an errormessage???
0
 
LVL 10

Accepted Solution

by:
MrClyfar earned 90 total points
Comment Utility

Hi.

You can create a dependancy file by running the Package and Deployment Wizard, browse for your Visual Basic project, select the 'Package' button. In the screen 'Package and Deployment Wizard - Package Type', select 'Dependancy File' from the list. Run through the rest of the wizard and it will create a .dep file for you. This file will contain all the other files needed for the application to work.

It's quite possible that for the failed installations that certain files are missing, whilst for the other installations these files were on those computers.

Jas.
0
 

Author Comment

by:themroc
Comment Utility
I checked this out, after running the wizzard it statet that for the file HTFSIDcl.dll no dependency information could be found.

that should indicate that there is no dependency file or not???
0
 
LVL 2

Expert Comment

by:diarmaid
Comment Utility
The Package + Deployment wizard doesnt usually automatically pick up what dependancies a DLL has. You could try the Depends program that ships with VS but Im not sure how good that is.

HTFS may ship with a type library or object library that you may be able to include or HTFS may be able to give you the information
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now