kberthelot
06-24-2008, 09:49 PM
I have a custom dialog that prompts the user to enter two text values, which I'm storing in the registry. For one of the values, I need to perform a transformation on the value before storing it. I've tried creating a custom action that calls the installscript code that performs the transformation, but I can't seem to get the code to execute. I've tried placing the custom action at different places in the install sequence with no luck. At best nothing happens, at worst the install crashes. I stripped out all the logic in the function and just displayed a dialog to see whether the function was being invoked and it's not.
Is there a "best practice" for doing this sort of thing? I get the impression that creating custom actions is typically viewed as a last resort. If a custom action is indeed the right approach, what's the best way to invoke it?
Is there a "best practice" for doing this sort of thing? I get the impression that creating custom actions is typically viewed as a last resort. If a custom action is indeed the right approach, what's the best way to invoke it?