Archive: NSIS won't register Visual Foxpro runtime


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


Attachment for previous post
See previous post


You have probably missed some dependencies for it. Use Dependency Walker to find out which.


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.


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.


SetOutPath sorted it

Thanks