Solved

VB6 Error 1931 with Windows Installer: hhctrl.ocx

Posted on 2004-10-13
10
600 Views
Last Modified: 2010-05-18
This question is a follow up to Q_21162987.html from which I learned that scrrun.dll is not a distributable.

I am now getting Error 1931 relative to hhctrl.ocx

Please could an expert tell me if hhctrl.ocx should be removed from the list of files that Installer distributes with my app.

Thanks

Gordon





0
Comment
Question by:Gordon_Atherley
  • 5
  • 4
10 Comments
 
LVL 26

Expert Comment

by:EDDYKT
ID: 12297722
>>hhctrl.ocx

is for htmlhelp. You can leave it
0
 

Author Comment

by:Gordon_Atherley
ID: 12297801
So I don't need to distribute it with my app?
0
 
LVL 26

Expert Comment

by:EDDYKT
ID: 12297871
I believe this come with xp or higher. May not come with windows 2000 or lower
0
 
LVL 26

Expert Comment

by:EDDYKT
ID: 12297878
You can mark this file to share
0
 

Author Comment

by:Gordon_Atherley
ID: 12298095
I've marked the file to share but I still get Error 1931 during the installation.

My app is distributed to W2K and NT4 machines so, from what you say, I need to distribute it these but not XP machines. The VB6 development is done on XP SP2.

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 26

Expert Comment

by:EDDYKT
ID: 12298117
0
 
LVL 26

Expert Comment

by:EDDYKT
ID: 12298140
0
 

Author Comment

by:Gordon_Atherley
ID: 12298243
The UK reference describes the problem exactly. Skipping the warning during the install, as the UK source recommends is a sort-of fix. But it's not really a solution because my users don't like to see any error messages during installations.

Should I be looking at the conditional actions offered by Windows Installer (and which I don't yet understand)?
0
 
LVL 14

Accepted Solution

by:
Matti earned 250 total points
ID: 12306999
Hi!

Remove hhctrl.ocx from the installer.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/hwMicrosoftHTMLHelpDownloads.asp

It's freely redistributed HTML-help control HHUPD.EXE

Sugest you add this patch on you redistribution media, this control might be missing on NT 4.0 or older , so it's not very regent.

This tool maybe used to launch individual files after install:
http://www.cornerhouse.ca/en/msilaunch.html

Matti

0
 

Author Comment

by:Gordon_Atherley
ID: 12307017
Right on, thank you Matti
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

895 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

21 Experts available now in Live!

Get 1:1 Help Now