matt21
20th August 2004 10:54 UTC
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
20th August 2004 11:08 UTC
Attachment for previous post
See previous post
kichik
20th August 2004 11:16 UTC
You have probably missed some dependencies for it. Use Dependency Walker to find out which.
matt21
20th August 2004 14:40 UTC
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
20th August 2004 14:44 UTC
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.
matt21
20th August 2004 15:20 UTC
SetOutPath sorted it
Thanks