I have created two windows-installer A.msi and B.msi. I want B.msi should start after completion of A.msi. How can I add some functionality in A.msi which start another installer. I am using Wix.
I add CustomAction in .wxs file
<CustomAction ExeCommand="cmd.exe /k msiexec.exe /i "[SourceDir]B.msi"" Return="asyncNoWait" Execute="immediate" Id="RunSecondMSI" />
AND in InstallExecuteSequence table
<InstallExecuteSequence>
<Custom Action="RunSecondMSI" Before="InstallFinalize">NOT Installed</Custom>
</InstallExecuteSequence>
Thanks