We are trying to install one of our products on a customer system. In the MSI there is a dialog where we invoke a Custom Action from a DLL when the user clicks "Next". The custom action is very simple, it is basically just a string.Replace, however the action instantly returns with the value '3'.
Here are the logs:
MSI (c) (88:20) [12:59:10:372]: PROPERTY CHANGE: Modifying MSSQL_SERVER property. Its current value is 'localhost'. Its new value: 'dbserver'.
MSI (c) (88:20) [12:59:16:389]: PROPERTY CHANGE: Modifying MSSQL_DATABASE property. Its current value is 'Database'. Its new value: 'MyDatabase'.
MSI (c) (88:20) [12:59:16:483]: PROPERTY CHANGE: Deleting CHECK_MSSQL_CREATEDB property. Its current value is 'Selected'.
MSI (c) (88:20) [12:59:24:878]: PROPERTY CHANGE: Modifying MSSQL_USERNAME property. Its current value is 'sa'. Its new value: 'MyUser'.
MSI (c) (88:20) [12:59:30:631]: PROPERTY CHANGE: Adding MSSQL_PASSWORD_PROP property. Its value is '**********'.
MSI (c) (88:20) [12:59:30:741]: PROPERTY CHANGE: Modifying MSSQL_PASSWORD property. Its current value is 'MSSQL_PASSWORD'. Its new value: 'abc123'.
MSI (c) (88:20) [12:59:30:741]: PROPERTY CHANGE: Adding STRING.REPLACE.VALUE property. Its value is 'abc123'.
MSI (c) (88:20) [12:59:30:741]: PROPERTY CHANGE: Adding STRING.REPLACE.OLDVALUE property. Its value is '}'.
MSI (c) (88:20) [12:59:30:741]: PROPERTY CHANGE: Adding STRING.REPLACE.NEWVALUE property. Its value is '}}'.
MSI (c) (88:20) [12:59:30:741]: Doing action: StringReplace
Aktion 12:59:30: StringReplace.
Aktion gestartet um 12:59:30: StringReplace.
MSI (c) (88:88) [12:59:30:952]: Invoking remote custom action. DLL: C:\Users\a014\AppData\Local\Temp\MSI1E5.tmp, Entrypoint: StringReplace
Aktion beendet um 12:59:33: StringReplace. Rückgabewert 3.
Information 2896. Das Ausführen der Aktion StringReplace schlug fehl.
Now the curious part is, that on most systems, this works without any issues, but there are a few of our customers, where the installation fails.
What could be the issue here?
Thank you for your help!