Je tente d'installer en mode silencieux un fichier de correctif de matrice Windows (.msp) avec PowerShell.Fichier msp via l'applet de commande powershell
J'ai essayé ceci:
$argumentCU1 = "/i "+ '"' + $execCU1 +'"' + " /quiet"
Write-Host $argumentCU1
(Start-Process -FilePath msiexec.exe -ArgumentList $argumentCU1 -wait -verb runas).WaitForExit
où execCU1 $ est le chemin vers le fichier (chemin UNC) mais il n'a même pas lancé.
Est-il même possible d'exécuter .msp via powershell? Cette ligne cmd est-elle correcte?
merci
MSP est juste un fichier de transformation qui accompagne habituellement et le fichier MSI. msiexec.exe/i "pathto fichier .msi"/p "pathto fichier .msp" – Matt
Donc, je dois installer le msi avec sa mise à jour dans la même commande? –
J'ai trouvé mon erreur merci pour les informations –