How to install Python on Windows

First, download Python:

https://www.python.org/downloads/windows/

Continue reading “How to install Python on Windows”

Advertisements

How to install .NET Framework 3.5 on Windows Server 2012 and Windows Server 2012 R2

If you have an application that you want to run on Windows Server 2012 that requires the .NET Framework 3.5, you will most likely run in to a problem when trying to install it. If you are trying to install .NET Framework 3.5 from the Server Manager GUI, you will see this when installing the feature:

“Do you want to specify an alternate source path? One or more installation selections are missing source files…”

To solve this, you can either:

Powershell (As Admin)

Install-WindowsFeature Net-Framework-Core -source \\network\share\sxs

Old Fashion Command Line (As Admin)

DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:d:\sources\sxs

Using Powershell you can verify the install by running Get-WindowsFeature from within PS, you will notice something similar to this;

[X] .NET Framework 3.5 Features NET-Framework-Features   Installed
[X] .NET Framework 3.5 (includes .NET 2.0 and 3.0)  NET-Framework-Core Installed

Note: Source should be the Windows installation disc. In my case, this was located on D:

Bug when adding .net framework 3.5 in Server 2012

2. Go down to “Specify an alternate source path” and enter “d:\sources\sxs” as the path.

Now you should see this under your Features list:

.NET Framework 3.5 feature installed on Windows Server 2012

Installing VB6 gives missing MSDN332.inf

1. Create a directory on your network drive. For example, C:MSDN VS6.
2. Create the following subdirectories: C:MSDN VS6CD1 and C:MSDN VS6CD2.
3. Copy the contents of CD1 and CD2 to their respective directories in C:MSDN VS6 that you just created.
4. Copy the Msdn332.inf file from C:MSDN VS6CD2 to C:MSDN VS6CD1.
5. Copy the contents of C:MSDN VS6CD2MSDN to C:MSDN VS6CD1MSDN.
6. This should leave the C:MSDN VS6CD2 directory empty.
7. Delete the C:MSDN VS6CD2 directory.
8. Install MSDN on the network by double-clicking setup.exe in C:MSDN VS6CD1.

Unfortunately the documentation did not mention what “MSDN 332.inf is used for.

If you can’t find the MSDN332.inf and MSDN331.inf, just create two empty files and put them into your setup directory along with your exe file.
Screenshot_20