Jump to content

Recommended Posts

Posted

Right, I have an exe file I want to execute on first boot of my UAXP CD. Now, could this be done by creating a CMD file to launch the exe, then adding the CMD entry in Winnt.sif under [GuiRunOnce]. Would that method work? or is there another method that would work better?

Thanks

HougTimo


Posted

I'm assuming you need to install it upon first reboot. Depending on your method of install, you could run it from svcpack.inf, or drop your CMD into cmdlines.txt. If you need it installed any earlier, you'll probably need to execute it from [DetachedProgram] in WINNT.SIF.

Posted (edited)

Yes Winnt.sif is probably the answer to the earliest execution. I don't remember offhand exactly when it does it cause it flashes so quickly. I have done a driver signing ignore at that point like this

[GuiUnattended]DetachedProgram=CMD.EXE

Arguments="/C START /Wait %SYSTEMDRIVE%\Install\DrvSign.cmd"

Probably depends on the exe you trying to run whether it will run at that point.

Have fun

Edited by maxXPsoft

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...