Tuesday, March 31, 2009

Check Your Bank Statements!

Here's a cautionary tale about banks that happened to us recently: http://www.softwareceo.com/products_services/hp_article.aspx?arttype=TT&page=0

2 comments:

Adriana said...

Hi, Doug. I´m a brazilian mainframe developer currently (and accidentaly :D) working with low plataform in VFP6.
I´ve read some articles about Vista X VPF (in)compatibility and I found an article you wrote.
I need some help with an issue related to your article. Could you give me any tips?

Thanks

Adriana

My e-mail is madrugada_polask@yahoo.com.br

Issue description:

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?

Doug Hennig said...

This isn't really related to the "bank" topic, but ...

I haven't used InstallShield in years. I found it cumbersome, slow, and unreliable. Instead, I use Inno Setup, which is easy to use, fast, and works great for installing VFP applications. In Inno, you simply run FOXHHELP.EXE /REGSERVER at the end of the install process.

If I recall, in InstallShield, you can set properties of files to tell InstallShield to register the EXE using REGSERVER. I don't remember how to do that, but you should be able to find it if you check the properties dialog for FOXHHELP.EXE in InstallShield.