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

Dynamically display the text on the Install Finish


1 reply to this topic

kirann_hegde

kirann_hegde
  • Full Members
  • 93 posts

Posted 11 July 2010 - 13:49

Hello,

I have a basic msi project. Here is my requirement:

I verify the state of certain services using a custom action just before the finish dialog is displayed. Once i have verified this, i would like to change the text displayed on the Install Finish dialog box. The text would inform the end user about the servcies started and stopped.

The easiest way i know of are to do this using Public properties.
However i would like to know if there is a better way to accomplish this using some sort of a windows installer API.

Do we have any windows installer API's which allow us to alter the text displayed on the dialogs dynamically i.e alter the text displayed on the dialogs before the dialog is displayed


Any help would be very much appreciated.

Regards,
Kiran Hegde

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 13 July 2010 - 13:05

If you need to dynamically set the text, a propertty is the best way.
If you need to conditionally show or hide text, you can use a condition (in the behaviour node of the dialog). You can even overlay multiple static text fields and hide all but one, depending on a condition.
Note however that you cannot set properties from a deferred custom action.