cyberchicken Posted May 21, 2004 Share Posted May 21, 2004 I was going to add an I386 copy at T-39 to continue the setup simply reading from hd. (Also a local copy is useful to install the cmdcons and for everyday generic driver loading.)you know:[GuiUnattended]DetachedProgram = "c:\install\cmd.exe"Arguments = "/c c:\install\t39.cmd"I've been able to run winmine.exe and XPlode.exe from DetachedProgrambut cmd.exe refuses to run.I tried different sintaxes, and the one I'm reporting seems to me the less error prone. I put a copy of cmd.exe in c:\install via $oem$ to be sure.But nothing.Anyone do know why?Obviously if I press shift F10 at t-39 cmd.exe works flawlessly.I get crazy when things don't work without a reason.Thanks Link to comment Share on other sites More sharing options...
sleepnmojo Posted May 22, 2004 Share Posted May 22, 2004 DetachedProgram=CMD.EXEArguments="/Q /C START /MIN %SYSTEMDRIVE%\MOO.CMD" Link to comment Share on other sites More sharing options...
cyberchicken Posted May 22, 2004 Author Share Posted May 22, 2004 do you know it for sure that this works?is it becaus it lacks the qoutes around the executable?Is it neccessary the start? Link to comment Share on other sites More sharing options...
Bâshrat the Sneaky Posted May 22, 2004 Share Posted May 22, 2004 Yes it's necessary. His code starts CMD , which is normally not useable at this stage. Link to comment Share on other sites More sharing options...
cyberchicken Posted May 22, 2004 Author Share Posted May 22, 2004 Could you be clearer please?Do you mean that cmd starts but can't do anything else than issue "start"?If I press Sh-F10 at the very start of gui setup cmd is fully functional!If I comment Arguments I'd expect to have a visible console waiting for input but doesn't happen. Why is that for you?thank you(I'm making tests while we talk anyway, but they're slow things) Link to comment Share on other sites More sharing options...
cyberchicken Posted May 22, 2004 Author Share Posted May 22, 2004 woa! it finally workedwith theseDetachedProgram=CMD.EXE Arguments="/Q /C START %SYSTEMDRIVE%\install\T39.CMD"still something escapes meI'm gonna try again without /Q and other modificationsafter all it's not that different from my originalmaybe the file case?Anyway thank you allI suggest that this should be pointed out in the official guidet-39 is a conveniente place to do some things Link to comment Share on other sites More sharing options...
edmoncu Posted May 22, 2004 Share Posted May 22, 2004 kinda off topic question, but at this stage, is it effective to execute runonceex.cmd here? since it just contains registry entries. Link to comment Share on other sites More sharing options...
Jazz Posted May 22, 2004 Share Posted May 22, 2004 Hey running winmine eh ! not a bad idea, probably someone can still play something while the setup loads..Can u post the cmd file that u're planning to run at that stage ?BYe,JazzPS :- can we run solitare or pacman ? Link to comment Share on other sites More sharing options...
cyberchicken Posted May 22, 2004 Author Share Posted May 22, 2004 @edomncumy cmd contains: SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SetupREG ADD %KEY% /V SourcePath /D "%systemdrive%\Install" /fREG ADD %KEY% /V ServicePackSourcePath /D "%systemdrive%\Wich seems to work (i detach the vmware cd and the setup continues without asking) so possibly runonceex should also work@jazzwinmine is a pleasure (I stole the idea from someone else here around!)setup sometimes steals focus but that's not an issue Link to comment Share on other sites More sharing options...
cyberchicken Posted May 22, 2004 Author Share Posted May 22, 2004 This also works:DetachedProgram=CMD.EXE Arguments="/C START %SYSTEMDRIVE%\install\T39.CMD" Link to comment Share on other sites More sharing options...
big_gie Posted May 22, 2004 Share Posted May 22, 2004 t-39 is great for unpacking drivers, since it is before the hardware scan. That way you can compress you ~100Mb drivers and get a small ~30Mb 7zip sfx that I call: DetachedProgram="%systemdrive%\setup\drivers\drivers.exe" Arguments="-y /q /r:n" Link to comment Share on other sites More sharing options...
Jazz Posted May 22, 2004 Share Posted May 22, 2004 @edomncumy cmd contains: SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SetupREG ADD %KEY% /V SourcePath /D "%systemdrive%\Install" /fREG ADD %KEY% /V ServicePackSourcePath /D "%systemdrive%\Wich seems to work (i detach the vmware cd and the setup continues without asking) so possibly runonceex should also work@jazzwinmine is a pleasure (I stole the idea from someone else here around!)setup sometimes steals focus but that's not an issueHmm how does that copy the source files ? the command dosent have any copy command in it.. (or is it something else ?)Also, where do we actually put the line for detachedprogram ? i think its in the winnt.sif but forgot where..Also, can you pls post the cmd file where u actually run winmine.. and also is it possibel to ask the user if he wants to play or not ? and if we have a cmd file with the pause command, then will the setup halt till the cmd is excuted completely or will it just continue ?Bye,Jazz Link to comment Share on other sites More sharing options...
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