How to register an EXE with /RegServer

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

How to register an EXE with /RegServer

Postby get101 » Fri Jun 29, 2007 12:29 am

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:

Postby jimo » Sat Jun 30, 2007 7:01 am

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

Postby get101 » Sun Jul 01, 2007 8:04 pm

Jim

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 86 guests