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

Shortcut dialog


4 replies to this topic

haroldxious

haroldxious
  • Full Members
  • 70 posts

Posted 23 February 2007 - 03:23

I have a shortcut dialog right after custom setup dialog. This shortcut dialog has some checkbox for a selection of shortcuts to be installed..

how can i automatically checked the checkbox if the feature is selected to be installed and automatically deselect the checkbox if the feature is not selected

for example
Custom setup dialog
TreeSelection
Feature1(selected)
Feature2(Not Selected)
Feature3(Selected)
...then click next for the shortcut dialog

Shortcut dialog
checkbox1(checked)
checkbox2(Unchecked)
checkbox3(checked)

Then when you click back and change the selected features to be installed it will reflect to the checkbox...

any suggestions on how to implement this would be very much appreciated

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 23 February 2007 - 14:32

On the "Next" button of the CustomSetup dialog, set or unset the checkbox property based on conditions like &Featurename=3. See "Conditional Statement Syntax" in MSI Help.

haroldxious

haroldxious
  • Full Members
  • 70 posts

Posted 26 February 2007 - 04:39

i know that i will use the conditional statement. But what kind of control event will i use?

I dont know what kind of control event to use..

pls help...

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 26 February 2007 - 11:41

To set a property:
Event: [SomeProperty]
Argument: 1

To clear a property:
Event: [SomeProperty]
Argument: {}

including all the [] and {}

haroldxious

haroldxious
  • Full Members
  • 70 posts

Posted 27 February 2007 - 05:17

thanx stefan