Jump to content











Photo
- - - - -

DISM troubles


  • Please log in to reply
3 replies to this topic

#1 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 06 November 2009 - 03:38 PM

when i mount a wim file like this

C:\> DISM.exe /Mount-Wim /wimfile:C:\dismtest\boot.wim /index:1 /MountDir:C:\dismtest\wimfolder

I can browse the files in the folder C:\dismtest\wimfolder and i can add files to the mounted wim, but i can not copy files out of this wim (like copying windows\regedit.exe to som folder on my PC)...

What am i doing wrong here?

#2 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 06 November 2009 - 04:08 PM

when i mount a wim file like this

C:\> DISM.exe /Mount-Wim /wimfile:C:\dismtest\boot.wim /index:1 /MountDir:C:\dismtest\wimfolder

I can browse the files in the folder C:\dismtest\wimfolder and i can add files to the mounted wim, but i can not copy files out of this wim (like copying windows\regedit.exe to som folder on my PC)...

What am i doing wrong here?


Currently looks like :dubbio:

I use the same syntax and after that I copy and xcopy into a different directory w/o troubles.

ShellExecute: [Open] using: [C:\WINDOWS\System32\Dism.exe] with parameters: [/Mount-Wim /WimFile:"Q:\CDs Standard\W7_32_DE_RC1\sources\Boot.wim" /Index:2 /MountDir:"%BaseDir%\Temp\Win7RescuePE\Boot"]

Maybe DISM needs the quotes even w/o spaces?

Peter

#3 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 06 November 2009 - 04:40 PM

Currently looks like :dubbio:

I use the same syntax and after that I copy and xcopy into a different directory w/o troubles.

ShellExecute: [Open] using: [C:\WINDOWS\System32\Dism.exe] with parameters: [/Mount-Wim /WimFile:"Q:\CDs Standard\W7_32_DE_RC1\sources\Boot.wim" /Index:2 /MountDir:"%BaseDir%\Temp\Win7RescuePE\Boot"]

Maybe DISM needs the quotes even w/o spaces?

Peter


do you have vista waik installed on the same system?

#4 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 06 November 2009 - 04:44 PM

do you have vista waik installed on the same system?

Previously, yes, but I think the files in system32 are overwritten by Win7 files (from my GetDism.script)

Peter




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users