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

Accessing values from custom dialogs


2 replies to this topic

joschi

joschi
  • Members
  • 2 posts

Posted 17 January 2002 - 11:53

Maybe I got something completely wrong, as I am new to ISD.
However, I want to ask the user for a port number to be written to a configuration file. To do this, I created a custom dialog with an edit field and inserted it into "Sequences". Then I modified "DefaultFeature_Installed()" in featureevents.rul to modify some configuration file accordingly.

How can I access from that script the value the user entered in the edit field of the custom dialog?


joschi

joschi
  • Members
  • 2 posts

Posted 17 January 2002 - 12:09

That's with InstallShield Developer 7.0, to be more exact...

gunaveluj

gunaveluj
  • Members
  • 20 posts

Posted 30 January 2002 - 20:29

In the edit control PROPERTY property associate a property SOMEPROPERTY and read it from your installscript using MsiGetProperty(hMSI, "SOMEPROPERTY", buf, count) where buf is a STRING variable and count, a NUMBER.