Solved

VB6 Error 1931 with Windows Installer: hhctrl.ocx

Posted on 2004-10-13
10
598 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
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.

 
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…

746 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

10 Experts available now in Live!

Get 1:1 Help Now