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

using InstallScript to control license dialog


3 replies to this topic

optimus

optimus
  • Members
  • 2 posts

Posted 21 June 2005 - 01:06

Is there a way to access and manipulate the components of a dialog from the script?

For example, enabling, disabling a button depending on other selections on the same dialog.

What I am trying to accomplish on the broader scale is to create a two layer confirmation for the license dialog. I know that this is actually very easy to do using MSI, but my installers are so entrenched in InstallScript already, that it would be a very involved project to migrate over to MSI.

Thanks.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 21 June 2005 - 11:22

You would have to customize the script that drives the dialog, or create and call your custom script. Note however that in InstallScript you can only intercept a sub-set of winodws messages.

optimus

optimus
  • Members
  • 2 posts

Posted 21 June 2005 - 16:48

How can I get to the script that controls the dialog to edit it?

Or if I could just intercept the button click messages and subsequently send out an enable/disable button message with out having to alter the dialog script, that would be great.

Thanks.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 22 June 2005 - 17:04

Previous versions of InstallShield included the default dialog scripts. But I think that's no longer the case so you may have to create the script from scratch (or from a sample)