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

Control Events Table in InstallScript MSI 8


4 replies to this topic

Alamelu

Alamelu
  • Members
  • 11 posts

Posted 10 August 2005 - 12:45

Hi,

In InstallScript MSI 8 project, can we use Control Event table available under Direct Editor to trigger a Custom Action ?

This is my requirement :

I want a custom action to be called at the click of any Features listed in the tree, for this to happen i am giving the following entry in Control Events Table.

Dialog_ : DialogId_12052
Control_ : ControlId_1000
Event : DoAction
Argument : FeatureCheck
Condition :1
Ordering : (Blank)

Here
"FeatureCheck" is the Name of the CustomAction written in Installscript.
"DialogId_12052" is the dialog id for sdFeatureTree dialog
"ControlId_1000" is the id given for Selection tree
I am leaving the Ordering column as empty.

I am able to call a "DoAction" Event at the click of Next button in Basic MSI project by populating the details in Control Events Table

How should i achieve this in InstallScript MSI project?
Should i use scripts to do this? If yes, what is the API i should use?

Can any body help me to solve this issue?

Thanks,
Alamelu








luke_s

luke_s
  • Full Members
  • 532 posts

Posted 11 August 2005 - 08:35

Im not sure about Install Script, but for plain windows installer, a control event is not published when the user clicks on a feature.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 11 August 2005 - 09:52

In InstallScript MSI projects that user interface is solely controlled by the InstallScript, so the UI tables in the MSI are not in effect. In other words: no. You have to do this in script.

Alamelu

Alamelu
  • Members
  • 11 posts

Posted 12 August 2005 - 06:23

Thank u so Much Luke and Stephan krueger.

Hi,

If i had to do this in Script what are the functions that i should use?
Any sample code can help me so much.

Any website, ebooks or books to refer about Installscript functions?

Where can i look for more information on this?


Thanks,
Alamelu

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 14 August 2005 - 10:41

You can find InstallScript dialog samples at http://www.installsi...s/en/isp_ui.htm