in reply to Code to write data to installshield project (.ism) file
Somebody will say it - use strict and use warnings!
I would also test for success on lines like :
$dev = Win32::OLE->new("ISWiAutomation.ISWiProject");i.e. :
$dev = Win32::OLE->new("ISWiAutomation.ISWiProject") || die "Failed to instantiate : Win32::OLE::LastError()";It sounds like this is failing, hence $dev is not defined when you come to use it later.
I could be wrong though, I haven't tested this theory...
Update: See AM below
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Code to write data to installshield project (.ism) file
by Anonymous Monk on Sep 25, 2009 at 21:27 UTC |