View Single Post
Old 5th April 2007, 18:41   #1001  |  Link
Dr Pizza
Registered User
 
Dr Pizza's Avatar
 
Join Date: Feb 2007
Posts: 65
Quote:
Originally Posted by clsid View Post
Spaces in the path cause problems. Hence the usage of GetShortName. Try if this works:

Code:
[Registry]
Root: HKLM; Subkey: SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32; ValueType: string; ValueName: VIDC.FFDS; ValueData: {code:GetVFWLocation|};  Flags: uninsdeletevalue; Components: ffdshow\vfw

[C0de]
function GetVFWLocation(dummy: String): String;
begin
  Result := GetShortName(ExpandConstant('{app}\ff_vfw.dll'));
end;
OK, I finally got round to testing this out.

It does the job.

Specifically, the value in Drivers32 apparently can't use an LFN. The LFN seems to work OK in drivers.desc.

But with that change, vdub can load files that require ffdshow to decode. Whether the library issue is resolved, I don't know--I have the VC8 libraries installed SxS as well as private to ffdshow, so I'm guessing I wouldn't see issues *anyway*.
Dr Pizza is offline   Reply With Quote