Purpose of Msi.dll
The msi.dll file is required to install Microsoft Installer (MSI) packages. If this file is removed, Windows Installer will not work.
In this article, we are going to discuss an instance of the msi.dll error on a Windows 98 computer and its solution.
Msi.dll error in Windows 98
When you try to install any Windows Installer-based program on a Windows 98 computer, you may receive an error message similar to the one displayed here:
“The MSIEXEC.EXE file is linked to a missing export MSI.DLL:222.”
After you click OK, another error message, similar to the one mentioned below appears:
“Cannot launch C:\Windows\System\MSIEXEC.EXE, a device attached to the system is not functioning.”
Cause of the Error
This issue occurs if the Windows Installer files on your computer are mismatched because of an attempted update of Windows Installer files.
When the above problem occurs, the first thing you need to do is restart your computer and again try to install the Windows Office program.
If the Windows Installer has recently upgraded its files, the files are not directly copied to their correct location. Instead, they are first copied to a temporary location. It is only when you restart your computer the files are copied to the appropriate folder.
To fix the above error, perform the following tasks.
Task 1 – Download the Windows Installer Update from Microsoft Download Center
- Click on the link and press the Download button next to InstMsiA.exe.
- Save the file on your Desktop.
Task 2 – Rename the Windows Installer Files
- Go to the Start menu and select Shut Down.
- Next, click Restart in MS-DOS mode, and then click the OK button.
- Type the following commands at the command prompt and press Enter after each command to execute it.
ren msi.dll msi.old
ren msihnd.dll msihnd.old
ren msiexec.exe msiexec.old
- Restart Windows.
Task 3 – Start Windows in Safe Mode
- Click Start and select Shut down.
- Next, click Restart and click OK.
- Press and hold down the SHIFT key when window reboots.
Task 4 – Install the Windows Installer Update on Windows 98 computer
- Double-click on the InstMsiA.exe file that you saved on the desktop.
- Next, follow the onscreen instructions to complete the installation process.
- Finally, restart your Windows 98 computer.
Do registry issues cause DLL errors, such as msi.dll errors?
Yes, they do. In fact a corrupt or damaged registry is often found to be the root cause of common DLL errors. Entries related to DLL are stored in the registry. You may receive recurring DLL errors, if the entries related to DLL files are damaged, corrupt, or missing.
To repair DLL errors, such as msi.dll errors that are the result of registry issues, scan your registry using an efficient registry cleaner program, such as RegServe. It is a powerful tool that allows you to perform custom registry scans to fix DLL errors.
MSI.DLL – Is it a safe file?
Yes, the true msi.dll is a safe file from Microsoft. However, a few instances of malware programs, using a file named msi.dll are also reported.