<CustomAction Id="RegisterEXE" Directory="INSTALLDIR" ExeCommand=""INSTALLDIR]MyApp.exe" /Register" Execute="immediate" Return="ignore" />
<InstallExecuteSequence>
<Custom Action='RegisterEXE' After='InstallFinalize' />
</InstallExecuteSequence>
I have used this code But it does not execute the exe. Exe register itself as ole server and perform few other tasks.
use this
<CustomAction Id="RegisterEXE"
Directory="INSTALLDIR"
ExeCommand=""[INSTALLDIR]TKW5.exe" /Register"
Execute="deferred"
Return="ignore"
Impersonate="no"
/>
<InstallExecuteSequence>
<Custom Action='RegisterEXE' After='InstallFiles' />
</InstallExecuteSequence>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With