One of the things that annoyed me with that was the given method to create a Boot Folder, because I think messing with you boot.ini doesn't really win a price for elegance. So I started looking for an alternative method.
As a result I created a small application (which requires the Microsoft .NET 1.1 Framework) of about 32 KB, which creates the Boot Folder for you.
It asks for a folder containing the Windows files for which you want to create a Boot Folder, for example: D:\AIO-DVD\SETUP\XP\Professional.
And it asks you to select a folder that you want to use as a Boot Folder, for example: D:\AIO-DVD\PRO1\.
If you then press the 'magic' button, it automatically copies the required files to that folder.
The application can also be used from a script:
start /wait BootFolder.exe /u /f SourcePath DestinationPath Switches: /u Unattended - Don't show the GUI and start the process directly (Note that the GUI does pop-up in case of errors or invalid parameters) /f Force - Don't verify that the ouput folder is empty (Note that this option isn't available through the GUI, but it will affect the GUI) SourcePath The folder which contains the Windows files for which you want to create a bootfolder TargetPath The empty folder where you want to copy the bootfolder files to
I've tested it on the following Windows versions, but it should work on others as well:
- Windows XP Professional SP2 English
- Windows XP Professional SP2 Dutch
- Windows Server 2003 English
- Fixed a problem when the same file was referenced more than once in dosnet.inf
- Added the /f option, to skip the 'target is empty' verification
- Reworked Copy code, because of instability with that code
- Added 64-bit windows bootfolder support
- Initial release
Edited by Nazgul, 08 July 2005 - 02:45 PM.