Jazkal Posted May 12, 2009 Share Posted May 12, 2009 Microsoft SUCKS!I just upgraded to the WAIK for Windows 7 RC.Went through the list of instructions in the help file. (Walkthrough: Create a Custom Windows PE Image)Got all the way to "Step 2: Mount the Base Windows PE Image"This command:Dism /Mount-Wim /WimFile:C:\winpe_x86\ISO\sources\boot.wim /index:1 /MountDir:C:\winpe_x86\mountDoesn't work any more, because the removed the "/Mount-Wim" switch, with out telling us what the replacement is. I have work to do, so I'm removing this crap. I'll look at it more later. Link to comment Share on other sites More sharing options...
Tripredacus Posted May 13, 2009 Share Posted May 13, 2009 This command:Dism /Mount-Wim /WimFile:C:\winpe_x86\ISO\sources\boot.wim /index:1 /MountDir:C:\winpe_x86\mountDoesn't work any more, because the removed the "/Mount-Wim" switch, with out telling us what the replacement is.I've forwarded this along so hopefully it will be fixed in an update. Link to comment Share on other sites More sharing options...
Jazkal Posted May 13, 2009 Share Posted May 13, 2009 Did you verify this was a problem? Just want to make sure it wasn't just me that had that problem. Link to comment Share on other sites More sharing options...
Tripredacus Posted May 13, 2009 Share Posted May 13, 2009 Did you verify this was a problem? Just want to make sure it wasn't just me that had that problem.I'm not up to the RC tools yet. We haven't even gotten in any Windows 7 source yet so I'm not too worried right now. Link to comment Share on other sites More sharing options...
srivatsacsn Posted May 13, 2009 Share Posted May 13, 2009 This command:Dism /Mount-Wim /WimFile:C:\winpe_x86\ISO\sources\boot.wim /index:1 /MountDir:C:\winpe_x86\mountDoesn't work any more, because the removed the "/Mount-Wim" switch, with out telling us what the replacement is.Mount-wim switch is not removed it's just that boot.wim is not copied to ISO\sources anymore. Just addcopy "%SOURCE%\winpe.wim" "%DEST%\%TEMPL%\sources\boot.wim"to your copype.cmd before the line wher you mount the image. Link to comment Share on other sites More sharing options...
Jazkal Posted May 13, 2009 Share Posted May 13, 2009 Thanks. But I am aware of that, as it is described in the step by step walk through I listed above. Been there, tried that, didn't work. Link to comment Share on other sites More sharing options...
Jazkal Posted May 13, 2009 Share Posted May 13, 2009 (edited) C:\winpe_x86>dir /b /sC:\winpe_x86\etfsboot.comC:\winpe_x86\ISOC:\winpe_x86\mountC:\winpe_x86\winpe.wimC:\winpe_x86\ISO\bootC:\winpe_x86\ISO\bootmgrC:\winpe_x86\ISO\EFIC:\winpe_x86\ISO\sourcesC:\winpe_x86\ISO\boot\bcdC:\winpe_x86\ISO\boot\boot.sdiC:\winpe_x86\ISO\boot\bootfix.binC:\winpe_x86\ISO\boot\etfsboot.comC:\winpe_x86\ISO\boot\fontsC:\winpe_x86\ISO\boot\fonts\chs_boot.ttfC:\winpe_x86\ISO\boot\fonts\cht_boot.ttfC:\winpe_x86\ISO\boot\fonts\jpn_boot.ttfC:\winpe_x86\ISO\boot\fonts\kor_boot.ttfC:\winpe_x86\ISO\boot\fonts\wgl4_boot.ttfC:\winpe_x86\ISO\EFI\microsoftC:\winpe_x86\ISO\EFI\microsoft\bootC:\winpe_x86\ISO\EFI\microsoft\boot\bcdC:\winpe_x86\ISO\EFI\microsoft\boot\fontsC:\winpe_x86\ISO\EFI\microsoft\boot\fonts\chs_boot.ttfC:\winpe_x86\ISO\EFI\microsoft\boot\fonts\cht_boot.ttfC:\winpe_x86\ISO\EFI\microsoft\boot\fonts\jpn_boot.ttfC:\winpe_x86\ISO\EFI\microsoft\boot\fonts\kor_boot.ttfC:\winpe_x86\ISO\EFI\microsoft\boot\fonts\wgl4_boot.ttfC:\winpe_x86\ISO\sources\boot.wimC:\winpe_x86>Dism /Mount-Wim /WimFile:C:\winpe_x86\ISO\sources\boot.wim /index:1 /MountDir:C:\winpe_x86\mountDeployment Image Servicing and Management toolVersion: 6.1.7100.0Error: 87The mount-wim option is unknown.For more information, refer to the help by running DISM.exe /?.The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.logC:\winpe_x86> Edited May 13, 2009 by Jazkal Link to comment Share on other sites More sharing options...
ner Posted May 14, 2009 Share Posted May 14, 2009 (edited) Having REAL problems creating my imageThis is my command:rd /s/q C:\PE\winpe_x86cd c:\Program files\windows aik\tools\petoolscall copype.cmd x86 C:\PE\winpe_x86pausecd C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism.exe /Mount-Wim /WimFile:C:\PE\winpe_x86\winpe.wim /index:1 /MountDir:C:\PE\winpe_x86\mount\pausecd C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism /image:C:PE\winpe_x86\mount /Add-Package /PackagePath:C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\WinPE-HTA_en-us.cabPAUSECopy c:\MakePE3\Windows\System32\*.* C:\PE\Winpe_x86\Mount\Windows\System32Copy c:\MakePE3\Icon\*.* C:\PE\Winpe_x86\ISOpausecd C:\Program Files\Windows AIK\Tools\x86\Servicing\Dism /Unmount-Wim /MountDir:C:\PE\winpe_x86\mount /Commit PAUSEcopy c:\PE\winpe_x86\winpe.wim c:\PE\winpe_x86\ISO\sources\boot.wimPAUSEcd C:\Program Files\Windows AIK\Tools\x86\oscdimg -n -bc:\PE\winpe_x86\etfsboot.com c:\PE\winpe_x86\ISO c:\PE\winpe_x86\winpe_x86.isoPAUSEand i get this error:see attachment Edited May 14, 2009 by ner Link to comment Share on other sites More sharing options...
Jazkal Posted May 14, 2009 Share Posted May 14, 2009 looks like your unmount was not successful. Link to comment Share on other sites More sharing options...
ner Posted May 15, 2009 Share Posted May 15, 2009 (edited) Many Thanks Jazkal, Its was that problem. Thanks.Fully created a working version now, although i was unable to install any packages, as it said the package was not able to install for the veriosn?Anyway, woked for what i needed it to do, which was to install images via Ghost 11.5Here is my C<D File for anyone that needs it....RD /s/q C:\PE\winpe_x86cd "c:\Program files\windows aik\tools\petools"call copype.cmd x86 C:\PE\winpe_x86pausecopy c:\PE\winpe_x86\winpe.wim c:\PE\winpe_x86\ISO\Sources\boot.wimpausecd "C:\Program Files\Windows AIK\Tools\x86\Servicing"Dism /Mount-Wim /WimFile:C:\PE\winpe_x86\ISO\Sources\boot.wim /index:1 /MountDir:C:\PE\winpe_x86\mountpausecd "C:\Program Files\Windows AIK\Tools\x86\Servicing"Dism /image:C:\PE\winpe_x86\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\WinPE-HTA_en-us.cab"Dism /image:C:\PE\winpe_x86\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\winpe-legacysetup_en-us.CAB"Dism /image:C:\PE\winpe_x86\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\winpe-mdac_en-us.CAB"Dism /image:C:\PE\winpe_x86\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\winpe-scripting_en-us.cAB"Dism /image:C:\PE\winpe_x86\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\winpe-setup_en-us.cAB"Dism /image:C:\PE\winpe_x86\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\winpe-wds-tools_en-us.CAB"Dism /image:C:\PE\winpe_x86\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\winpe-wmi_en-us.CAB"Dism /image:C:\PE\winpe_x86\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\winpe-PPPOE_en-us.CAB"PAUSECopy D:\MakePE3\Windows\System32\*.* C:\PE\Winpe_x86\Mount\Windows\System32Copy D:\MakePE3\Icon\*.* C:\PE\Winpe_x86\ISOpausecd "C:\Program Files\Windows AIK\Tools\x86\Servicing"Dism /Unmount-Wim /MountDir:C:\PE\winpe_x86\mount /Commit PAUSEcd "C:\Program Files\Windows AIK\Tools\x86"oscdimg -n -bc:\PE\winpe_x86\etfsboot.com c:\PE\winpe_x86\ISO c:\PE\winpe_x86\winpe_x86.isoPAUSE Edited May 15, 2009 by ner Link to comment Share on other sites More sharing options...
Tripredacus Posted May 15, 2009 Share Posted May 15, 2009 I see alot of these walkthroughs contain a change directory. Are you guys running this through the regular command prompt instead of the Win PE Tools Command Prompt? Link to comment Share on other sites More sharing options...
ner Posted May 15, 2009 Share Posted May 15, 2009 (edited) All I did was to create a bat file (cmd file) and run as admin!Creates a new CD Image in about 2/3 mins..I have attached my file for youCREATECD_V2.CMD Edited May 15, 2009 by ner Link to comment Share on other sites More sharing options...
Tripredacus Posted May 15, 2009 Share Posted May 15, 2009 OK, its because the batch file uses the standard command interpreter. I wonder if its possible to run a batch file through the PE cmd, since it contains the valid path information. Link to comment Share on other sites More sharing options...
Jazkal Posted May 15, 2009 Share Posted May 15, 2009 I just added them to my user or system paths. Link to comment Share on other sites More sharing options...
SNissen Posted September 12, 2009 Share Posted September 12, 2009 I also had the DISM problem mentioned in this thread: when I ran any DISM command, I got the Error: 87, saying the command option was unknown. Not finding the answer anywhere, I found my own solutions. I deduced that the conflict was in one of two areas: 1) bad wimfltr driver from a previous WAIK installation, and/or 2) bad vhd* drivers from VhdMount from Microsoft Virtual Server 2005.1) Bad wimfltr? When I uninstalled an earlier version of WAIK, it correctly removed the wimfltr.sys driver, but failed to remove the wimfltr.inf file from %windir%\inf. Either uninstall all earlier versions of WAIK (and reboot), or else delete the leftover solitary wimfltr.inf file.2) Bad vhd*? I had installed just the VhdMount component from the Microsoft Virtual Server 2005, but then didn't have an entry in Control Panel->Programs to uninstall it later. So, download the free Microsoft Virtual Server 2005 SP1, and again install just the VhdMount component. Now uninstall Microsoft Virtual Server 2005 SP1 and reboot. That should remove the vhdbus and vhdstor drivers from %windir%\inf and from %windir%\system32\drivers.Obviously, before you ever delete any drivers, make sure you have a recovery solution, like a System Restore checkpoint and a recent backup.Once I performed both these fixes and rebooted, I was able to install the latest WAIK again, and the Error:87 problem was gone. I hope this information may be helpful to others. Sande 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