possy_99 Posted October 25, 2004 Posted October 25, 2004 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
Astalavista Posted October 25, 2004 Posted October 25, 2004 check your winnt.sifdo u hv this line ?[unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS Repartition=yes UnattendSwitch=yes WaitForReboot=No
MCT Posted October 25, 2004 Posted October 25, 2004 do this..instead of using .\$OEM$ use .\Install .\ is the root of the cdnext, in your batch file (place it in .\install) & run it from commandlines.txt add thiscmdlines.txt goes inside $OEM$ [COMMANDS]"..\Install\start.cmd"Start.cmdIF 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 likeStart /wait %cdrom%\Install\someprogram.exe /switch
totoymola Posted October 25, 2004 Posted October 25, 2004 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?Yes you can. Check this out. http://www.unattended.msfn.org/xp/runonceex_cd.htm
Vel Straty Posted October 25, 2004 Posted October 25, 2004 Not related to ths thread but, I like your signature totoymola! I used to have many of them but disappeared somewhere.
gunsmokingman Posted October 25, 2004 Posted October 25, 2004 Here try this It will produce a run once for a install from where you can add 11 app to the install or just 6 app.RunOnce 11 app to InstallRunOnce 6 app to Installjust run the cmd and it will leave the runonce on your desktopor just save it and run itHope this helps
totoymola Posted October 25, 2004 Posted October 25, 2004 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.
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