Passing MSI commands from an EXE

Use the chr(34) to help passing the MSI commands:

sCmd = chr(34) & sFile & chr(34) & ” /s /v” & chr(34) & “/qb REBOOT=R” & chr(34)

Advertisements