Jump to content











Photo
- - - - -

Add Dism To Stripped Tiny Modified Windows PE


  • Please log in to reply
7 replies to this topic

#1 osninja32120

osninja32120
  • Members
  • 4 posts
  •  
    United States

Posted 17 December 2018 - 04:38 PM

I always find very small stripped feature rich pe versions but they always have dism removed from the wim making it impossible to add packages or english language support.

 

 

Can someone please explain How I would add dism support back to a modified stripped pe wim that has dism removed.

 

Thanks.


Edited by osninja32120, 17 December 2018 - 04:38 PM.


#2 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 3041 posts
  • Location:Nantes - France
  •  
    France

Posted 17 December 2018 - 09:16 PM

Have a look in this thread may be?

There are some interesting informations about DISM while touching on other side or extra tools.



#3 stayboogy

stayboogy

    Member

  • Members
  • 49 posts
  •  
    United States

Posted 18 December 2018 - 06:48 AM

just dism add the dism applets package and corresponding language package, to your winpe.wim, done.



#4 osninja32120

osninja32120
  • Members
  • 4 posts
  •  
    United States

Posted 19 December 2018 - 04:29 PM

does tinydism support windows 7? 

 

The wims i'm trying to add dism support to are all windows 7 pe 3.0 based.

 

From a windows 10 host:

 

host:10.0.14393
loadlibrary OK
path:C:\Windows\SYSTEM32\DismAPI.dll
version:6.2.14393.0
DismInitialize OK
DismOpenSession failed
 
on a windows 7 sp0 host:
 
fails to load dismapi.dll and crashes
 
when using a copied dismapi.dll from a windows 8 32 bit install on windows 7 sp0 host: external exception EO6D7363 
 
copied these files to the wim to see if it made any difference but it didnt.
 
\Windows\System32\SSShim.dll
\Windows\System32\config\
\Windows\servicing\
\Windows\System32\Dism\
\Windows\System32\wdscore.dll


#5 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 3041 posts
  • Location:Nantes - France
  •  
    France

Posted 19 December 2018 - 05:22 PM

 

does tinydism support windows 7? 

 

The wims i'm trying to add dism support to are all windows 7 pe 3.0 based.

 

From a windows 10 host:

 

host:10.0.14393
loadlibrary OK
path:C:\Windows\SYSTEM32\DismAPI.dll
version:6.2.14393.0
DismInitialize OK
DismOpenSession failed
 
on a windows 7 sp0 host:
 
fails to load dismapi.dll and crashes
 
when using a copied dismapi.dll from a windows 8 32 bit install on windows 7 sp0 host: external exception EO6D7363 
 
copied these files to the wim to see if it made any difference but it didnt.
 
\Windows\System32\SSShim.dll
\Windows\System32\config\
\Windows\servicing\
\Windows\System32\Dism\
\Windows\System32\wdscore.dll

 

 

For the record :

Winpe 4.0 -> Windows 8.0 -> dismapi version 6.2.x

Winpe 5.x -> WIndows 8.1 -> dismapi version 6.3.x

Winpe 6.0 aka 10.0 -> Windows 10 -> dismapi version 6.10.x

 

  • No support for Windows 7 (as host) : dismapi is not supported there.
  • If you are getting a session failed, it may mean that you are using a dismapi.dll (6.2 in your case) against a wim file which is newer than 6.2 (6.3, 6.10 ...).

 

See post here.

 

 

 

  • starting with windows 8.x, dism components are there by default - you should not need to download any extra MS files.
  • dismapi.dll was introduced with windows 8 (i.e "winpe4" i.e "ver 6.2.x" i.e "adk4" )
  • dismapi "session oriented" functions (add-driver, add-package, etc) are downward compatible but not upward compatible : dismapi 10.x can work with a 6.x image, not the other way around
  • dismapi "wim oriented" functions (mount, unmount, get-imageinfo, etc) are downward and upward compatible : any dismapi.dll should be able to mount any wim file.
  • the host itself does not matter much and you can download adk (4,5 or 6) thru getwaiktools and handle wim files from there.


#6 osninja32120

osninja32120
  • Members
  • 4 posts
  •  
    United States

Posted 19 December 2018 - 06:09 PM

the wim file is from windows pe 3.0 Version: 6.1.7600.16385

 

tried using windows 10 as the host failed as well

 

seeing as dismapi was introduced in 8.0...

 

Does that mean that servicing a windows 7 wim is also unsupported or should it be downwards compatible?


Edited by osninja32120, 19 December 2018 - 06:10 PM.


#7 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 3041 posts
  • Location:Nantes - France
  •  
    France

Posted 19 December 2018 - 06:15 PM

the wim file is from windows pe 3.0 Version: 6.1.7600.16385

 

tried using windows 10 as the host failed as well

 

seeing as dismapi was introduced in 8.0...

 

Does that mean that servicing a windows 7 wim is also unsupported or should it be downwards compatible?

 

try and report the result of the below.

 

I am using a win8.1 host using the system dismapi.dll against boot.wim coming from a windows 8.1 install kit.

 

You should (although i may not have tried) be able to process a win7 wim file from a win8+ host.

 

Note that it does not mean you cannot use dism on win7 host : it is just another dism architecture (i.e it does not use dismapi) and it is likely that you will have troubles processing new wim files on a win7 host.

 

If you are really into using a straightforward wim tool, use the excellent wimlib .

tinydism_cmd.exe /get-imageinfo c:\temp\x86\iso\sources\boot.wim
host:6.3.9600
loadlibrary OK
path:C:\Windows\SYSTEM32\DismAPI.dll
version:6.3.9600.17031
DismInitialize OK
DismGetImageInfo OK
Index:1
ImageName:Microsoft Windows Setup (x86)
Version:6.3.9600


#8 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 3041 posts
  • Location:Nantes - France
  •  
    France

Posted 19 December 2018 - 06:21 PM

Aand this time targeting a win7 wim file.

 

Seems ok to me.

tinydism_cmd.exe /get-imageinfo c:\_QuickPE\Winpe3_x86.wim

host:6.3.9600
loadlibrary OK
path:C:\Windows\SYSTEM32\DismAPI.dll
version:6.3.9600.17031
DismInitialize OK
DismGetImageInfo OK
Index:1
ImageName:Microsoft Windows PE (x86)
Version:6.1.7600





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users