Adding Components with Script

  • Thread starter Thread starter florian.harmuth
  • Start date Start date
F

florian.harmuth

Hello,
i have tried to add components to my active configuration with
vbscript. Does any one tried this before? Is it possible?

Regards,
floh
 
thx for your answer. A solution for my problem is the following script
code:

<vbscript>
Set oCMI=window.external.Instance.CMI
Set newInstance =
oCMI.CreateFromDB(20,"{B784E719-C196-4DDB-B358-D9254426C38D}",3,strGUID)
window.external.Instance.Configuration.Instances.Add oInstance
</vbscrip>

Regards,
floh
 
Back
Top