I'm using wix to make a installer. The application uses ReportViewer2010 and we do not want to change it. So, we want to install the application and run the microsoft ReportViewer2010 redistribution in the installer.
<CustomAction Id="RunReportViewer2010Redistribution"
Directory="ReportsFolder"
ExeCommand="[SystemFolder]cmd.exe /C start ReportViewer.exe"
Return="asyncNoWait" />
<InstallExecuteSequence>
<Custom Action ="RunReportViewer2010Redistribution" After="InstallFinalize">
</Custom>
</InstallExecuteSequence>
This works fine. However, it pops a cmd window although it closes itself. Is there a way so that the cmd window won't popup?
Thanks
*** tried [SystemFolder]cmd.exe /C start ReportViewer.exe & exit
does not work. the cmd window still pops.