I would think your second attempt should work but noticed you have one part of 
the command backwards.

msiexec.exe /i appname.msi PATCH=%~dp0patch.msp /q


From: [email protected] [mailto:[email protected]] On 
Behalf Of ccollins9
Sent: Wednesday, November 04, 2015 2:04 PM
To: mssms
Subject: [mssms] Installing MSI and MSP a same time

Anyone have experience doing this with SCCM 2012?  I'm not trying to use a 
patch file on this, but will if I need to.  Example command line: msiexec.exe 
/i appname.msi PATCH=patch.msp /q. Apparently the PATCH= needs a full path. How 
can I identify the temp path that the file will run from c:\windows\ccmcache\x?

I've tried:

msiexec.exe /i appname.msi PATCH=.\patch.msp /q

and

msiexec.exe /i appname.msi PATCH=~%dp0patch.msp /q


None seem to be working. Any help would be appreciated.  Thanks!

This electronic mail transmission may contain confidential information intended 
only for the use of the individual(s) identified as addressee(s). If you are 
not the intended recipient, you are hereby notified that any disclosure, 
copying, distribution or the taking of any action in reliance on the contents 
of this electronic mail transmission is strictly prohibited. If you have 
received this transmission in error, please notify me by telephone immediately.

Reply via email to