Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Installing MSI programs and passing arguments help

$
0
0

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)


Viewing all articles
Browse latest Browse all 12506

Trending Articles