I am trying to convert an msi for a web setup project to WiX using the dark command. The build for the WiX project fails because there is an error "Unresolved reference to symbol 'CustomAction:WEBCA_CreateURLs' in section 'Product:*'". I added the custom action to the WiX project and am now getting an error that a DLL required for the install to complete could not be run when I executed it. When I edited the msi with Orca, I noticed that this custom action was not defined in the msi even though it was specified as a control event for both the WebFolderForm and AdminWebFolder form as shown:
Dialog_ | Control_ | Event | Argument | Condition | Ordering |
AdminWebFolderForm | Next | DoAction | WEBCA_CreateURLs | 1 | 0 |
WebFolderForm | Next | DoAction | WEBCA_CreateURLs | 1 | 0 |
Any recommendations on how this issue can be resolved?