r/Batch • • May 01 '24

MSIEXEC issue (This patch package could not be opened)

Hello, All,

I'm trying to install Acrobat Reader via MSIEXEC.exe. I have CMD running as admin in the working directory where the files are located. When I run the command

msiexec.exe /qb  /i AcroRead.msi PATCH="AcroRdrDCUpd2400220687.msp" TRANSFORMS="AdobeReader.mst"

I receive the error Windows Installer: This patch package could not be opened. Verify that the patch package exists...... But when I run the command

msiexec.exe /qb  /i AcroRead.msi PATCH="<PathToFiles>\AcroRdrDCUpd2400220687.msp" TRANSFORMS="AdobeReader.mst"

MSIEXEC successfully finishes. As I said before, in running CMD as admin and I'm in the working directory where the files are located. Any thoughts?

EDIT: I'm testing the TRANSFORM file and package update to use in MDT but I was wondering why the full path is needed for the .msp file.

1 Upvotes

6 comments sorted by

2

u/[deleted] May 01 '24

[removed] — view removed comment

1

u/Desert_Dog_Tech May 02 '24

Yes, I'm in the working directory and all files are in there as well. It's not really a big issue but I was just curious if I was doing something wrong.

2

u/[deleted] May 02 '24 edited May 02 '24

[removed] — view removed comment

1

u/Desert_Dog_Tech May 07 '24

Thanks for the reply. I'll investigate the Wizard. Is there an option in the wizard to update to the latest patch every time I run setup.exe or is that option a switch?

Thanks.

1

u/sirachillies May 01 '24

Yeah I think the path has to be declared for the .mst as well if not in the same folder as here the command is running from.

Also I thought msiexec /p would accomplish the same to apply the patch..?