Jump to content

DetachedProgram


Recommended Posts

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 DetachedProgram

but 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


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

woa! it finally worked

with these

DetachedProgram=CMD.EXE
Arguments="/Q /C START %SYSTEMDRIVE%\install\T39.CMD"

still something escapes me

I'm gonna try again without /Q and other modifications

after all it's not that different from my original

maybe the file case?

Anyway thank you all

I suggest that this should be pointed out in the official guide

t-39 is a conveniente place to do some things

Link to comment
Share on other sites

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,

Jazz

PS :- can we run solitare or pacman ? :)

Link to comment
Share on other sites

@edomncu

my cmd contains:

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup

REG ADD %KEY% /V SourcePath /D "%systemdrive%\Install" /f
REG 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

@jazz

winmine 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

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

@edomncu

my cmd contains:

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup

REG ADD %KEY% /V SourcePath /D "%systemdrive%\Install" /f
REG 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

@jazz

winmine is a pleasure (I stole the idea from someone else here around!)

setup sometimes steals focus but that's not an issue

Hmm 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

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...