[osiris] Re: Windows agent on NT4

David Vasil dmvasil at ornl.gov
Thu Sep 14 08:55:14 EDT 2006


Steve Ledwith wrote:
> I am unable to get the scan agent to install on NT4. The error is:
> 
> Entry Point Not Found
> The procedure entry point SHGetSpecialFolderPathA could not be located
> in the dynamic link library SHELL32.DLL
> 
> Apparently the version of shell32.dll with this function only exists on
> NT4 if Active Desktop was installed with IE4. From what I can figure out
> I would have to downgrade from IE6 to IE4 turn on Active Desktop and
> then upgrade back to IE6. Does anyone know if the Osiris Windows agent
> can be patched so that it doesn't require this function?

Hi Steve,
  Do you know if this error is seen only on NT4 systems?  I only have
access to a WinXP Pro system for building/testing so my Osiris+NT4
experience is nill.  I did look through the source code for this
function and the culprit is here:

src/libfileapi/fileapi.c:747:    if( SHGetSpecialFolderPath( NULL, path,
CSIDL_APPDATA, TRUE ) == TRUE )

This function is required for the CLI functionality to work as it
defines where to store the MD's certificate and temporary files during
CLI operation.  I also looked on the MSDN website and saw this:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/enums/csidl.asp
CSIDL_APPDATA (0x001a)
    Version 4.71. The file system directory that serves as a common
repository for application-specific data. A typical path is C:\Documents
and Settings\username\Application Data. This CSIDL is supported by the
redistributable Shfolder.dll for systems that do not have the Microsoft
Internet Explorer 4.0 integrated Shell installed.

Could you try installing Shfolder.dll and then run the scan agent
install again?
http://www.microsoft.com/downloads/release.asp?releaseid=30340

-- 
-dave



More information about the osiris mailing list