Facy87
Facy87

Reputation: 145

Pack .EXE in Wix Installer and execute after installation

I'm creating an installer for my application using the wix toolset.

I need to include an .EXE file and execute it during/after the installation process (the .EXE shall not be installed to the application folder). The .EXE also has a dependency on a .DLL file, which came with the .EXE file.

How can I accomplish this?

Greets

Upvotes: 0

Views: 3042

Answers (1)

luqi
luqi

Reputation: 2909

This should work ...

<CustomAction Id         ="echo_test"                     
              Directory  ="INSTALLLOCATION"
              ExeCommand ='NOTEPAD.EXE echo_test.txt'
              Execute    ="immediate"
              Return     ="asyncNoWait"
                    />

Taken from: Call command line after installation in Wix

Upvotes: 2

Related Questions