I\'ve created a simple winforms app and a custom installer. It all seems simple enough but I get the following popup and error details in the event log.
After many hours going around in circles I have finally found the problem and more importantly, the solution.
It should be possible to pass the parameters as "CustomActionData" as defined on this blog but the parameters are a little querky to say the least...
I found that the text parameters can't have quotes around the parameter name and should be formatted like this:
/Param1=[CONFIG_TESTFILE] /Param2=[CONFIG_TESTFOLDER]
In addition, to use the target directory parameter you need to include the quotes but instead of ending the field with a back slash, you must use a space instead, like this:
/target="[TARGETDIR] "