Re: Can't CreateProcess from custom shell



It turns out that the executables were "blocked" by Windows. Prompting
whether the file should be executed or not. I have the "EnableDefaultReply"
enabled in my image which was telling Windows to not execute the application.
I was able to "unblock" the exe's and everything is working great.

Thank You

"KM" wrote:

> Dave,
>
> Well.. Dependencies are the first place you should look at.
>
> Then keep in mind that you specify the correct working directory path to launch your application. Obviously, notepad would be less
> of the problem here.
>
> Where is located your INI file? How are you sure your custom shell app reads the settings from the INI file properly? (important
> settings are e.g. WorkingDir)
>
> Also, make sure your application doesn't rely on some custom locations for some Dlls (like \Program files\..., etc.). I don't think
> you have set up Path environment variable.
>
> --
> =========
> Regards,
> KM
>
>
> > OK I was able to execute notepad. So it looks like I have another problem.
> > Possibly a dependency problem with the application I am trying to execute.
> >
> > Thank You
> >
> > "KM" wrote:
> >
> >> Dave,
> >>
> >> Can you show us the exact CreateProcess call you are making?
> >> What the current directory parameter you are passing in there?
> >> Did you try to launch some "easy-to-launch" processes like Notepad or etc.?
> >>
> >> --
> >> =========
> >> Regards,
> >> KM
> >>
> >> > Hello,
> >> >
> >> > I am trying to Invoke another process located on my XPe image by calling
> >> > CreateProcess. The call to CreateProcess succeeds without error but the
> >> > process is never started. I am using Minlogon and my Custom shell.
> >> >
> >> > Thanks
> >>
> >>
> >>
>
>
>
.



Relevant Pages

  • Re: Auto deploy from W2K machine w/IIS Lockdown applied
    ... LockDown comes with a help file named iislockd.chm. ... This should show the settings that were used when LockDown ... If you have trouble determining which INI file is active, ... execute, but that will allow them to run the EXE on the server, compared to ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Impersonation code
    ... Best regards, ... > and that application will not execute on the other machines for the same ... >> Simply check out the user contexts of both applications and compare the ... >>> The impersonation of the user is successfully done. ...
    (microsoft.public.dotnet.faqs)
  • Re:
    ... I am reading a only. ... But what if I want read write and execute that file. ... Regards, ... >> Jatinder Singh ...
    (comp.lang.python)
  • Re: Running Package From EM and Scheduler Problem
    ... Spadak ... >> Everything runs fine from designer, after each execute new file is ... >> If there is no file in destination folder new is created but after ... >> Kind regards, ...
    (microsoft.public.sqlserver.dts)
  • Re: Exception on select command while access finds it ok
    ... Freek Verstejin ... > This is more MS-centric SQL ... When I try to execute it through OleDb, ... >> Regards, ...
    (microsoft.public.dotnet.framework.adonet)