Solved

error during installation [can not register a certain file]

Posted on 2003-10-22
7
229 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
ID: 9597786

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
ID: 9598060
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
ID: 9598140
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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 

Author Comment

by:themroc
ID: 9598225
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
ID: 9598250

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
ID: 9598388
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
ID: 9598674
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VBA open file from excel cell 4 42
How to debug this code 7 61
message box in access 4 46
Child Form in front 4 46
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

785 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