Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installation of HTML Help using Installshield 5.53 and VFP 6 in Vista

Status
Not open for further replies.

Adri1201

Programmer
Mar 30, 2009
5
BR
Windows Vista does not support the HLP format, so I had to convert to CHM.
I can´t find the solution to the proper installation of HTML Help using Installshield 5.53 and VFP 6.
No help appears when I press the F1 key or when I select Microsoft Visual FoxPro Help Topics from the Help menu. This occurs with distributed applications installed on a system that does not have Visual FoxPro installed.
I´ve already copied the Foxhhelp.exe file and the Foxhhelpps.dll file to Installshield,but isn´t working.
I know I can register by running the Foxhhelp.exe file with the /REGSERVER option (FOXHHELP /REGSERVER), but I need to do it not manually. How can I register the Foxhhelp.exe using Installshield?

I´ve included the code below at setup.rul:

Enable ( SELFREGISTERBATCH );

if Do ( SELFREGISTRATIONPROCESS ) < 0 then
szMsg = "File(s) failed to self-register: \n" + ERRORFILENAME;
MessageBox (szMsg, WARNING);
endif;

In File Groups I created a folder named Register with Self-Registered option = Yes.
foxhhelpps.dll and foxhhelp.exe are placed in Static File Links.
What is wrong or missing?
 
It´s relevant, but unfortunately not aplicable.
Due to Microsoft copyright laws, only the licence´s owner can download any updates such as WinHlp32.exe. Developers are not allowed to include such files at setup procedures.
 
Register Self-Registering EXEs

Earlier releases of InstallShield 5 had a problem with self-registering EXE programs in batch mode. This function registers such EXEs without batch mode and logs them for uninstall.

prototype ManualRegister( STRING, STRING )
Source: InstallShield InstallScript: External Programs and Shell

Scroll down (3rd from the bottom) to get the CODE snipped...

Ben

"If it works don't fix it! If it doesn't use a sledgehammer..."

How to ask a question, when posting them to a professional forum.
 
Thanks, BadBigBen. I´ve tried this option before with no success.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top