Solved

VB6 Error 1931 with Windows Installer: hhctrl.ocx

Posted on 2004-10-13
10
605 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
ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

 
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
 
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

832 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