Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Run exe before boot?  (Read 2240 times)

0 Members and 1 Guest are viewing this topic.

Stormrider

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 318
  • Last login:September 28, 2014, 11:01:54 am
Run exe before boot?
« on: October 07, 2009, 06:23:20 pm »
Does any expert on Windows know whether it's possible or not to run a .exe at any moment before the load of the Windows XP boot screen?

brian_hoffman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:July 02, 2011, 09:02:20 pm
Re: Run exe before boot?
« Reply #1 on: October 07, 2009, 07:49:17 pm »
Not before the boot screen, at that time windows is still loading up services and drivers.
You can hide the windows boot screen using Instant Sheller and SHELL the exe, this way you do not have the startbar and such. This would give the illusion of windows not running on the machine.

Or you can use DOS, providing your EXE you want to run is dos compatible.

However Id use the above.

Stormrider

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 318
  • Last login:September 28, 2014, 11:01:54 am
Re: Run exe before boot?
« Reply #2 on: October 08, 2009, 02:32:17 am »
I already have userinit.exe replaced with MaLa frontend in the userinit key in the registry. One thing I have not considered is to study Bootskin and how it works. It creates a vidstub.sys file which contains the custom screen, so what if we find what program or what service or how that file is run?

axewater

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 23
  • Last login:February 07, 2013, 04:09:58 pm
Re: Run exe before boot?
« Reply #3 on: October 30, 2009, 09:25:01 am »
storm rider, from windows NT4 and up (w2k, xp, vista, W7) there is no way to run an .exe file without having windows system loaded first ... just impossible. if it was possible, why would you need windows at all ?

as for windows 95/98, you can use the autoexec.bat file or WINSTART.BAT (undocumented feature)
this of course only runs DOS files ... again, no way to run windows exe files without windows ....

what is it you are trying to accomplish anyway ? run your frontend earlier in the boot process ? or run something else first ?

if u rly want to get into the nitty gritty of things, there are ways to replace the logon screen of windows. google 'windows gina replacement'... you can only run DLLS though and the DLL needs to support certain entry points. I guess someone could write a gina.dll that would run a frontend ...

Stormrider

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 318
  • Last login:September 28, 2014, 11:01:54 am
Re: Run exe before boot?
« Reply #4 on: October 30, 2009, 09:49:15 am »
Nah, just trying to load a script to rotate the XP bootscreens according to my monitor orientation. Now I'm doing this on shutdown, depending on the info in mala.ini.

Malenko

  • KNEEL BEFORE ZODlenko!
  • Trade Count: (+58)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14019
  • Last login:Yesterday at 06:33:34 pm
  • Have you played with my GingerBalls?
    • forum.arcadecontrols.com/index.php/topic,142404.msg1475162.html
Re: Run exe before boot?
« Reply #5 on: October 30, 2009, 10:14:33 am »
storm rider, from windows NT4 and up (w2k, xp, vista, W7) there is no way to run an .exe file without having windows system loaded first ... just impossible. if it was possible, why would you need windows at all ?

as for windows 95/98, you can use the autoexec.bat file or WINSTART.BAT (undocumented feature)
this of course only runs DOS files ... again, no way to run windows exe files without windows ....

what is it you are trying to accomplish anyway ? run your frontend earlier in the boot process ? or run something else first ?

if u rly want to get into the nitty gritty of things, there are ways to replace the logon screen of windows. google 'windows gina replacement'... you can only run DLLS though and the DLL needs to support certain entry points. I guess someone could write a gina.dll that would run a frontend ...

I thought you were joking when you called it a gina..............

how do we edit it? I'd like to rotate mygina 90 degrees and change the logo, I cant seem to find info on how to do so; all the links I read said to replace the DLL and change the registry, not how to make it.
If you're replying to a troll you are part of the problem.
I also need to follow this advice. Ignore or report, don't reply.


drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:April 23, 2024, 06:53:06 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: Run exe before boot?
« Reply #7 on: October 30, 2009, 10:52:52 am »
Am I the only one who's mind went somewhere that it probably shouldn't have when I saw the link

...../msgina.doc

 ;)

speedklz

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 196
  • Last login:November 17, 2018, 12:56:23 pm
Re: Run exe before boot?
« Reply #8 on: October 31, 2009, 09:50:49 am »
If you are permently wanting to rotate the screen it can be done inside the monitor and you can add a switch to choose between upright and rotated mode...
Best of the Best of the Best. Sir!

Malenko

  • KNEEL BEFORE ZODlenko!
  • Trade Count: (+58)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14019
  • Last login:Yesterday at 06:33:34 pm
  • Have you played with my GingerBalls?
    • forum.arcadecontrols.com/index.php/topic,142404.msg1475162.html
Re: Run exe before boot?
« Reply #9 on: October 31, 2009, 09:57:29 am »
I oh my monitor is rotated....

If you're replying to a troll you are part of the problem.
I also need to follow this advice. Ignore or report, don't reply.

Stormrider

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 318
  • Last login:September 28, 2014, 11:01:54 am
Re: Run exe before boot?
« Reply #10 on: November 01, 2009, 03:48:39 pm »
Rotating my monitor according to the selected game orientation is not something I'm interested in. I have a dual layout with separated horizontal and vertical game lists. I can rotate with a joy button, but now I have a sensor which detects the screen orientation and select the right layout. As regards the boot screen, I have an Autohotkey script which reads mala.ini on exit and copies a vertical or horizontal version of vidstub.sys over the file in c:\windows\system32\drivers, which is the file created by Bootskin for custom boot screens.

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: Run exe before boot?
« Reply #11 on: November 01, 2009, 10:26:06 pm »
I think speedie isn't understanding that you have a rotating set-up. I can't imagine why anyone would do this in hardware when it's been possible in software for ages.
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

axewater

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 23
  • Last login:February 07, 2013, 04:09:58 pm
Re: Run exe before boot?
« Reply #12 on: November 03, 2009, 04:59:21 am »
So if I understand correctly, you have a monitor that is rotatable inside the cab ? and you want to change the boot screen depending on its current orientation ?
That's quite tricky .. I think the only way is to do it during shutdown. On the other hand, here at work I have an LCD screen that can rotate 90* and it flips the screen in the gfx driver. I'm not sure if it shows the windows bootscreen properly when its rotated though .. let me check on that (as that would implicate there is a built in function in windows for this)

ok i checked ... i rotated the screen and reboot, but the windows boot screen was not rotated .. this implies that windows has no way of finding out the rotation of the screen and cannot act on it.

maybe you can do it at the moment the screen is flipped ? you reconfigure the bootscreen at the same time ? that way you dont need to gracefully shut down in order for it to work.
« Last Edit: November 03, 2009, 05:13:08 am by axewater »

Stormrider

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 318
  • Last login:September 28, 2014, 11:01:54 am
Re: Run exe before boot?
« Reply #13 on: November 03, 2009, 06:06:11 pm »
Sumarizing, I have a TV which I rotate manually. I have a frontend with a horizontal and a vertical layout. I can change between both with a key, or with a sensor+script which does it automatically. You can change the bootscreens once the system is started. This can be automated by reading the frontend ini file. So, next time you restart your system, the boot screen will have the right orientation. However, if your have your screen set to horizontal, exit the frontend, shutdown, and then decide to rotate, next time you start your computer with vertical orientation you will see the bootscreen in horizontal orientation. To prevent that, you would have to run something before the boot screens appear, which, as we have said, it's impossible. That's all.