4/22/2021 0 Comments Powershell Script To Install Exe
Check for command line options with and see something promising.You see msiexec flash up into taskmanager but it does not actually install anything.
![]() ![]() The message would basically say that it could not find the specified MSI file. Executing msiexec directly starts the installer but returns control back to the Powershell Script. The way I like to solve this one is with Start-Process -Wait. ![]() The second thing that Start-Process does is ensure that your parameters are processed correctly. Start-Process msiexec.exe -ArgumentList MSIArguments -Wait -NoNewWindow. Powershell Script To Exe How To Approach ThatSee my post on Installing remote software on how to approach that.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |