[wix-users] DISM in Windows 10 [P]

Steven Ogilvie Steven.Ogilvie at titus.com
Tue Oct 20 14:42:18 PDT 2015


Classification: Public
Make sure you have the proper syntax (caps)...

i.e.:  to install basic IIS... /Online /NoRestart /Enable-Feature /FeatureName:IIS-WebServerRole /FeatureName:IIS-WebServer /FeatureName:IIS-CommonHttpFeatures

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Kubilay Özisik
Sent: October-20-15 5:31 PM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] DISM in Windows 10

Thanks for the reply @Phil.

I separated the command from the wxs files and saved it into a bat file and running it. The weird thing is It works perfect if I run the batch manually but once the msi calls it, the prompt cmd screen is showing and suddenly quits. I can't see the error.
I've put the dism log in SO thread. There seems no error but all info lines.
http://stackoverflow.com/questions/33245066/wix-cant-enable-iis-in-windows-10-via-dism-command

Could you share a piece of code from one of your CAs? or any tutorials about it?

I'm running a batch calling the command "Start wait dism /online /enable-feature  features.."


On 20 October 2015 at 23:58, Phill Hogland <phill.hogland at rimage.com> wrote:

> http://www.tenforums.com/tutorials/7808-dism-repair-windows-10-image.h
> tml
>
> I have not had any problem calling dism.exe or fondue.exe from a CA 
> when targeting Win 10 x86 or x64, with same code used for win7/2008R2 
> to Win 10 in multiple bundles/packages.  I am not working with IIS 
> features in this situation.  I also do not have any problem, on win 
> 10, in a non-wix setup calling dism.exe (and in that situation I am configuring IIS, only because
> I have not had a chance to converted that setup to wix yet).   However I
> would not expect a call to x86 dism (see your log) to work if the 
> target is a x64 system, or if the related CBS package is missing from 
> the image, which is entirely possible with IIS for any OS (Win 7/2008R2 or later).
>
> What does the CBS log (or the Event log) tell you?
> On the system where you have the problem, if you copy the same command 
> to a cmd box does it work?
> Have you used dism /online /Get-Features /Format:Table to review the 
> specific feature states on the PC you are targeting?
>
> Posting user questions to the devs list is probably not helpful.
> Phill
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On 
> Behalf Of Kubilay Özisik
> Sent: Tuesday, October 20, 2015 2:34 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: [wix-users] DISM in Windows 10
>
> I can't run DISM tool in in Windows 10. It works perfect in Windows 8 
> but in Windows 10 I cant run a batch file running the DISM.
> Anybody faced this issue before?
>
> http://stackoverflow.com/questions/33245066/wix-cant-enable-iis-in-win
> dows-10-via-dism-command
>
> --
> --
> --
>
> Kubilay Özışık
> tel.          +90 534 689 94 80 (TR)
> skype     :kubilay.ozisik
> twitter     : kubilayozisik
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/




--
--
--

Kubilay Özışık
tel.          +90 534 689 94 80 (TR)
skype     :kubilay.ozisik
twitter     : kubilayozisik

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

 



 
This message has been marked as Public by Steven Ogilvie on October-20-15 5:42:18 PM.

The above classification labels were added to the message by TITUS Message Classification. 
For more information visit www.titus.com.


More information about the wix-users mailing list