Page 1 of 1

How to register an EXE with /RegServer

Posted: Fri Jun 29, 2007 12:29 am
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?

Posted: Sat Jun 30, 2007 7:01 am
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.

Posted: Sun Jul 01, 2007 8:04 pm
by get101
Jim

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