Jump to content

Recommended Posts

Posted

Hi, I've been up all night after finally getting round to learning how to add progs to the unattended installs, I've had a succesful attempt, although it did take some time. I was wondering if I could bypass the part where the installs for the applications in $OEM$\$1\insalls\ are copied to the hard disk. Basically I would prefer the setups not to be copied and ran from the cd itself. Is there a variable I can use in start.cmd to call from whatever cdrom the disk is in? I remember seeing %CDROM% in a batch file once, would this come in handy here? Any help appreciated ;)

-EDIT-

..the very next post I came to answered this, lol - sorry lads ;)


Posted

check your winnt.sif

do u hv this line ?

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=Yes

TargetPath=\WINDOWS

Repartition=yes

UnattendSwitch=yes

WaitForReboot=No

Posted

do this..

instead of using .\$OEM$ use .\Install .\ is the root of the cd

next, in your batch file (place it in .\install) & run it from commandlines.txt add this

cmdlines.txt goes inside $OEM$

[COMMANDS]
"..\Install\start.cmd"

Start.cmd

IF EXIST C:\File.ext Set CDROM=C:
IF EXIST D:\File.ext Set CDROM=D:

Repeat that step threw to 'Z' (replace file.ext with the name of a file on the root of your cddrive)

then just do something like

Start /wait %cdrom%\Install\someprogram.exe /switch

Posted
Not related to ths thread but, I like your signature totoymola! I used to have many of them but disappeared somewhere.

Hahaha.. Just borrowed it from somewhere. :lol:

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