Offline Install Of dotNET 3.5 On Windows 8

In the last post I took a look at how to install the .NET Framework 3.5 while the server is not connected to the Internet. At the same time I installed the server I was also installing a Windows 8 client as well and needed to install the .NET Framework 3.5 on it as well. Being client software I expected the process to work, if not better than, then the same as the one on Windows Server 2012.

If you just want the solution rather than my complaining then jump here.

Expecting the process to be a bit smoother than the server OS, I started the Turn Windows Features On option a which shows the .NET Framework 3.5 (includes .NET 2.0 and 3.0) feature at the top of the list. Mark the feature’s checkbox and click OK;

Windows Features

The Windows Features installer will go through a process of searching for the required files before returning with a dialog stating that Windows needs files from Windows Update to finish installing some features;

Windows Features

Problem is I had been expecting an option to select the source as on Windows Server 2012 but there were only the two options as shown above; Download files from Windows Update or cancel the installation.

As there is no Internet connection on the VM I am using I had to click Cancel, at which time I got a dialog telling me Windows couldn’t complete the requested changes;

Windows Features: Windows couldn

After clicking close I got a message box popup to tell me that an error had occurred and not all the features were successfully changed (at which point it started feeling like rubbing salt in the wound);

Windows Features: An error has occurred. Not all of the features were successfully changed.

The Solution

I did a little digging round (and apologies to the blogger who I got this off as I have lost the link and when I searched again I couldn’t find a page I recognised) and found the following dos command to use (where my ODD is on D:);;

Administrator: Command Promptdism.exe /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\sxs /LimitAccess

After entering the command, hit return and wait for the process to run through at which time you’ll be asked to reboot the computer;

Administrator: Command Prompt

Once the install was complete, I reopened the Turn On Windows Features routine to check that .NET Framework 3.5 was installed.

Windows Features

As I said at the start thiw was an odd one as I expected the install to be easier than on Windows Server 2012 but the total opposite was true. Windows Server 2012 had a GUI which could be used to install the feature but Windows 8 required a command typed into DOS. Most unexpected.

Ian Grieve

About Ian Grieve

Ian is a Microsoft Dynamics GP certified consultant specialising in the delivery of Microsoft Dynamics GP projects and currently working for Perfect Image Ltd., a Microsoft Partner and VAR in the North East of England. Ian has worked with Microsoft Dynamics GP since 2003 and, over the nine years since, has dealt with all aspects of the product life-cycle from presales, to implementation, to technical and functional training, to post go-live support and subsequent upgrades and process reviews. In his spare time, Ian runs the azurecurve | Ramblings of a Dynamics GP Consultant blog dedicated to Microsoft Dynamics GP and related products.
This entry was posted in .NET Framework, Microsoft, Windows, Windows 8 and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


* Copy This Password *

* Type Or Paste Password Here *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>