I have to replace it because of a bug that blocks the software uninstallation, but Windows can't find the MSI file if I use the file search utility, but I think the MSI is stored somewhere where the Add or Remove Programs
utility can use it.
msi file is stored in the Windows Installer cache. Every update to the product such as a hotfix, a cumulative update, or a service pack setup, also stores the relevant . msp or . msi file in the Windows Installer cache.
View MSI files by launching the app, or by right-clicking an MSI file in File Explorer and choosing "Open in MSI Viewer".
MSI is a file extension that applies to database files used by the Microsoft Windows Installer (MSI). They contain information about an application divided into features and components, and every component may contain files, registry data, shortcuts, and so on.
msi files are only used during installation of a program or an update. In a perfect world the installer would have cleaned them out automatically. If you can delete them, then do.
Does it not go into %windir%\installer\
Though I think that the files may get renamed. Not sure where you get the name mapping from...
This directory gets very big so I move it to an external drive. This sometimes cause uninstalls or updates to fail with a missing msi error, but this can be fixed by putting the directory back
Installshield creates a copy of *.msi
files at %windir%\installer\
path where %windir%
is an environment variable which usually points to C:\Windows\
. Before creating a copy of *.msi files it renames it using some random nomenclature e.g. I can see a file named 65ec5c99.msi
in my C:\Windows\Installer
directory.
Now to figure out the actual product name for the renamed MSI file there are two ways:
Check LocalPackage
attribute inside registry at path - [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\<InternalUserId>\Products\<ProductGUID>\InstallProperties]
. InternalUserId
is something of sort S-1-5-18
. ProductGUID
is a GUID like 00058CD18F0BF523DA1072073D56715D
embedded as a public property inside the MSI file itself. You can check this public property by opening your MSI file using any tool e.g. orca
Open C:\Windows\Installer
folder in explorer. Change the view of the directory to Details
view. Add Subject
column to the view. Now the product name can be seen in Subject
column as shown in the screenshot below:
Note: C:\Windows\installer\
directory is not visible in explorer until we check Show hidden files, folders, and drives
and uncheck Hide protected operating system files(Recommended)
advanced settings under view folder options as shown in the screenshot below:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With