Where the MSI file is copied after the installation?

can't find windows installer folder windows 10
extract msi from exe
msiexec.
msi file
msi file is missing while installing sql server how to troubleshoot
msi files in windows installer folder
cannot delete msi installer
sql server setup has encountered an error when running a windows installer file

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.


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

Where does Windows store MSI files for uninstallation?, C:\WINDOWS\Installer\19b4d2.msi DOES NOT exist in the Installer cache Copy this original msp file to the following Windows Installer cache:. Now you should see two MSI files - one ending with _x64.msi, which is the 64-bit version of installer, and another one ending with _x86.msi, which is the 32-bit version. Copying the two msi files to your desktop. After the msi files are copied, close installer screen by selecting the Cancel button.


You can force a recache/reinstall using with MSIEXEC, the recommended way to update buggy installation packages that cannot be otherwise removed is to recache with a fixed package, then uninstall as usual.

MSIEXEC /fv setup.msi

How to restore the missing Windows Installer cache files and resolve , When a product is installed by using the Windows Installer, important files Missing files cannot be copied between computers because the files are unique. These entries are logged in either the Setup or MSI Verbose log. When a product is installed by using Windows Installer, a stripped version of the original .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.


I had put down lot of comments into the accepted answer so I thought I would rather post an answer after creating a summary with few more additional details:

Installshield creates a copy of the *.msi files into %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:

  1. Check LocalPackage attribute inside registry at path - [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersio‌​n\Installer\UserData‌​\<InternalUserId>\Pr‌​oducts\<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

  2. Open C:\Windows\Installer folder in explorer. Change the view of the directory to Details view. Add Subject column to the view. Whooaa!! The mystery is solved. The product name is visible right there in Subject column

Missing Windows Installer cache requires a computer rebuild, We have a MSI installer that we cannot install in one Windows 7. The whole process finishes OK but when you go to program installation path  Within the witem interface you are able to specify a file or files that you want copied to a location specified by yourself on the local computer - it then adds this to the msi that it builds. It's then very easy to deploy the msi using Config Manager.


When you install a package using the Windows Installer service, the msi file does get cached in the hidden folder "%windir%\installer". It does get renamed, and the new name is a hex string that doesn't have an obvious correlation to the original name. Something like "123ab4.msi".

It's not hard to figure out which one is the cached copy of your app. The quickest way is to look for the cached file that's the same size. When you think you've found it, hover your pointer over the file's name in Windows Explorer. The tooltip will come up, and it will show you the data from the summary information stream of the package. Product name, author name, and so on. Once you've found the right file, you can directly edit it with a tool like Orca.

If you're just trying to fix things on your own machine, then directly editing the cached database may be a good option. However, Microsoft does provide a built-in way to handle a problem like this. You can create a patch (an msp file), which contains the difference between the original msi file and your updated msi file. That patch could then be distributed to anyone else that has already installed your app using the original install, and it would be easy to use.

MSDN discusses patch creation here - http://msdn.microsoft.com/en-us/library/aa368060%28VS.85%29.aspx

Deleting the hidden folder generally isn't a good idea, as that breaks some core functionality of the Installer service. That includes patching, detect and repair, and the ability to upgrade via migration rather than uninstalling and reinstalling.

MSI installer finishes succesfully but no files are copied to the , Since Windows Installer handles only the files inside the MSI package and the external This file operation will copy the external file into the installation folder. First, I decided to exclude the zip-file from the package at all and just copy it next to the msi-file after building the package. Second, I made the “Custom Action Data” property equal to “[OriginalDatabase]” value, which is processed inside of my custom action DLL to extract full path to the msi-file and substitute the msi-file with


To see useful names of msi files in C:\Windows\Installer right click at the top of explorer and add the field to view Subject (will probably have to select more as it isn't a default like name, date modified, etc.) From here you can find the msi and use it to uninstall programs.

How to install a user specific file, When you install a program in Windows, the program's .msi setup package gets copied to the Installer folder. The Installer folder is a protected folder, with  Open Windows Explorer, type %temp% in the address bar and press Enter. Sort the files in the folder by the modification date. The newest file on the list should be the .msi file you are looking for. Copy the MSI file to a safe location before you close the installer prompt window (see step 2).


Cleanup Obsolete .MSI and .MSP files in the Windows Installer , 1 When should you use the MSI Installer vs. the InstallShield Setup Installer? it in Download the MSI Installer section, extract the package and copy the files to  The InstallFiles action operates on files specified in the File table. Each file is installed based on the installation state of the file's associated component in the Component table. Only those files whose components are resolved to the msiInstallStatelocal state are eligible for copying.


MSI Installation, Once the download is complete, copy the rsSharepoint.msi file to all the frontend be configured until after all the files are installed on the frontend web servers. So now is my question: how to set msi to ask for reboot after installation instead, copy the file to some temp location and finish after the reboot? I thought this woud be done automatically when no user interface is shown, but it is not done :


MCTS Microsoft SharePoint 2010 Configuration Study Guide: Exam 70-667, The DuplicateFile table is where you specify files that you want to copy, assuming you also installed the files with the File table. The following example copies  After extraction completes, copy the file icawebwrapper.msi and paste it in the Citrix installation directory "C:\Program Files (x86)\Citrix Try launching the app, if the same prompt appears then click on browse and navigate to Citrix folder and select the copied file icawebwrapper.msi