hougtimo Posted March 13, 2006 Posted March 13, 2006 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?ThanksHougTimo
exrcizn Posted March 13, 2006 Posted March 13, 2006 A couple different methods are described in the Unattended Guide. I use the RunOnce method.http://unattended.msfn.org/unattended.xp/view/web/1/
jbm Posted March 14, 2006 Posted March 14, 2006 Nothing in winnt.sif will run a program on first boot of the CD.http://unattended.msfn.org/unattended.xp/view/web/13/ shows the timeline.
Lazy8 Posted March 15, 2006 Posted March 15, 2006 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.
maxXPsoft Posted March 16, 2006 Posted March 16, 2006 (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 March 16, 2006 by maxXPsoft
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now