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

confusion about check box property


3 replies to this topic

kgiloo

kgiloo
  • Full Members
  • 60 posts

Posted 27 October 2006 - 08:41

Because I wanted my checkbox to be unchecked by default, I undefined it.

I read that the check box property has to be undefined otherwise the property will be considered as enabled even though it's explicitely set to '0'.

I'm a bit confused, that would mean that if a user put in his command line:
msiexec /i XXXX.msi PROPCHECKBOX=0, it would behave as PROPCHECKBOX is enabled(??), not really what is expected. blink.gif

antyagi

antyagi
  • Full Members
  • 121 posts

Posted 27 October 2006 - 08:56

If the property related to checkbox is defined checkbox state is checked.
try
CODE
msiexec /i XXXX.msi PROPCHECKBOX=""
.
  ankur tyagi

kgiloo

kgiloo
  • Full Members
  • 60 posts

Posted 27 October 2006 - 09:46

Right. But from a user point of view it's confusing, instinctively he would do PROPCHECKBOX="0".

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 27 October 2006 - 10:47

You could always have a custom action (type 51, set a property) early in your UI and Execute sequences which will set the property to an empty string with condition:
PROPERTY=0