Problem:
Two problems were detected concerning the uninstall of the Net Express 5.0 Application Server which was updated by WrapPack 5:
1. After an uninstallation and before a reboot of the system:
- the Micro Focus License Manager is not uninstalled from the services
- the file mflmwin.exe, installed by default in C:\\Program Files\\Micro Focus\\Server 5.0\\bin, is locked and cannot be removed
2. after a subsequent reboot, the following error message is displayed:
----------------------
Runtime DLL 'CBLRTSM', version 5.0, entry point _mFgmain2
not recorded in registry, not found or incompatible with requirements
of dynamic bound COBOL program. Dynamic binding of RTS requires:
Runtime DLL 'CBLRTSM', at least Version 5.0
---------------------
Resolution:
Before the Application Server is uninstalled, the Micro Focus License Manager should be uninstalled using a command prompt from the directory where the "bin"-directory of the Application Server is installed, by default: C:\\Program Files\\Micro Focus\\Server 5.0\\bin
mflmwin.exe -u
uninstalls the License Manager from the windows services and the uninstall can be done not having this problem.
-------------------------
When the problems as described above occurs, the application server was already uninstalled. One of the following workarounds can help to resolve it.
1. provide CBLRTSM.DLL from the Micro Focus Net Express runtime version 5, e.g.:
Copy CBLRTSM.DLL "C:\\Program Files\\Micro Focus\\Server 5.0\\bin\\CBLRTSM.DLL"
CD C:\\Program Files\\Micro Focus\\Server 5.0\\bin
MFLMWIN -i
MFLMWIN -u
DEL MFLMWIN.EXE
DEL CBLRTSM.DLL
CD ..
RD bin
CD ..
RD "Server 5.0"
DIR
CD ..
if no more in use, also RD "Micro Focus"
The MFLMWIN -i is only necessary, if the Lisense Manager is no more running, e.g. problem no. 2 from above.
2. when an appropriate CBLRTSM.DLL cannot be provided, the Micro Focus License Manager service can be removed as follows:
To terminate mflmma.exe and mflmwin.exe run the following commands.
"taskkill /f /im mflmma.exe"
"taskkill /f /im mflmwin.exe"
To check the state of the service...
sc \\\\%COMPUTERNAME% query "Micro Focus License Manager"
To remove the mflmwin service.
sc \\\\%COMPUTERNAME% delete "Micro Focus License Manager"
Afterwards the MFLMWIN.exe file and the bin directory can be deleted.
-------------------------
The problem will be solved with Net Express 5.1.