开发者

C# How to retrieve the checkbox value of a setup checkbox dialog?

开发者 https://www.devze.com 2022-12-19 14:51 出处:网络
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 ch

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]"

0

精彩评论

暂无评论...
验证码 换一张
取 消