Re: regsvr32 cmdlib.wsc

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Ann Adamson (AnnAdamson_at_discussions.microsoft.com)
Date: 09/20/04


Date: Mon, 20 Sep 2004 14:29:04 -0700

I moved it to phase 8505, and now it fails with a dialog box entitled
"fba.exe - Bad Image". The error message says: The app or DLL
C:\WINDOWS\System32\cmdlib.wsc is not a valid Windows image. Please check
this against your installation diskette.

Later, when I land at the command prompt after the conclusion of FBA, I can
type
> regsvr32 cmdlib.wsc
and it succeeds, popping up a message box that says:
DLLRegisterServerEx: C:\WINDOWS\System32\scrobj.dll succeeded.

"KM" wrote:

> Ann,
>
> No, no needs for the entire FBALog.
> Well.. I'd expect that the scrobj.dll is only required but I might be wrong.
> Let us know how it behaves during FBA if you set higher phase (try > 8500).
>
> --
> Regards,
> KM, BSquare Corp.
>
>
> > By default, FBA DLL/COM Registration phase is set to 4500, so that's what
> > it's currently set to. From fbalog.txt, it does appear that scrobj.dll is
> > successfully registered prior to the attempt to register cmdlib.wsc.
> >
> > First I see:
> > 15:54:04 PM - [CallEntryPointThread] C:\WINDOWS\system32\scrobj.dll,
> > DllRegisterServer
> >
> > then later:
> > 15:54:22 PM - [FBACallEntryPoint]
> > LoadLibrary(C:\WINDOWS\system32\cmdlib.wsc) (Error: 0xc1)
> >
> > I can provide the complete fbalog.txt file if that would help.
> > Thanks,
> > Ann
> >
> > "KM" wrote:
> >
> > > Ann,
> > >
> > > ScriptPW is XP new library but isn't officially a part of the WSH. It lets you create Password objects that mask passwords from
> > > view.
> > > Read some more info here: http://www.winnetmag.com/Windows/Articles/ArticleID/40883/pg/2/2.html
> > >
> > > My suggestion about the ScriptPW was because it is not brought by any XPe component and therefore not registered. You will be
> > > missing Password object functionality and it may just take some time to find that out at run time.
> > >
> > > FBA phase... Well.. the scrobj.dll gets registered at 4500 phase. Hence you want to set your command phase higher than 4500.
> > >
> > > --
> > > Regards,
> > > KM, BSquare Corp.
> > >
> > >
> > > > Yes, I have all the right components, and regsvr32 cmdlib.wsc works at the
> > > > command line. I will check the fba log next time through, I've lost the last
> > > > one.
> > > >
> > > > Any recommendation on what phase to use?
> > > >
> > > > What does scriptpw.dll provide?
> > > >
> > > > Thanks,
> > > > Ann
> > > >
> > > > "KM" wrote:
> > > >
> > > > > Ann,
> > > > >
> > > > > It should work if scrobj.dll is in your image and properly registered.
> > > > > Do you see any error in FBAlog? If it fails to run a Dll/Com command, it logs the error.
> > > > > Make sure your the FBA phase of your COM registration command is after WSH is ready (set late FBA phase).
> > > > >
> > > > > Did you include "Windows Script Engines" (or better the hotfixed version)?
> > > > > Did you include "Server Command Line Tools"? (I bet you did but just checking)
> > > > >
> > > > > I'd also recommend you to bring scriptpw.dll component from XPE Repository to your image and registered it (with regsvr32).
> > > > > unfortunately, there is no component that holds this file.
> > > > >
> > > > >
> > > > > --
> > > > > Regards,
> > > > > KM, BSquare Corp.
> > > > >
> > > > >
> > > > > > I have to run the above command on my target image to get eventquery.vbs to
> > > > > > work. We want this to happen by default, so I tried adding a FBA COM/DLL
> > > > > > Registration request to one of my included components. I left all the
> > > > > > defaults alone, and set the path to %11%\cmdlib.wsc. It does not appear that
> > > > > > this works -- does anyone know why?
> > > > > >
> > > > > > Thanks,
> > > > > > Ann
> > > > >
> > > > >
> > > > >
> > >
> > >
> > >
>
>
>



Relevant Pages

  • RE: fax notification
    ... Thank you for posting in the SBS newsgroup. ... message "mail system wrong DLL", and the inbound fax cannot was deliver to ... Please copy the exact error message and paste it in your reply. ...
    (microsoft.public.windows.server.sbs)
  • Re: Redirecting stderr
    ... console application that makes calls to the DLL. ... That sounds like a question more appropriate for a Windows ... libraries). ... it doesn't print an error message; ...
    (comp.lang.c)
  • Re: DllImport with ASP.NET ?
    ... > attibute didn't work. ... It was exactly the same error message. ... >> is it possible to use DllImport to call a DLL in ASP.NET? ... >> public static extern int PaqGetVersion(); ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: C++/TCL Need Solution to Compile Error c2784
    ... jnior_300.h"}" and created other errors where it didn't even compile. ... Error Message: ... Which appears to be an error because it depending on the SDK dll ... DLL properties to see dependencies and where the dependencies should ...
    (comp.lang.tcl)
  • Re: C++/TCL Need Solution to Compile Error c2784
    ... Error Message: ... first nonwhite space ... Which appears to be an error because it depending on the SDK dll ... DLL properties to see dependencies and where the dependencies should ...
    (comp.lang.tcl)