Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to Install : Error 0x80070643: Failed to install MSI package

I am trying to install an application(.msi), I used WiX installer to create a exe(it has depenendcies). I tried installing it in some of the PC and it works perfectly fine. But in one of the system when it is trying to install the msi it givens an error and roll backs the installation(which is normal).

Unable to figure out why it is not installing in this specific machine. Any suggestions.?

like image 343
Abdulla Jidda Avatar asked Jan 18 '17 13:01

Abdulla Jidda


1 Answers

This article seems to indicate that it's a generic issue - the system needs a reboot:

https://support.microsoft.com/en-us/kb/974061

so that's the first thing to try. If the issue persists it's probably something to do with the system being stuck in a state where it thinks there's a install still running. They could look at this to see the registry items that can affect this:

http://www.installsite.org/pages/en/msifaq/error/1618.htm

If you install the MSI file producing a log then it may show what's going on: msiexec /I [path to msi file] /l*vx [path to text log file]

It's possible that there is something in your setup that is causing this on that machine, especially if it performs another setup or a driver install (or something like that) that leaves the system in a state where it needs a reboot to continue your installation. Also, sometimes it's useful to add the MsiSystemRebootPending property as a launch condition so you don't start the install if a reboot is pending:

https://msdn.microsoft.com/en-us/library/windows/desktop/aa370492(v=vs.85).aspx

The error (from the comment) -2147024891 is 0x80070005, Access is denied. There does seem to be an occasional error where the system account loses access to some folders, so that may be the issue in this particular case. If the access to the C:\ drive (and maybe some others) do not allow full access to the SYSTEM account then that could result in some odd downstream problems.

like image 172
PhilDW Avatar answered Sep 30 '22 19:09

PhilDW