How to run an executable file with parameters in WiX?

I want to run an executable file with command line options on WiX. How to pass parameters?

I would add that I need to run a console EXE file that is contained in the file How to run a running application after installation , but I donโ€™t know how to achieve this.

+4
source share
2 answers

Just set the ExeCommand attribute to the command line you need. For custom actions used in this article, the ExeCommand attribute may contain command-line options.

+1
source

In most cases, creating installers is not using hints. This is ugly, and you need to be patient about admin rights when trying to run third-party applications.

Instead, you can create a deferred CA using C ++ , C #, or VB.NET . This is a little longer, you need to know the โ€œsomeโ€ syntax, and so on, but you can control whatever you want. To start, consider a few resources:

0
source

All Articles