In my setup project I have a checkbox dialog after the installation dialog. So when the installation开发者_运维技巧 is done a dialog appears with a checkbox on it. In my class I want to access this checkbox. How can I do that?
In the checkbox dialog I have set the Property to CHKRUN. In my class I have overridden the methods:
- OnAfterInstall()
- OnCommitted()
- OnCommitting()
In all the methods I've written the Context.Parameters to a file. The value of the checkbox is always empty. The name of the checkbox (CHKRUN) is visible.
So, how can I retrieve the checkbox value?
Have you set CustomActionData in CustomAction properties window ? Normally we set something like /chkrun="[CHKRUN]"
精彩评论