/build/static/layout/Breadcrumb_cap_w.png

Systems Deployment Question


Dot Net feature install bundled with the K2000 image

12/13/2019 513 views

So I've been fighting a post install task for a little while now that, for some reason, I can't seem to get right.  I have an .exe for the Service Pack 2 for .NET 2.0 - I got it here - https://www.microsoft.com/en-us/download/details.aspx?id=1639

When I attempt to install it as a post install task on imaging, it will not install silently no matter what switches I use.  We are using Windows 10 Enterprise LTSC.  I've made dozens of post install tasks before with little to no issue, but for whatever reason, this one (and the latest Dell Command Update 3.x as well) I can't get right.  Anyone had any success with the .NET installer as a post install task?  


Thanks!

0 Comments   [ + ] Show comments

Comments



Community Chosen Answer

2

If it should run in a postinstall, then the SXS directory of the Windows 10 DVD must be zipped together with a small batch.

The installation is called via the command line "DISM / online / Enable-Feature / FeatureName: NetFx3 / All / LimitAccess / Source: sxs".

It is important that the appropriate SXS directory must be used for the respective Windows 10 version.


This method works very well for us.


Contents of the zip file and command line in the batch

68cqEgxuIQAAAABJRU5ErkJggg==


Command line of the installation in the post installation

MXCQO4+alUsAAAAASUVORK5CYII=


Answered 12/16/2019 by: Gerhart
Green Belt

  • This works perfectly. I was looking at this as an option as well, I was trying to be lazy and run the stand alone installer as a post install task. Thank you!

All Answers

1

Are you using 1903? I read some changes were made by Microsoft, and conventional methods to install Frameworks, will not work anymore.

You might need to use DISM for that.


A BAT post install task with:

start /wait DISM /Online /Enable-Feature /FeatureName:NetFx3 /All


The Net v3.5 package from Microsoft and it also contains  .Net v2.0.

See:

https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/enable-or-disable-windows-features-using-dism

and:

https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/deploy-net-framework-35-by-using-deployment-image-servicing-and-management--dism

Answered 12/13/2019 by: Channeler
Red Belt

  • LTSC is based on the 1809 build, but it wasn't working for 1903 either when I've tried it. I'll look at adding to via DISM to the image. Thanks
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