![Powershell Script To Install Msi Powershell Script To Install Msi](/uploads/1/2/5/0/125008740/916891266.png)
Posted by4 years ago
The odd behavior is that when I was doing testing on the script and had issue with the adding of the VMware VM drives (now has been fixed) over to Nutanix VM a single VM out of three tested with could install the MSI. Mechanical engineering dictionary download online.
Archived
Let me preface this by saying I am really new to PS so please be gentle. I am trying to write a simple script to install an internal application in quiet mode. My environment is Windows 7 32 bit. To call the script, I am simply running a batch file:
Powershell -File Install.ps1
This is triggering without issue. For inside the PS1, I have tried multiple ways of initiating a quiet install: call the MSI directly, call msiexec , use start-process to call both previous methods, etc. no matter what I do, I can't seem to get the MSI to install in quiet mode via powershell. It works fine from command prompt. It works fine if I drop the /quiet attribute from powershell. However, once I put the /quiet attribute on, I see the msiexec.exe hits task manager but never installs.
My latest attempt for the command is:
Msiexec.exe /i c:psinstall.msi /quiet
As I stated, if I drop the quiet, I get the install interface and if I run this in command prompt, it installs without issue.
Powershell Script To Install Msi Mst Then Msp
Any help that anyone could provide would be much appreciated.
Also, any recommendations for learning Powershell better would be much appreciated. I have a background in some programming and a lot of work with batch files so I am pretty much piecing it together by googling specifically what I am trying to accomplish. CBT Nuggets is in my queue but other technologies are taking priority at this time.
Powershell Script To Install Msi Free
15 comments