Installing Vista on a Machine that does not have a DVD-Rom

Posted by kyle on December 5th, 2006 filed in Vista Deployment

The Vista Installation image is not small – you can cut it down but getting it onto a CD is a challenge – the answer comes as part of the WAIK (Windows Automated Installation Kit).

There are a few options naturally – one is to deploy via the network or to install off a CD – but how do you get the Install file onto a CD?

Using either imageX /split to split the WIM file and then reconstruct it on the target machine – or use the createspannedshare.cmd command.

The imageX one is ideal for transporting the WIM but not so ideal for actually installing. The tool of choice therefore is createspannedshare.cmd. So how do you use it?

The command is run as createspannedshare.cmd Source Destination [SKU Name]

The steps are:

  1. Create a source directory on a machine – eg. C:\span\source and copy the entire Windows DVD content to it (make sure you get all hidden and system files!)
  2. Remove the read-only attribute on the all the files in the directory
  3. At a command prompt – now run createspannedmedia.cmd c:\span\source c:\span [Vista]  – this will then create in the c:\span directory a new folder named Vista with subfolders – CD1, CD2, etc.
  4. Create an ISO file of each subfolder and burn these to CD – making sure that CD1 is a bootable ISO file – easy way to do this is again use the tools in the WAIK using the following command:

oscdimg -n -b”c:\program files\Windows AIK\tools\PETools\x86\boot\etfsboot.com” c:\span\Vista\CD1 c:\span\Vista\CD1.iso

Once you have done this.. (ie converted all the directories to ISO files, ensuring that the first one is bootable, and then burnt them all off to CD’s) you have the ablility to deploy using CD’s!

Cheers

Kyle


