Problem with msi.dll

vgovind

Member
Joined
Mar 14, 2016
Posts
6
I've been getting this error for some time and every time I boot into windows. I'm not a computer guru, but I'm sure that this problem is that the file "msi.dll" is corrupted. I've tried startup repair and boot repair and replacing the msi.dll with a newer version. Unfortunately, the problem persists.
Here is an image of the error message:
Capture.PNG
If you can help that would be greatly appreciated. Thanks!
 
Hi vgovind

Since the troublesome file is in the System 32 folder, let's try a few system file checking methods .. System File Checker & "DISM"

System File Checker

1) Right-click the Windows Start Menu icon
2) From the menu, select Command Prompt (Admin)
3) To the question "Do you want to allow this app to make changes to your computer?", select Yes
7) Type in the following command: sfc /scannow

The scan takes a little while, but not usually more than twenty minutes (often less). Let us know if it "completed successfully", or if it reports that it "found but could not repair corrupted files".

Running DISM online


It's best to have a good and fast Internet connection for this method, and to make sure there is no malware presence on the computer beforehand.


1) Right-click the Windows Start Menu icon
2) From the menu, select Command Prompt (Admin)
3) To the question "Do you want to allow this app to make changes to your computer?", select Yes
7) Type in the following command: Dism /Online /Cleanup-Image /RestoreHealth


This can take quite a while - it varies a lot from machine to machine, and the speed of the Internet connection can add extra time when slow. Even if the "Percentage Complete" stops for a long time at a certian percentage, wait it out: it's fairly normal for the percentage displayed to not get refreshed for quite a long time.

The DISM procedure can sometimes help, even when SFC was unable to fix some file corruption. Let us know if the DISM method produces any errors.

In case you are curious, DISM stands for "Deployment Image Servicing and Management".... our concern with the tool is keeping the system image "clean & healthy".
 
To ensure Windows Installer engine is Enabled:

  1. Click Start
  2. In Windows 10,
    • right-click Start Menu
    • type Services.msc and select "Services"
  3. In Windows 8, 7, Vista, or XP
    • click in the Search box; in Windows XP, click Run
    • Type Services.msc and press the Enter key to open a Services screen
  4. If the "Startup Type" box across from "Windows Installer" is set to Disabled, change it to Manual
  5. Click OK to close the Properties screen
  6. Right-click on the Windows Installer service and click Start. There should be no error message.

If issue still not resolved then register Windows Installer.
To Register Windows Installer engine:


  1. Click Start Menu
  2. Type Cmd.exe and then right click "Command Prompt" to open as a administrator
  3. Type msiexec /Unregister within the Command Prompt and then click Enter key
  4. Type msiexec /Regserver within the Command Prompt and then click Enter key
  5. Restart Windows.
 
@FreeBooter
I think that might work, however, the service is already set to manual. So when I boot up the computer, it does not automatically start the service. I went into properties and tried to set the startup type to automatic but the box is greyed out. Suggestions? Thanks!
Varun
 
Hi all

vgovind - Manual is the default setting for the Installer service. It starts when it is called on. You can try re-registering the service, but if the file itself is corrupt, a wrong version, or has incorrect permissions, the re-registration might not fix things. Worth a try, though - it'd be nice if it works.

If it doesn't work:

Let's give DISM another try to get your system files healthy again. This time we'll create & use a Windows DVD as the source. The DISM commands will change a little. If this doesn't get your msi.dll situation fixed ... we'll move on to other strategies.

Create a bootable Windows 10 DVD


Go to the Microsoft Windows 10 website:
https://www.microsoft.com/en-us/software-download/windows10


1) Once on the Windows 10 site, scroll down to the section "Need to create a USB, DVD, or ISO?"
2) Click on the blue option button "Download tool now"
Once the download is complete, double-click MediaCreationTool.exe
3) "Getting things ready" will appear for a bit.
4) Agree to the License Terms by clicking on Accept
5) "Getting a few things ready" will appear.
6) On the following screen, select "Create installation media for another PC".
7) And click Next.
8) Select your preferences: language, Windows 10 version, bit-depth (the defaults are English, Windows 10, 64-bit)
9) Select ISO file.


If the iso is created on a computer already running Windows 10, simply put a blank DVD in the optical drive, right-click the .iso file you created & select "burn disk image". Otherwise use a DVD burning capable program (Roxio, Nero, Sonic, CyberLink, etc.) to create the bootable DVD -- look for a "burn image" option. You must use that special command, because simply copying the file to a DVD doesn't make the DVD bootable, it must be written as a system image (otherwise it ends up as a normal storage DVD that happens to have an .iso file on it).


===============================


Running DISM using a Windows 10 DVD


1) Make sure you are disconnected from the Internet. No Ethernet cable. Turn off the wireless.
2) Place the Windows 10 DVD in the DVD drive - cancel or exit out of any resulting screens.
3) Note the drive letter assigned to your DVD drive (you'll see this in File Explorer)
4) Right-click the Windows Start Menu icon
5) From the menu, select Command Prompt (Admin)
6) To the question "Do you want to allow this app to make changes to your computer?", select Yes
7) Type in the following command, replacing the "D" in the Source:wim: with the drive-letter assigned to your DVD-drive (if it's different)
Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:D:\sources\install.wim:1 /limitaccess
(if your DVD drive happens to be assigned the drive-letter D, you can copy and paste that line into your command prompt)


It can take quite a while - varies a bit from machine to machine.


===============================
 
Hi again, I appreciate all the help you've given me. It gives me another error message when i try to run the tool. Here:
error3.PNG
Also another thing. I already have a bootable windows 10 installer made (usb installer). When I click the setup, it also creates another error message. It's just one after another. Other error msg:
error4.PNG

Again, I appreciate the time you've spent to help me. Thanks!
 
Hi - while you're trying it again: quick question: what edition of Windows 10 is on the PC? Depending on where you bought it - different versions of Windows 10 might be installed:

It might matter "what part of town" you are in. The site I pointed you to is for users here in the US. If you are in Europe, you might need to use a Windows 10N or if you bought your computer in Korea - the Windows 10KN version. Also, for some countries, Windows is available in a Single Language version (China, for example, has a single-language version, for which Chinese is the permanent default language)... and, of course, when reinstalling or performing a system image task like DISM the Windows version and bit-depth must match the version on the PC (for example, "Windows Home, 64-bit" or "Windows Pro" 64-bit") ... there are also Enterprise, Education, Mobile, & Mobile Enterprise.


If you are here in the US, or have a US English version installed (no matter where you are at the moment) - then location shouldn't be an issue.

Should your personal computer not be able to run the Media Creation Tool, you could use a different computer to create the DVD. So long as the computer used selects the matching Windows 10 version and bit type when downloading, it should do. The reasons I prefer the DVD version over the USB are: 1) the DVD is read-only once written to a DVD-R or DVD+R disc. No malware can corrupt it, no USB exploits or infections to worry about (exploits such as BadUSB, or malware that reproduces onto any writable media attached to an infected PC) ... and 2) less problematic to boot from [I find that the USB flash drives that work the best are mainly those that employ the Rufus tool to create them].
 
Have you registered the Windows Installer?

Run Sfc /Scannow command and after SFC command finnish type:

Findstr /c:"[SR]" C:\Windows\Logs\CBS\CBS.log > %UserProfile%\Desktop\CBS.txt

Attach CBS.txt file store at Desktop to your next post.

As we have no idea which Windows system files are corrupted the error message displayed by Dism command could be not resolution we are looking for as error message could be because of opencl.dll file corruption which can be repaired by following below guide from Aura.

https://www.sysnative.com/forums/windows-update/18121-guide-opencl-dll-corruption-sfc-dism-windows-10-update-1511-th2.html?highlight=


Disable Windows Firewall and any other Firewall software you may have using, run the Media Creation Tool as a administrator.
 
Hi all, I just decided to back up my important files and reinstall windows. I think this is the simplest solution for me.
Thanks for everything!
Varun
 
Hi Varun ... I expect your computer should behave itself nicely after the reinstall. If anything goes haywire with the new installation, we'll be here! (Let's hope it all goes well for a nice long, long time).
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top