gareththegod Posted June 18, 2004 Share Posted June 18, 2004 (edited) I have just made my first multiboot cd and im getting one small problem with my cdshell.iniHere is my cdshell.iniboot:clsprint "\n"print "Press Enter to boot from CD... \n"getkey 5 boot 0x80if $lastKey == key[enter]; then goto time# When no key found...goto boot# Function to display time of daytime:set hour = $timeHourset ampm = "am"if $timeHour > 12; then set hour = $timeHour - 12if $timeHour > 12; then set ampm = "pm"set time = "$hour:$timeMinute$ampm"# Function to display datedate:set month = "n/a"if $dateMonth == 1; then set month = "Jan."if $dateMonth == 2; then set month = "Feb."if $dateMonth == 3; then set month = "Mar."if $dateMonth == 4; then set month = "Apr."if $dateMonth == 5; then set month = "May."if $dateMonth == 6; then set month = "Jun."if $dateMonth == 7; then set month = "Jul."if $dateMonth == 8; then set month = "Aug."if $dateMonth == 9; then set month = "Sep."if $dateMonth == 10; then set month = "Oct."if $dateMonth == 11; then set month = "Nov."if $dateMonth == 12; then set month = "Dec."set date = "$month$dateDay,$dateYear"# Printing the Interfacemenu:clsprint c "\n\cXXƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ<\c0B$time $date\cXX>ƒƒ \n\n"print c "\cXXBartPE and Windows XP PRO SP1.\n\n"print l "\cXXPress \c0BF1 \cXXfor Help"print c "\cXXƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ \n\n"print "1) Windows XP Professional SP1 Corporate \n"print "2) BartPE \n"print "3) BartPE /inram \n"print "Q) Quit to Command Prompt \n"print "R) Reboot \n"print "ESC) Boot 1st Harddisk \n"print c "\n"MainKey:getkey 20 boot 0x80if $lastKey == key[1]; then goto XP_Proif $lastKey == key[2]; then chain /BPE1.DATif $lastKey == key[3]; then chain /BPE2.DATif $lastKey == key[q]; then endif $lastKey == key[r]; then rebootif $lastKey == key[F1]; then goto Helpif $lastKey == key[esc]; then boot 0x80XP_Pro:clsprint r "\n\cXXPress \c0BF1 \cXXfor Help \n"print c "\n\cXXMicrosoft Windows XP Professional SP1 Corporate \n"print c "\cXXƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ \n"print "1) Regular \n"print "2) Unattended \n"print c "\n\n"print "Press any key to return to main menu... \n"XP_Pro_Key:if $lastKey == key[1]; then chain /PRO1.DATif $lastKey == key[2]; then chain /PRO2.DATif $lastKey == key[F1]; then goto Helpgoto menuHelp:clsprint c "\n\cXXMulti-Boot DVD Help \n"print c "\cXXƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ \n"print "\n"print "Hit the key of your choice in the main menu -> \n"print "\n"print "\n"print "Install Types \n"print "ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ \n"print "Regular - Install will prompt you for all information during setup. \n"print "Unattended - Install with no user prompts. \n"print "\n"print "\n"print "Press any key to return to main menu... \n"getkeygoto menuendWhen I press 1 (install xp pro) after the cd boots. It should go to a sub menu like in the multiboot guide so that i can choose to install or go unattended.It always goes straight to install XP Pro. it shows the list but carrys on and starts installing xp.so i can't choose to do an unattended install.I think that there is something wrong with XP_Pro bit by it not say go to XP_Pro_Key. The guide doesn't have anything in it.The BartPE stuff work lovely.Edit: I think tha if I add the following just under he XP_Pro_Key bitgetkey 20 goto menucan't check this as using a mac Edited June 18, 2004 by gareththegod Link to comment Share on other sites More sharing options...
Tribble Posted June 21, 2004 Share Posted June 21, 2004 Edit: I think tha if I add the following just under he XP_Pro_Key bitCODE getkey 20 goto menuYes, thats correct. 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