Answers for "install powershell msi comand"

0

install powershell msi comand

$MSIInstallArguments = @(
    "/i"
    '"c:\alkane.msi"'
    "/qb!"
    "/norestart"
    "/l*v"
    '"C:\Temp\alkane_install_log.log"'
)
Start-Process "msiexec.exe" -ArgumentList $MSIInstallArguments -Wait -NoNewWindow 


$MSIUninstallArguments = @(
    "/x"
    "{0233CEF0-B5CD-40BB-AEAD-A131A547112E}"
    "/qb!"
    "/norestart"
    "/l*v"
    '"C:\Temp\alkane_uninstall_log.log"'
)
Start-Process "msiexec.exe" -ArgumentList $MSIUninstallArguments -Wait -NoNewWindow
Posted by: Guest on October-27-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language