Skip to content
⌘ NSIS Forum Archive

NSIS won't register Visual Foxpro runtime

6 posts

matt21#

NSIS won't register Visual Foxpro runtime

Installing the Visual Foxpro runtime won't register one of the DLL's. I have to register it manually using

ExecWait '"Regsvr32" "/s" "$COMMONFILES\Microsoft Shared\VFP\vfp8r.dll"'

Since this command runs immediately after NSIS tries to register it, I don't see why it should fail.

I've tried this with NSIS 2.0 and 2.01. I've also tried using RegDLL command but that fails as well. The message "Could not load vfp8r.dll" flashes up

This isn't a major problem for me but appears to show a problem with NSIS

I have attached a test setup in following post
matt21#
Attachment for previous post

See previous post
matt21#
Dependency Walker didn't show any warnings about missing dependencies. I have double checked the Installshield installer for the VFP runtime supplied by Microsoft and it definitely only installs the 5 DLL's that I am installing.
kichik#
Then they must depend on each other, in which case you should set the working directory (using SetOutPath) to the directory in which you install them so they can find each other. They should also be registered in the right order.