Hello,

We are launching a DataFlex executable from a MSI installer and we need to return a value to the MSI.

For now, as we don't know how to return a value from DF, we are using an intermediate VBScript that launchs the DF EXE and throught an INI the EXE returns a value that the VBScript "translates" to the return value expected by the MSI.

We are willing to don't use intermediaries.

More info on what we have to return: Custom Action Return Values - Win32 apps | Microsoft Learn

In VBScript we have something like:
Code:
Function OurFunction ()
    ....

    OurFunction = 0
End Function