Pass command-line arguments to WiX custom action
问题 We have a desktop application installed through a windows installer (msi), and we want to add a custom action that relaunches the .exe when we have pass LAUNCH_APP=1 to the cmd . So I have a vbs script that launch a bat file that launch install the msi (major upgrade): vbs script: Set WshShell = CreateObject("WScript.Shell") Const TemporaryFolder = 2 Dim fso: Set fso = CreateObject("Scripting.FileSystemObject") Dim tempFolder: tempFolder = fso.GetSpecialFolder(TemporaryFolder) WshShell.Run