I'm using Wix installer in which i use custom action to execute my exe(windows form) with command line arguments. I tried the following way in order to execute my custom action.
<CustomAction Id="ConnMgrCACmd" Property="ConnMgrCAWithProperty"
Value=""[#ConnectionManagerExe.exe]" /COMMAND=ADD FILEPATH="[INSTALLDIR]" KEY="[DB_KEY]" Execute="immediate"/>
<CustomAction Id="ConnMgrCAWithProperty" BinaryKey="WixCA" DllEntry="CAQuietExec"
Execute="deferred" Return="check" Impersonate="no"/>
But the above code is not working for me. Is my custom action is right?.