Re: Cannot run sdimgr.wsf on XPE Image

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



John,

Just add "Primitive: Mlang" component to you image.

Actually the Mlang is delay load module dependency for cscript (WSH). Likely a bug in the component.
The Dll will be in your image if you happen to include IE or Explorer (Shell32) but on a Minlogon image it is often not the case and
therefore you sensed the bug.

--
Regards,
KM, BSquare Corp.

PS. Not sure why the library does not get load if I profile the script launch on XP Pro.


> Turns out that its looking for mlang.dll. Language model manager? Not even
> sure what that means.
>
> In any case, thanks for the tip.
>
> "KM" wrote:
>
> > John,
> >
> > I don't know why you see the error.
> >
> > Try to specify the full paths for all the files in the command.
> >
> > Any chance for you to monitor the launch with Filemon? Then you would see for what files the 'open' requests are occurring.
> >
> > --
> > Regards,
> > KM, BSquare Corp.
> >
> >
> > > I am trying to use sdimgr.wsf on a small XPE image.
> > > I have the Windows scripting component installed and am registering
> > > sdiaut.dll.
> > > Both the sdimgr.wsf and sdiaut.dll are in the system32 directory which is in
> > > the path.
> > >
> > > When I run the command:
> > > cscript sdimgr.wsf recover.sdi
> > >
> > > I get
> > > Input Error: Can not find script file "c:\windows\system32\sdimgr.wsf"
> > >
> > > This is a minlogon image and folder rights are set to full for SYSTEM.
> > >
> > > Any ideas?
> >
> >
> >


.



Relevant Pages

  • Re: Cannot run sdimgr.wsf on XPE Image
    ... > Actually the Mlang is delay load module dependency for cscript. ... Likely a bug in the component. ... > The Dll will be in your image if you happen to include IE or Explorer but on a Minlogon image it is often not the case and ... >>> Regards, ...
    (microsoft.public.windowsxp.embedded)
  • Re: Cannot run sdimgr.wsf on XPE Image
    ... Is it coming from cscript (WSH) or the sdiaut/sdimgr.wsf? ... Likely a bug in the component. ... >> The Dll will be in your image if you happen to include IE or Explorer but on a Minlogon image it is often not the case ...
    (microsoft.public.windowsxp.embedded)