How to extract .cab file and install .msp file through powershell.

D Vijayakumar VLR 126 Reputation points
2022-02-15T05:17:55.777+00:00

Hi All,

I have few .cab file if we click it shows one setup file that file extension is .MSP it means ms office 2010, 2013, 2016 related, so i want to extrat that cab file and install that extracted file it means .msp file through powershell script.

Windows for business Windows Server User experience PowerShell
Windows for business Windows Server User experience Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 39,916 Reputation points
    2022-02-16T09:58:02.61+00:00

    Hello @D Vijayakumar VLR

    you can use the msiexec command to install this MSP files. From Powershell would looks :

    Start-Process msiexec -ArgumentList '/p yourpatchfile.msp /qn'

    You can see other parameters for msiexec at: https://learn.microsoft.com/en-us/windows/win32/msi/command-line-options

    Hope this helps with your query,

    --
    --If the reply is helpful, please Upvote and Accept as answer--


  2. Krupa Gundraju (Larsen & Toubro Infotech Limit) 126 Reputation points
    2022-08-17T11:51:48.387+00:00

    Hello, I am also looking for a solution to extract .exe or msi from cabinet file and save it one place so that I can use these to install


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.