Hello,
Thanks, it was the sequence issue.
You're always welcome. I am glad you overcame this issue.
Is there an example of a custom action documented somewhere?
For this, you can have a look on the following article which I think you may find useful:
https://www.advancedinstaller.com/user- ... rp-ca.html
I cannot see if my custom action is being executed - and a return value of 1 (which apparently mean success?)
Yes, if an action returns "1" in the log file, it means success.
I have tried using session.Log to see if I'm entering the action, but it does not log anything other than the "Beginning CA" and "return code = 1"
My guess would be that your custom action is executed, but the code does not actually do anything (does not modify the system in any means).
Could you please tell me what are you trying to achieve through the custom action? Also, what custom action are you using? (From the fact that you have asked me about the use of WiX, I supposed that you were trying to create a C++/C# custom action -->
"Call function from attached native DLL", etc.)
All the best,
Catalin