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 DLLs from BasicMSI


1 reply to this topic

jmorgret

jmorgret
  • Members
  • 19 posts

Posted 30 August 2002 - 18:03

I have a BasicMSI project.  In that I have merge module that contains a VB6 dll.  I need to access that dll during my UI to verify a license.  Before, in IS 6.0, I copied the dll to the machine then created the object in script and accessed it's properties that way.  It worked great.  Now I need a custom action to that same thing.  How do I do that?  Can I just use the StandardDLL action to do this?  I don't want to call a function in the DLL I want to create an object from it. Or, do I need to create a VBScript custom action to do it?  If I need VBScript, how do I set a property in the property table to the value returned by my VBScript?  Can I call the MSISetProperty function directly from my VBScript?  Is there a helpful reference for all these questions?

Thanks for any help you can give.

Jennifer

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 30 August 2002 - 18:11

You will need to use a script (e.g. VBScript, InstallScript).

To set a propety use
session.property("YOURPROPERTY") = "bla"