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

Install Script : Reading properties


1 reply to this topic

wellwisher

wellwisher
  • Full Members
  • 32 posts

Posted 26 February 2008 - 13:50

I have a couple of problems in my project which is a basic msi project where I also use installscript through custom actions.

The problems that I encounter are

1) I'm trying to set some properties through basic msi set property type custom action (Type 51). Lets say that the property is CAProperty. I want to use this property in the installscrip custom action. How to do do that?

2) Similarly how do I get the standard property like ComputerName in Install Script

3) How do I get the values of the edit box in a dialog in my installscript custom action.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 27 February 2008 - 21:34

1) Call MsiGetProperty
2) dito
3) The value the user entered gets stored in the property you associated with the edit box. To get its value call MsiGetProperty.