Running FB v7.0.0.2056. Win 7 Ent (up to date)
UAC completely switched off.
Manually reg a dll (CMD) - fine.
Reg DLL via script (bat) - fine.
Start FB and run reg dll - fine.
Run a script (bat) calling FB - fail
Script is called with:
Start.bat
“C:\Proggy Files\FB7\FBCMD.exe” /P"the file" /V
Errant command is:
[Register DLL\OCX]
Registering C:\blah\blah\blah.dll
Running RegSvr32 with commandline : -s C:\blah\blah\blah.dll
Execute failed, return code : 3
Since this works when I open the IDE & run it or any of the above methods then I have to check if this is a bug in the software, can you confirm please.
This is not a bug in FinalBuilder, it’s just reporting what regsvr32 is returning (3 is ERROR_PATH_NOT_FOUND). Without seeing your full script and project it’s impossible to say why this happens. BTW, turning off UAC doesn’t solve all security problems.