I'm getting a strange problem with my tablet PCs and unattended. The same
boot disk and install point work just fine with WinXP Pro, but when I try to
run it on tablet edition, I get the following error:

    Can't call method "InstancesOf" on an undefined value at Z:\bin\todo.pl
    line 234.

I'm running the latest CVS. The line that it's failing on is:

    # Get the SWbemObjectSet of Win32_OperatingSystem instances.
    my $os_instances = $wmi->InstancesOf ('Win32_OperatingSystem');
   
where $wmi is set by calling

    # Get a handle to the SWbemServices object for this machine.
    my $wmi = Win32::OLE->GetObject ('WinMgmts:');

which is not returning a handle as the comment suggests. Is anyone more
competent with the Win32 perl modules that they can help me diagnose what's
happening?

ActivePerl 5.8.8 build 819 is installed.

Thanks,
Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to