hi all,
I am using InstallShield X "InstallScript MSI project".
I am using perl Win32::OLE module to interface with automation objects.
I am able AddFeature,AddComponent and AddFile to the ISM.
But AttachComponent method is not working for me. It needs ISWiComponent
object as parameter, which I am providing. My code typically looks like this
use Win32::OLE;
$dev = Win32::OLE->new("ISWiAuto10.ISWiProject") ;
$dev->OpenProject("D:\automation.ism",false);
$feature = $dev->AddFeature("AM");
$comp = $dev->AddComponent("AM_update");
**$feature->AttachComponent(comp);***
$comp->AddFile("D:\sample.txt");
appreciate u r comments on this
regards,
sriniv
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.

Automation problem with AttachComponent method
Started by
sriniv
, Jul 19 2005 10:57
1 reply to this topic