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

[Manufacturer] Info during setup


3 replies to this topic

doxman

doxman
  • Members
  • 2 posts

Posted 25 September 2006 - 10:07

Is there anyway to access the MANUFACTURER info (which has been specified in the Manufacturer property of my Setup project) in a Custom Action?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 25 September 2006 - 11:32

Did you try: [Manufacturer]

doxman

doxman
  • Members
  • 2 posts

Posted 25 September 2006 - 11:36

I believe I did, even including and excluding square brackets and/or quotes:

context.parameters("[manufacturer]")

I don't seem to get there with this code.
Am I using the correct way to get to the "manufacturer" info?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 25 September 2006 - 13:30

First: that name is case sensitive: [Manufacturer]

Then: I don't know in which your cuzstom action is written, but in VBScript you would do (no square brackets):
CODE
Session.Property("Manufacturer")

On a dialog you would write: [Manufacturer] (with square brackets but no quotes)

Finally: where in qhich sequence are you calling your custom action? Is it scheduled for immediate or deferred execution? In the latter case you need to read about CustomActionData.