How to register an EXE with /RegServer

Got a problem you cannot solve? Try here.
Post Reply
get101
Posts: 48
Joined: Wed May 16, 2007 1:58 am

How to register an EXE with /RegServer

Post by get101 »

How can I register an EXE?

I tried this but it didn't work:

Code: Select all

  if Variable ADVERTISE Equals TRUE
    Apply Advertised (get result into variable SUCCESS)
    else
    Apply Install (get result into variable SUCCESS)

     if Variable SUCCESS Equals TRUE
      if Variable SUCCESS not Equals Cancel
       Run Program $TARGETDIR$\\foxhhelp7.exe /RegServer 

I could register it manually myself after installing the application using Run, Cmd and typing the foxhhelp7.exe /RegServer line.

How do I get InstallAware to implement that line?
jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Post by jimo »

What you have done should work fine, however for VFP 7.0 the foxhhelp7.exe and the foxhhelpps7.dll should be placed in Common Files\\Microsoft Shared\\VFP and in Windows\\System32. You should Register both the exe as in your example and the dll from the system32 folder.
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com
get101
Posts: 48
Joined: Wed May 16, 2007 1:58 am

Post by get101 »

Jim

Thanks for all your replies to my and others messages.
Most useful and informative.
Post Reply