Hi, I find myself in need of a simple script to pass arguments to a msi installation. This is what I came up with for the code. What I'm looking for is a way that the $args line will be read by the msi. Thanks in advance for any help on this one.....
$Inst = @ScriptDir & "\KeyViewComponent1080.msi"
$args = "/qb /l*v C:\sccm\msi_logs\KeyViewComponent1080.log"
ShellExecuteWait($Inst,$args, @ScriptDir)
This works but I need to pass more arguments....
$Inst = @ScriptDir & "\KeyViewComponent1080.msi"
$args = "/qb"
ShellExecuteWait($Inst,$args, @ScriptDir)