Why is it when I double click a MSP file it works fine but if I use MSIEXEC to install it I get a "this pactch package could not be opened" error. What am I doing wrong?
I have an MSP file that if you double click on it and follow the prompts it runs great. but if I try and install it via Command line I get the "package could not be opened error" I have tried using msiexec /p and misexec /update to no avail.
Please log in to answer
Posted by: worzie 2 years ago
msiexec /p <full path to msp required> or with package installation: msiexec /i msi patch=<full path to msp> (could try with /a for administrative as well; I've never had to).
Most patches have requirements too, such that a certain version needs to already exist. So be sure to run the msp like you mentioned on a target PC where the cmd line is failing to verify that.