NickSewell Posted October 27, 2004 Share Posted October 27, 2004 anyone know what might cause my cd to behave like a standard winxp cd ? i used nLite to intergrate my hotfixes and drivers and servicepacks etc and they appear to be installed but none of the information in my unattended.txt or cmdlines.txt were executed. i have done it using the unattended cd guide on here and beleive i have used it correctly , but it still dosent work. any ideas? Link to comment Share on other sites More sharing options...
jrzycrim Posted October 27, 2004 Share Posted October 27, 2004 For the CD to operate in unattended mode, unattend.txt needs to be renamed to winnt.sif. See http://unattended.msfn.org/xp/winnt_sif.htm Link to comment Share on other sites More sharing options...
NickSewell Posted October 27, 2004 Author Share Posted October 27, 2004 aye just noticed that it wasnt the right name/place. fixed it and going to have one last attempt. so fingers crossed :x might have sussed it this time. ty Link to comment Share on other sites More sharing options...
NickSewell Posted October 27, 2004 Author Share Posted October 27, 2004 for the mostpart it worked great but the installation of my programs went a bit pear shaped.i have included the structure of my oem folder and batch stuff etc. can anyone tell me why kaspersky or msn didnt install? the "install" folder on my CD just got copied over to c:\ and nothing else happened. mirc was successfully copied over to the right place and the registry tweaks went in fine. anyone know how i can change the program install to make it work?$oem$ folder structure$oem$-$1--install---Applications----Kaspersky-----"My Antivirus Setup Files"---MSN----"Messenger Setup Files"-$$--Resources---Icons----"My Icon Theme Libary"---Themes----"My Theme File"----ThemeFileFolder-----"Theme Files"--Web---Wallpaper----"My Wallpapers"-$progs--mIRC---"My mIRC Files"-cmdlines.txt-main_batch.cmd-tweak_general.reg-tweak_icons.reg-tweak_mirc.regmy cmdlines.txt[COMMANDS]"REGEDIT /S tweak_mirc.reg""REGEDIT /S tweak_icons.reg""REGEDIT /S tweak_general.reg""start main_batch.cmd"my main_batch.cmdECHO.ECHO Removing ShortcutsECHO Please wait...DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk"DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk"ECHO.ECHO Installing MSN MessengerECHO Please Wait...start /wait %systemdrive%\install\MSN\MsnMsgs.msi /QBECHO.ECHO Installing Kaspersky Anti-Virus Personal 5.0.149.4ECHO Please Wait...start /wait %systemdrive%\install\Applications\Kaspersky\kav5.0.149.4_personalen.exe /SECHO.ECHO Done.EXIT Link to comment Share on other sites More sharing options...
jrzycrim Posted October 27, 2004 Share Posted October 27, 2004 [COMMANDS]"REGEDIT /S tweak_mirc.reg""REGEDIT /S tweak_icons.reg""REGEDIT /S tweak_general.reg""start main_batch.cmd"Try removing start from the last line. That's not necessary and I don't think you can use that in cmdlines.txt anyway. Start is an internal command in cmd.exe and can't be called from cmdlines.txt like external programs and commands. Link to comment Share on other sites More sharing options...
NickSewell Posted October 27, 2004 Author Share Posted October 27, 2004 ok, ill take out the "start" bit, do you know how i can stop it copying the install folder to my c: drive? or will it walways do that and i just have to delete it or something. Link to comment Share on other sites More sharing options...
jrzycrim Posted October 27, 2004 Share Posted October 27, 2004 The way your setup is now, you need to have the install directory copied to the system drive.You have two options:(1) You can include a command to delete the install folder after your programs are installed. This command placed at the end of your batch file, before the exit command, should do the trick:rd /Q /S %systemdrive%\install\2) You can place your installation programs somewhere other than the $oem$ folder on your CD and install the programs directly from the CD. You can search the forums for info on how do thisFor your setup, option 1 is the simplest. You won't have to change anything. Link to comment Share on other sites More sharing options...
NickSewell Posted October 27, 2004 Author Share Posted October 27, 2004 ok. i think ill go with option one. thanks for the help 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