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.?
This article seems to indicate that it's a generic issue - the system needs a reboot:
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:
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:
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.
User contributions licensed under CC BY-SA 3.0