'*******************************************
Dim oShell, MyApp, i
Set oShell = CreateObject("WScript.Shell")
' MyApp is the application path with silent switch.
' Use appropriate silent switches as per the application
MyApp = """C:\MyApplication\Setup.exe"" /Q"
i = 0
i = oShell.Run(MyApp, 1 ,True)
WScript.Echo "Exit Code is: " & (i)
'Uncomment the following line of code while using this script in software delivery and comment the above line
'WScript.Quit(i)
Set oShell = Nothing
'*******************End Of Code**************
I would like to add the following to the script for MyApp
Setup.exe /UL1033 /V"SERIALNUMBER=XXXX-XXXX-XXXX-XXXX-XXXX-XXXX"
Every time I do I keep getting syntax errors, I am sure it is the quotes. Can you help out.



Help

Back to top









