Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

problem with checkbox


1 reply to this topic

lsrao

lsrao
  • Full Members
  • 8 posts

Posted 25 August 2006 - 11:10

Hi All,


Iam using InstallShield 12 professional version.
I have developed BasicMSI project ,
In that project i want to add checkbox in the InstallWelcome Dialog,
Now i wanted to get the state(either checked or unchecked) of the checkbox in my installscript code,

with some help i got this

"if you add a check box control to a custom dialog, the control's numeric ID will appear in the Control Identifier property of the control."

But i can't find the control id field in the property manager(table).

Can any body help me about how can i get & set the state of check box using installscript code .

Thanks in Advance,
Regards,
Srinivas


Barbara

Barbara
  • Members
  • 89 posts

Posted 05 September 2006 - 08:14

The checkbox is attached to a MSI property. In your InstallScript code you can use the MSIGetProperty function to retrieve the value of this property. If your InstallScript code is executed deferred, you have to add an CA type 51 to push this property to your InstallScript function (see help topic for this).

Barbara
The difference between theory and practice is larger in practice than in the theory.