MSFN Forum: [App] Boot Folder creation - MSFN Forum

Jump to content



  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

[App] Boot Folder creation winnt32 /noreboot replacement Rate Topic: -----

#1 User is offline   Nazgul 

  • Junior
  • Pip
  • Group: Members
  • Posts: 86
  • Joined: 02-January 05

  Posted 14 May 2005 - 03:54 PM

I've been busy trying to create my own Multi-Boot DVD using the Creating a Multi-Boot DVD tutorial.
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

History:

Quote

1.3 (08-07-2005)
- 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

1.2 (13-06-2005)
- Reworked Copy code, because of instability with that code

1.1 (11-06-2005)
- Added 64-bit windows BootFolder support

1.0 (14-05-2005)
- Initial release

Attached File(s)


This post has been edited by Nazgul: 08 July 2005 - 02:45 PM



#2 User is offline   Screwz Luse 

  • Member
  • PipPip
  • Group: Members
  • Posts: 158
  • Joined: 19-November 03

Posted 14 May 2005 - 11:49 PM

Awesome stuff. I'll try it out later today or tomorrow. I was actually going to be looking for a similar utility today anyway... heh..

#3 User is offline   Nazgul 

  • Junior
  • Pip
  • Group: Members
  • Posts: 86
  • Joined: 02-January 05

Posted 22 May 2005 - 03:13 PM

So far there have been 20+ downloads, but only 1 reply.

I was hoping for some more user experiences with it.

#4 User is offline   rikgale 

  • uA lover
  • PipPipPip
  • Group: Members
  • Posts: 422
  • Joined: 01-November 04

Posted 22 May 2005 - 03:27 PM

I'll give it a try next time I'm working on my multi-boot dvd. This however will have to wait until after I have finished the UA cd.

Can you give an example of:

Quote

The application can also be used from a script, by passing the source and destination folders as well as an /u (unattended) option as command line arguments.


ta

Rik

#5 User is offline   Nazgul 

  • Junior
  • Pip
  • Group: Members
  • Posts: 86
  • Joined: 02-January 05

Posted 22 May 2005 - 03:38 PM

I use the following part of my UA-DVD script to call my app:
REM -------------------------------------------------------------------------------------------------------
REM --- Create BOOT Folders -------------------------------------------------------------------------------
REM -------------------------------------------------------------------------------------------------------
IF NOT EXIST E:\Work\PRO1 (
  MD E:\Work\PRO1
)
START /wait E:\Tools\BootFolder.exe /u E:\Work\SETUP\XP\Professional\US\Attended\Base E:\Work\PRO1


#6 User is offline   johny_cale 

  • Group: Members
  • Posts: 1
  • Joined: 23-May 05

Posted 23 May 2005 - 06:05 AM

Hi

I have testing this Tool to make my Bootfolder and after this i install with this Bootfolder Windows XP.
No Problems with install.

Thanks for this very nice Tool. :thumbup :thumbup

(sorry, for my bad english)

ciao
johny_cale

#7 User is offline   Nightwalker 

  • Group: Members
  • Posts: 2
  • Joined: 21-May 04

Posted 23 May 2005 - 07:39 AM

Thank you for the Prog.
Can i use it also for x64??

#8 User is offline   Nazgul 

  • Junior
  • Pip
  • Group: Members
  • Posts: 86
  • Joined: 02-January 05

Posted 23 May 2005 - 12:59 PM

I haven't tried it on x64, because I don't have one available to me.

But if you could attach your dosnet.inf file, I'd be able to see if Microsoft changed anything that 'breaks' my tool.


@johny_cale: Great to hear it worked for you. :)

#9 User is offline   fifogigo 

  • Group: Members
  • Posts: 9
  • Joined: 24-March 04

Posted 25 May 2005 - 02:24 PM

Nice program, I tried it a couple times. First time worked with no problem, everytime after it would say that there was no dosnet.inf eventhough there was indeed one.

#10 User is offline   Nazgul 

  • Junior
  • Pip
  • Group: Members
  • Posts: 86
  • Joined: 02-January 05

Posted 25 May 2005 - 02:54 PM

@fifogigo: Did you restart the program between those tries, or did you do them after each other?

#11 User is offline   fifogigo 

  • Group: Members
  • Posts: 9
  • Joined: 24-March 04

Posted 25 May 2005 - 03:45 PM

I've tried restarting the program, i've also tried restarting the system. when that didn't work i tried clearing out temp files. It made no difference.

#12 User is offline   Nazgul 

  • Junior
  • Pip
  • Group: Members
  • Posts: 86
  • Joined: 02-January 05

Posted 26 May 2005 - 02:30 PM

I'm unable te reproduce your problem.
Are you sure you're pointing at the root of your Windows folder and not to the I386 folder?

#13 User is offline   fifogigo 

  • Group: Members
  • Posts: 9
  • Joined: 24-March 04

Posted 26 May 2005 - 08:16 PM

Yes, i'm in the windows root, i've tried in the i386 directory as well. i've also tried to use subst to try to get it to see the windows root as a stand alone drive. Is there some other check in the program that may be tripping it.

#14 User is offline   Nazgul 

  • Junior
  • Pip
  • Group: Members
  • Posts: 86
  • Joined: 02-January 05

Posted 27 May 2005 - 02:22 AM

 private bool VerifySource()
  {
 	 if(Directory.Exists(SourceText.Text))
 	 {
    if(File.Exists(SourceText.Text + @"\I386\dosnet.inf"))
    {
   	 return true;
    }
    else
    {
   	 ErrorLabel.Text="The specified Source folder does not contain a DOSNET.INF file!";
   	 CreateButton.Enabled = false;
   	 ErrorLabel.Visible = true;
   	 return false;
    }
 	 }
 	 return false;
  }
This is the only piece of code that triggers that error.
It first checks if the specified directory existst and if it does, if it contains a dosnet.inf in a subdirectory called I386.

I can't figure out what could be causing your problem.

#15 User is offline   fifogigo 

  • Group: Members
  • Posts: 9
  • Joined: 24-March 04

Posted 27 May 2005 - 12:37 PM

I actually had a friend try this out, and it seems to happen only when it's windows with sp1, sp2 works.

#16 User is offline   --=ddSHADOW=-- 

  • --=ddSHADOW=--
  • PipPip
  • Group: Members
  • Posts: 209
  • Joined: 08-August 04

Posted 27 May 2005 - 01:28 PM

tnx will try it :D

#17 User is offline   Lost Soul 

  • Snap ... Crackle ... Pop
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,746
  • Joined: 12-December 03

Posted 29 May 2005 - 08:17 AM

im gonna give this a try,, have you had any problems using it with windows 2003 server, i noticed in your post it says it works but was there any complications ?

#18 User is offline   Lost Soul 

  • Snap ... Crackle ... Pop
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,746
  • Joined: 12-December 03

Posted 29 May 2005 - 08:40 AM

n/m sorry for the question,, your program works great nice work :)

#19 User is offline   cyberpunkus2007 

  • Group: Members
  • Posts: 1
  • Joined: 02-June 05

  Posted 02 June 2005 - 10:07 PM

:thumbup Thanks... I'm happy that i don't have to do it the old way... it sounded pointless too me since this great program go by that!!! :thumbup

#20 User is offline   bombtrack 

  • boooom
  • PipPip
  • Group: Members
  • Posts: 161
  • Joined: 02-January 04

Posted 05 June 2005 - 07:39 PM

thx for the nice tool, will try it out soon

Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy