Hi Angelo,
Our "Execute inline script code" custom action is the equivalent of the Windows Installer
"Type 38" predefined custom action and this custom action always returns success. Our "Launch attached file" custom action (when targeting a VBS file) is the equivalent of the Windows Installer
"Type 6" custom action and this custom action can return any of the values exposed in
"Return Values of JScript and VBScript Custom Actions" article.
Starting with an "Enterprise" project type or higher you can verify the type of your custom actions added in "Custom Actions" page by checking the "Table Editor page -> CustomAction table -> Type column". Also, please take a look on the
"Custom Action Types" article.
Please use the approach exposed in our
"Exit installer if same version is found" thread which debates a similar issue.
If you have any questions, please let us know.
Best regards,
Dan