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

Unable to Create Object from inside my MSI file


1 reply to this topic

flopperman

flopperman
  • Members
  • 4 posts

Posted 14 June 2002 - 17:01

Hi

I'm experiencing some strange behaviour from a vbs-ca

I'm trying to use some ActiveX dll's that are installed with the product.

I have created a CA that is called as the last action in the Sequence. When run on Windows 2000 everything is fine. But when running on Windows NT 4.0 I get the strange behaviour:

When I try to CreateObject on the object it fails. But at the same time I'm able to CreateObject on the same object from a vbs-file outside the installer.

And it only fails on some of the dll's I install. (But the same each time)

Are there anyone who has any ideas on what is going on, and how I can avoid this problem

PhilWilson

PhilWilson
  • Members
  • 10 posts

Posted 20 June 2002 - 21:58

Are you using Wscript.CreateObject ?  Use thre plain CreateObject, it's a standard VBscript capability.