chifliiiii Posted February 26, 2007 Share Posted February 26, 2007 I have finished my aio dvd but now i want to add a button or smt to give me the option to make the original iso.So if i choose windows 2k3 i ask me for a cd and then it burns the original iso into it.Any clue of how to do this? Link to comment Share on other sites More sharing options...
mailramk Posted February 26, 2007 Share Posted February 26, 2007 I have finished my aio dvd but now i want to add a button or smt to give me the option to make the original iso.So if i choose windows 2k3 i ask me for a cd and then it burns the original iso into it.Any clue of how to do this?I think you can try using mkisofs. Link to comment Share on other sites More sharing options...
phkninja Posted February 26, 2007 Share Posted February 26, 2007 You could add buttons beside each version and edit the code for each. use th infor here and modify respectively.GuideChange the bootfile and the source folder e.g. for flyakite's guide you would have PRO1.dat as a bootable file and PRO1 as a folder.change to %CDROM%\Tools\cdimage.exe -l"WinXP" -h -j1 -x -o -m -b"%CDROM%\PRO1.dat" "%CDROM%\WinXP\PRO1\" "%SysDrv%"%SysDrv% is where the image should be saved.where %CDROM% is defined withfor %%a in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%a:\PRO1.dat set CDROM=%%a(done in cmd files, dont know if it will work correctly as just a command. So you could add the entire process to cmd file and pass %SysDrv% as an argumente.g2@echo offREM Call this file with arguments for all required infoREM %1 is first argument, Im using it for LabelREM %2 is next, I use for boot fileREM %3 is base directory for filesREM %4 is where i want to save ISOREM So i call it asREM createiso.cmd "WinXP" "PRO1.DAT" "PRO1" "C:\"for %%a in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%a:\%2 set CDROM=%%aSET BOOTFILE=%CDROM%\%2SET FILES=%CDROM%\%3%CDROM%\Tools\cdimage.exe -l"%1" -h -j1 -x -o -m -b"%BOOTFILE%" "%FILES% "%4"Save as createiso.cmdWarning:This was done off the top off my head. it may need tweaking for real application 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