Announcement

Collapse
No announcement yet.

Booting another application as windows shell

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Booting another application as windows shell

    Hi All,

    I'm currently trying to boot media engine as the shell of my windows xp computer instead of the default winlogon/explorer combo windows launches by default. You can do this by modifying the registry and telling windows that its in setup mode. You then point to any .exe file as the command line and windows will start it. For all you guys writing your own front ends, I think if you implemented support for such a modification of ones system, you could further reduce start times and remove some of the un-needed overhead which is caused by a general operating system.

    Here's how you do it:

    HKEY_LOCAL_MACHINE\SYSTEM\Setup
    cmdLine = Path to your program
    SetupType = 1
    SystemSetupInProgress = 1
    Delete OsLoaderPath

    Note: These settings are reset after the first boot, so any "shell" app written would need to modify these keys on startup as needed.

    So I get mediaengine to be executed, but it runs into a problem with the error:

    Run-time error 426:

    The remote server machine does not exist or is unavailable

    What does that mean? I know that in "setup" mode is causing it, but if I could figure out the root meaning of this error, I could possibly find a workaround.

    I guess I should set cmd.exe as the shell then try some other steps to debug the problem...

    Mediacar gives the following error:

    Subscript array out of bounds (Or something close to that)

    -Jason

  • #2
    best way to change the shell would be "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" change the value of shell to the program you plan on using, this should avoid any graphics server errors

    Comment


    • #3
      Well that certainly looks as if it will work much better-however you still have to login and what not. I think in the hacked setup mode the service manager is not running-thus there may be many key things not initialized which these apps need.

      -Jason

      Comment


      • #4
        isnt there a check box inside media engine to make it the default shell instead of explorer? I never checked it, does it work?
        01101100 01101001 01110001 01110101 01101001 01100100 01011111 01110011
        01101101 01101111 01101011 01100101

        beer replenishment fund
        http://www.mp3car.com/vbulletin/forumdisplay.php?f=93
        mp3car live search

        i have joost invites, just hit me up for one.

        Comment


        • #5
          Originally posted by psyclobe
          Well that certainly looks as if it will work much better-however you still have to login and what not. I think in the hacked setup mode the service manager is not running-thus there may be many key things not initialized which these apps need.

          -Jason
          The solution to that is to just set windows up to autologon

          HKLM\Software\Microsoft\Windows NT\Current Version\Winlogon

          Add Values REG_SZ
          AutoAdminLogon Value 1
          DefaultUserName Value "Your User Name"
          DefaultPassword Value "Your Password"

          I have also attached a file. just edit the file with your values, change the extension to ".reg" and then you can import it into the registry.

          Frodo
          Attached Files
          [H]4 Life
          My next generation Front End is right on schedule.
          It will be done sometime in the next generation.
          I'm a lesbian too.
          I am for hire!

          Comment


          • #6
            I used Tweak UI to set it up on mine.

            Comment


            • #7
              Yes, autologon is great and all, but you still go through the logon process. You still have to wait for windows to load your profile, etc. etc. I'm not saying that I can't figure out how to auto boot into a program-thats already there. What I was proposing was a complete bypass of the regular os loading routines-a step in the direction of a stripped down os used purely for media.

              -Jason

              Comment


              • #8
                Originally posted by psyclobe
                Yes, autologon is great and all, but you still go through the logon process. You still have to wait for windows to load your profile, etc. etc. I'm not saying that I can't figure out how to auto boot into a program-thats already there. What I was proposing was a complete bypass of the regular os loading routines-a step in the direction of a stripped down os used purely for media.

                -Jason
                so how do we make it work?
                Signature: [==||========] 20% complete

                Comment


                • #9
                  Donnou, guess we don't ;P

                  Comment


                  • #10
                    Originally posted by psyclobe
                    Donnou, guess we don't ;P
                    I'm not saying this is absolutely the answer, but try windows XP Embedded. You can program it to boot that program as the shell while still keeping all the files needed. Not to mention, it saves lot's of space and boots much faster. Also, if you're REALLY into speed, and you're willing to spend the money, you can use DOC (Disk on Chip) technology and put the operating system and media engine on it, and put a hard disk as well for all your settings and what not.

                    Just a thought.

                    Mg.
                    Just your friendly neighborhood computer specialist.

                    2002 Pontiac Trans Am WS.6
                    Silver/Black
                    Looks like new... Wanna know why they call me "Crash"?

                    Comment


                    • #11
                      two questions: what's windows XP embedded? I'm a microsoft development network subscriber, and maybe it's just because i toss most of the stuff in a pile and wait until i want something specific, but i haven't run across it. can it be installed on any computer?

                      and about DOC stuff. I was looking into that for my car PC but wasn't able to find anything under 1,500 that didn't just use compact flash (which my harddrive is already faster than...). any reccomendations/thoughts?
                      car computer rev 5: 8" lilliput and usual suspects

                      Comment


                      • #12
                        self serving bump
                        car computer rev 5: 8" lilliput and usual suspects

                        Comment


                        • #13
                          Originally posted by robiewp
                          self serving bump
                          Robie - That spare tire case of yours is very slick, but I've always wondered how exactly would you mount that spare to a rim come time you had a flat??

                          -Jason

                          Comment


                          • #14
                            Originally posted by robiewp
                            self serving bump


                            xpe is xp but with a tiny footprint find it here and some other changes


                            http://msdn.microsoft.com/embedded/xp/default.aspx
                            "Video games dont affect kids. I mean if pac man affected our generation as kids, we'd all run around a darkend room munching pills listening to to repetitive music. -Just a thought" anon

                            Comment

                            Working...
                            X