21 Responses to “Installing Vista on a Machine that does not have a DVD-Rom”

  1. Wayne Says:

    *bow* *bow* we’re not worthy oh great guru :) Very cool Kyle, keep ‘em coming!

  2. Windows Vista/Longhorn Blog : Installing Vista on a Machine that does not have a DVD-Rom Says:

    [...] Installing Vista on a Machine that does not have a DVD-Rom The Vista Installation image is not small – you can cut it down but getting it onto a CD is a challenge – the answer comes as part of the WAIK (Windows Automated Installation Kit). There are a few options naturally – one is to deploy via the network or to install off a CD – but how do you get the Install file onto a CD? Using either imageX /split to split the WIM file and then reconstruct it on the target machine – or use the createspannedshare.cmd command. The imageX one is ideal for transporting the WIM but not so ideal for actually installing. The tool of choice therefore is createspannedshare.cmd. So how do you use it? The command is run as createspannedshare.cmd Source Destination [SKU Name] The steps are: Create a source directory on a machine – eg. C:spansource and copy the entire Windows DVD content to it (make sure you get all hidden and system files!) Remove the read-only attribute on the all the files in the directory At a command prompt – now run createspannedmedia.cmd c:spansource c:span [Vista]  – this will then create in the c:span directory a new folder named Vista with subfolders – CD1, CD2, etc. Create an ISO file of each subfolder and burn these to CD – making sure that CD1 is a bootable ISO file – easy way to do this is again use the tools in the WAIK using the following command: oscdimg -n -b “c:program filesWindows AIKtoolsPEToolsx86bootetfsboot.com” c:spanVistaCD1 c:spanVistaCD1.iso Once you have done this.. (ie converted all the directories to ISO files, ensuring that the first one is bootable, and then burnt them all off to CD’s) you have the ablility to deploy using CD’s! Info from http://www.vistapcguy.net/?p=46 Published Tuesday, December 19, 2006 2:10 AM by RichardWu [...]

  3. Richard Says:

    Great stuff. One question – how do I obtain the createspannedshare.cmd file? I have the final release of the WAIK installed, and have performed a full search of my drive to no avail. Where can I locate it?

    Thanks for some great information.

  4. joe Says:

    Hi,

    I was given 4 CDs to install vista, the problem was that during installation it asks for install.wim, but what i found was just install.swm and other CDs having .swm files also.

    How do reconstruct the .swm files back into one single install.wim file?

    Any help would be appreciated.

  5. kyle Says:

    Answers to a couple of the questions from this post:

    Joe’s question about the reconstruction of the SWM files – essentially you reconstruct on the fly – boot into a Windows PE environment (use the BDD Workbench to create one of these) and then you can use the install as you would normally. ie – use the imagex commands to install the image – the difference is that you are using the multiple discs – so you will have to replace the disks on the way through at the prompts.

    This is another reason that I prefer to use the createspannedshare – you get bootable installs without the multiple steps to run them.

  6. Johnson Says:

    Great work Kyle .I was breaking my head for the past week to install vista without dvd rom support…
    Successfully installed vista…Thankz
    Is there any way to create cd’s only for vista ultimate [ for other versions too ]???

  7. Dark Says:

    So where can I find createspannedshare.cmd? Whats it included with?

  8. scott Says:

    could you elaborate on post 5.

    I have the bootable Win PE cd made
    the Vista boot CD without the install.wim
    and the 4 split CD’s with splitinstall.swm,
    splitinstall2.swm,splitinstall3.swm, and splitinstall4.swm

    what are the steps and commands in Imagex to install the 4 .swm files onces booted into WinPE
    and after installing the Vista setup.exe disk

    one other question when I tried to merge the 4 .swm files they went into a folder called C:\INSTALL and i cannot convert that to a .wim
    when i set the directory to C:\INSTALL.wim WinPE said it could not find the directory?

    any details are appreciated

  9. Jack Says:

    Where is createspannedshare.cmd? I have tried searching everywhere.

  10. Rob Says:

    Joe’s question about the reconstruction of the SWM files – essentially you reconstruct on the fly – boot into a Windows PE environment (use the BDD Workbench to create one of these) and then you can use the install as you would normally. ie – use the imagex commands to install the image – the difference is that you are using the multiple discs – so you will have to replace the disks on the way through at the prompts.

    Imagex will not wait for you to supply the next swm file. Instead it only fails. I have also tried using the wimgapi’s to apply the split swm’s myself. I see no way in the API’s to wait for the next swm to continue applying. I must be able to apply split WIM files (swm) across multiple CD’s and rebuilding the WIM on the target machine is not an option. Does anyone have a solution?

  11. Brad Says:

    Just for the record, I love this post, but there are two mistakes I noticed.

    To anyone looking for createspannedshare.cmd or createspannedmedia.cmd- it doesn’t exist; the actual command is createspannedshares.cmd (There’s an *s* at the end).

    That tripped me up for about 2 seconds, but I can see where it would be a problem for some.

    I’m having other problems, actually. Pshaw.

  12. Ken Says:

    I able to find this createspannedshare.cmd file
    but when I run this command:
    createspannedmedia.cmd c:\span\source c:\span [Vista]
    It gives me
    ‘createspannedmedia.cmd’ is not recognized as an internal or external command, operable program or batch file.

    Anyone can help me?

  13. thangtran Says:

    I used Windows AIK to cut vista source driectory to 5 Cd and cd1 is bootable,but in cd2 has install1.wim,cd3 is install2.wim… do i have to rename all to install.wim??

  14. wxpmcewaik? Says:

    Great detailed info. I tried it with a Windows XP MCE DVD, but the createspannedshares.cmd only works with Vista. I’ve searched for a similar tool to do this with my XP MCE DVD, but haven’t found one. Do you know of one?

    Cheers,
    wxpmcewaik

  15. Tom Says:

    After running createspanned.cmd, my hard drive stops blinking at the imagex tool for windows. It seems that it may have difficulties splitting the install.wim. Any help would be greatly appreciated. Thanks.

  16. Eisenpony Says:

    Ouch, I tried this and the script didn’t create a folder called vista. Instead it tried to use the base folder (in my case a root drive oops!) so it deleted everything except files currently in use! I lost about 120 gigs of data :(

  17. charmaine Says:

    hey kyle,
    i need to ask, is there a way to integrate vista service packs into a vista beta version like in build 5600. every time i does that it give weird error.

    thanks, waiting for reply :)

  18. Samim Says:

    Hey,

    I did this and it worked for me. The only thing is, these instructions aren’t fully complete.

    1. Install Windows Automatic Installation Kit (WAIK)

    2. Create a source directory on a machine – eg. C:\span\source and copy the entire Windows DVD content to it (make sure you get all hidden and system files!)

    3. Go to C:\Program Files\Windows AIK\Tools\PETools and copy the file “oscdimg” to the C:\Program Files\Windows AIK\Samples folder.

    4. Go to C:\Program Files\Windows AIK\Tools\x86 and copy the “imagex” file to the C:\Program Files\Windows AIK\Samples folder.

    5. Open up a command prompt, with administrator rights, and now type: createspannedmedia.cmd c:\span\source c:\span [Vista] – this will then create in the c:\span directory a new folder named Vista with subfolders – CD1, CD2, etc.

    6. Create an ISO file of each subfolder (You can use “folder2iso” found at http://www.trustfm.net/divx/SoftwareFolder2Iso.php?b2=1

    7. Make CD1 bootable by typing in the command prompt again:

    oscdimg -n -b”c:\program files\Windows AIK\tools\PETools\x86\boot\etfsboot.com” c:\span\Vista\CD1 c:\span\Vista\CD1.iso

    8. Burn the ISO’s to CD’s and you’re done :)

  19. Samim Says:

    Sorry,

    Here is the correct step 5:

    5. Open up a command prompt, with administrator rights, and now type: cd \program files\windows AIK\samples

    This will direct the command prompt to that directory. Then type: createspannedmedia.cmd c:\span\source c:\span [Vista] – this will then create in the c:\span directory a new folder named Vista with subfolders – CD1, CD2, etc.

  20. Samim Says:

    Oops, 1 more error lol.

    The original instructions say to use “createspannedmedia.cmd” but you actually use “createspannedshares.cmd”

    Just replace createspannedmedia.cmd in the instructions with createspannedshares.cmd

  21. jennifer mak Says:

    hello PC guy!

    i need help…i have a toshiba satillite laptop and it was knocked off a table and i guess it crashed. i ordered the disc’s from toshiba and i started to install them. it gets so far and it says problems with swm file…driver not connected. not really sure what to do…do you know what might be wrong?

    thanks

Leave a Comment

Locations of visitors to this page