Windows XP Forums


Reply
Thread Tools Display Modes

Running Win32 Console Application on startup as Custom Shell

 
 
stuie_norris@yahoo.com.au
Guest
Posts: n/a
 
      18th May 2010
Hi Forum,

I would like to create a custom shell that will run an application
when my system boots.

The application is a win32 console application, that simply does some
configuration of the system and writes to console using stdout and
stderr. All tasks are executed from within this application using
create process system calls.

I have attempted to follow the instructions at
http://msdn.microsoft.com/en-us/libr...bedded.5).aspx.
Using %SystemRoot%\System32\myapp.exe as the executable location of my
application.

This is where I become confused. My application is designed to run
inside cmd.exe console, not a GUI. So how do I make the custom shell
run my application in side a command prompt? I would like to get this
to work.

As a side comment.
I attempted to use Minlogon to do this but I could not get the cmd
prompt lauched by minlogon to execute my application. Best I could
get was a second console when I use cmd /s myapp.exe as a Run command.

As a fallback Is if possible to get Minlogon to do what I want? Or do
I need to make a custom shell?

Thanks

Stuart

 
Reply With Quote
 
 
 
 
stuie_norris@yahoo.com.au
Guest
Posts: n/a
 
      18th May 2010
Forgot to mention I am using Windows XP Embedded.
 
Reply With Quote
 
DPM
Guest
Posts: n/a
 
      18th May 2010
I suggest a custom shell component. I do this, with the actual shell
component a VBS script so I can perform some first-time-only operations.
Then I just use a wsh.run "c:\myfolder\myapp.exe" to invoke my application.
I also use minlogon.

<(E-Mail Removed)> wrote in message
news:0fb8e0da-4f86-42aa-811d-(E-Mail Removed)...
> Hi Forum,
>
> I would like to create a custom shell that will run an application
> when my system boots.
>
> The application is a win32 console application, that simply does some
> configuration of the system and writes to console using stdout and
> stderr. All tasks are executed from within this application using
> create process system calls.
>
> I have attempted to follow the instructions at
> http://msdn.microsoft.com/en-us/libr...bedded.5).aspx.
> Using %SystemRoot%\System32\myapp.exe as the executable location of my
> application.
>
> This is where I become confused. My application is designed to run
> inside cmd.exe console, not a GUI. So how do I make the custom shell
> run my application in side a command prompt? I would like to get this
> to work.
>
> As a side comment.
> I attempted to use Minlogon to do this but I could not get the cmd
> prompt lauched by minlogon to execute my application. Best I could
> get was a second console when I use cmd /s myapp.exe as a Run command.
>
> As a fallback Is if possible to get Minlogon to do what I want? Or do
> I need to make a custom shell?
>
> Thanks
>
> Stuart
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Shell - .NET? or Win32 KMS Windows XP Embedded 6 14th May 2007 03:55 AM
Custom Application on Custom Shell. kim Windows XP Embedded 7 29th August 2005 09:04 PM
running a server with custom shell Disco Bob Windows XP Embedded 1 20th July 2005 08:26 PM
Custom Shell Running Twice On Boot tomer Windows XP Embedded 13 17th September 2004 09:30 PM
problems running application under custom shell Defcon31 Windows XP Embedded 2 18th December 2003 11:41 AM


All times are GMT. The time now is 12:02 AM.
Windows XP Forums is an independent website and is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26