I've made a few components and registered them. Each one is by itself in a separate .wsc script-component package file. In script I can create a type library for any one of them with something like this.
Code: Select all
var oTL=new ActiveXObject('Scriptlet.TypeLib');
with (oTL) {
AddURL('handy.tool1'); // one is OK, multiple AddURL()s fail
Path=str_tlPath;
Name=str_tlProgID;
MajorVersion=int_tlVerMajor;
MinorVersion=int_tlVerMinor;
Doc=str_tlTitle;
Write();
Reset();
} // end with
Temporarily, I'm using multiple single-package type-libraries, but that seems a bit wasteful.
I seem to be missing something. Can anyone help?
EDIT: clarifying packaging
koolezt2008-03-05 03:03:54