NOTE: You must have Administrator rights or equivalent to install these
The Framework EDI (FREDI) Server Component Setup is a single executable,
which installs and configures the FREDI components on a
server to enable ActiveX/COM clients - programmed to interface with FREDI components
- to run on the server. The setup
can run stand alone or it can be called from a program capable of running an external executable program.
System File updated
The following Windows system files are updated. These files will be copied over to the
Windows System directory and will overwrite older versions.
FREDI v. 5.2 Components Installed
The following Framework EDI files are installed in the BIN subdirectory of the target
path that the user had specified. When upgrading, these files will overwrite older versions of existing files. FREDI components are dependent on one another and must be installed and registered in the order shown below. The installer takes care of the order in
which these file are installed.
Edidev_SEC.dll Standard Error Code reference component.
The .NET Hybrid is installed to the global assembly cache (GAC). The
installer will replace an existing FREDI .NET hybrid in with a later version.
The program to uninstall Framework EDI is installed in the Window System directory.
When Framework EDI SDK is installed the .NET hybrid is also removed from the GAC.
Edidev_SDK_Uninstall.exe Framework EDI uninstaller program.
NOTE: The components installed by the runtime setup may change from one version to
the next. The components listed in this documentation apply to this version only.
The following FREDI utilities are installed on the server on the target path
eFileManager.exe - EDI file manager utility.
eAnalyzer.exe - EDI file analyzer utility.
SefManager.exe - SEF file manager utility.
eSecurityConsole.exe - Security utility.
frediIsapiConsole.exe - Framework EDI ISAPI utility.
The FREDI Runtime Setup records the files that it installs as well as all the setup settings
in the registry. The Edidev key is created in the following registry branch:
When the uninstaller removes files from the computer, it reads the registry information
under the key:
Before installing the component files in the runtime setup, any previous installation of the
components are first removed. The runtime setup program determines previous file
installations from the recorded files under the registry key mentioned above.
Executing Setup in a Program
The FREDI Runtime Setup can be executed in a program that can run an external program. The syntax of the call is as follows:
Where "123456ABCDEFGH" is the serial number and "C:\Program Files\Edidev" is the
target path. Please note that the serial number MUST NOT contain any
dashes or hyphens. That is, a serial number like
"1234-56AB-CDEF-GHIJ" is not allowed.
If there are no parameters following the executable in the command line, the program
will launch a GUI interface to allow interactive installation.
Sample Visual Basic program
The following is a sample Visual Basic program to execute the setup.
Private Type PROCESS_INFORMATION
hProcess As Long
hThread As Long
dwProcessId As Long
dwThreadId As Long
Private Type STARTUPINFO
cb As Long
lpReserved As String
lpDesktop As String
lpTitle As String
dwX As Long
dwY As Long
dwXSize As Long
dwYSize As Long
dwXCountChars As Long
dwYCountChars As Long
dwFillAttribute As Long
dwFlags As Long
wShowWindow As Integer
cbReserved2 As Integer
lpReserved2 As Long
hStdInput As Long
hStdOutput As Long
hStdError As Long
Private Declare Function CreateProcess Lib "kernel32" Alias "CreateProcessA" _
(ByVal lpApplicationName As String, _
ByVal lpCommandLine As String, _
lpProcessAttributes As Any, _
lpThreadAttributes As Any, _
ByVal bInheritHandles As Long, _
ByVal dwCreationFlags As Long, _
lpEnvironment As Any, _
ByVal lpCurrentDriectory As String, _
lpStartupInfo As STARTUPINFO, _
lpProcessInformation As PROCESS_INFORMATION) As Long
Private Declare Function OpenProcess Lib "kernel32.dll" _
(ByVal dwAccess As Long, _
ByVal fInherit As Integer, _
ByVal hObject As Long) As Long
Private Declare Function TerminateProcess Lib "kernel32" _
(ByVal hProcess As Long, _
ByVal uExitCode As Long) As Long
Private Declare Function CloseHandle Lib "kernel32" _
(ByVal hObject As Long) As Long
Private Declare Function WaitForSingleObject Lib "kernel32" (ByVal _
hHandle As Long, ByVal dwMilliseconds As Long) As Long