Installing the Microsoft .NET Framework 3.0

abashedwhimsicalSoftware and s/w Development

Nov 2, 2013 (3 years and 9 months ago)

83 views

Installin
g the Microsoft .NET Framework 3
.0
Redistributables in an OEM Environment

System Requirements

Supported Operating Systems:

Microsoft .NET Framework version
3
.0 (x86) runs on:



Microsoft Windows XP Professional (SP2 or above required)



Microsoft Win
dows XP Home Edition (SP2 or above required)



Microsoft Windows XP Tablet Edition



Microsoft Windows XP Media Center Edition



Microsoft Windows XP Starter Edition



Microsoft Windows Server 2003

(SP1 or above required)

Mi
crosoft .NET Framework version 3
.0 (x64)

runs on:



Windows

XP Professional x64 Edition



Windows Server 2003, Standard x64 Edition

(SP1 or above required)



Windows Server 2003, Enterprise x64 Edition

(SP1 or above required)



Windows Server 2003, Datacenter x64 Edition

(SP1 or above required)

Software

Requirements:



Windows Installer 3.0. Windows Installer 3.1 or later is recommended.



Microsoft Internet Explorer 5.01 or later required. Internet Ex
p
lorer 6.0 SP1 is
recommended.

Server Installation Requirements:



Microsoft Data Access Components 2.8 or la
ter is recommended.



Internet Information Services (IIS) version 5.0 or later. To access the features of ASP.NET,
IIS with the latest security updates must be installed prior to installing the .NET Framework.
ASP.NET is supported only on the following plat
forms: Microsoft Windows XP Professional,
and Microsoft Windows Server 2003 family.

Disk Space Requirements:

Platform

Install Package Size

Disk Space Required

x86

52
MB

280 MB

x64

46MB

610 MB

Contents of this OPK

This OPK contains
an optimized install of

the .NET Framework v1.1 and v
3
.0 redistributable
package
s

for x86

and x64

accessed via
netfx
3
0oem.bat
.


In addition, this OPK also contains the language pack installers for the languages and platforms
shown in the table below. NOTE: The English redistribu
table package does not require a language
pack.


Language

x86

x64

Arabic

x86
\
ara
\
langpack.exe

N/A

Chinese (Simplified)

x86
\
chs
\
langpack.exe

x64
\
chs
\
langpack.exe

Chinese (Traditional)

x86
\
cht
\
langpack.exe

x64
\
cht
\
langpack.exe

Czech

x86
\
csy
\
langpack.exe

N/A

Danish

x86
\
dan
\
langpack.exe

N/A

German

x86
\
deu
\
langpack.exe

x64
\
deu
\
langpack.exe

Greek

x86
\
ell
\
langpack.exe

N/A

English

x86
\
enu
\
langpack.exe

x64
\
enu
\
langpack.exe

Spanish

x86
\
esn
\
langpack.exe

x64
\
esn
\
langpack.exe

Finnish

x86
\
fin
\
langpack.exe

N/A

French

x86
\
fra
\
langpack.exe

x64
\
fra
\
langpack.exe

Hebrew

x86
\
heb
\
langpack.exe

N/A

Hungarian

x86
\
hun
\
langpack.exe

N/A

Italian

x86
\
ita
\
langpack.exe

x64
\
ita
\
langpack.exe

Japanese

x86
\
jpn
\
langpack.exe

x64
\
jpn
\
langpack.exe

Korean

x86
\
kor
\
langpack.exe

x64
\
ko
r
\
langpack.exe

Dutch

x86
\
nld
\
langpack.exe

N/A

Norwegian

x86
\
nor
\
langpack.exe

N/A

Polish

x86
\
plk
\
langpack.exe

N/A

Brazilian Portuguese

x86
\
ptb
\
langpack.exe

N/A

Portuguese

x86
\
ptg
\
langpack.exe

N/A

Russian

x86
\
rus
\
langpack.exe

N/A

Swedish

x86
\
sve
\
langp
ack.exe

x64
\
sve
\
langpack.exe

Turkish

x86
\
trk
\
langpack.exe

N/A

Unattended Installation

The overall approach to use of the OPK on the x86 platform is very straightforward. The operator
runs the OPK script (
netfx30
oem
) from the distribution media or a netwo
rk share and sets options via
command line switches. The script copies the necessary files to a temporary directory on the
machine from which it was launch
ed and installs .NET

Framework 3
.0 (and possibly also
.NET

Framework 1.1). After the script completes
, the temporary files are removed and, as far as
.NET

Framework is concerned, the machine is ready for delivery to the end
-
user. No artifacts of the
OPK are left on the machine after the OPK completes and the machine is in a state that is effectively
ident
ical to what it would be in if the stand
-
alone .NET

Framework had been installed directly.

Command
-
Line Interface

Command line switches are the primary method of using the OPK. Defaults are provided for all
options so, unless the admin wants to customize t
he functionality of the OPK, no configuration is
needed.


Regardless of whether setup succeeds or fails, no user interaction with the OPK script will be
needed once it is launched. Success or failure of the setup will be indicated by the return code of
the

OPK script and setup failures will be logged (see
/log

command
-
line switch below).

The following command
-
line switches are recognized by the OPK:

Switch

Alternates

Description

/source
:<directory>

/s

The location the script should for its installation
sou
rces.

If this switch is used then the sources are not copied to
the temporary directory.

/t
emp
:<directory>

/t

The directory on the target machine that the OPK will
use for its temporary installation files. A subdirectory
named
NetFx
Install

is created with
in the specified
directory and all of the OPK files are stored in this
subdirectory. After the OPK setup completes, this
directory is automatically removed.

If the
/
temp

switch is not specified, the TEMP directory
for the logged in user account is used.

No
te: If a subdirectory named
NetFxInstall

already
exists in the specified location its contents will be
overridden and the directory removed.

/langpack:


(auto|none|


<language>[,<language>...)

/lp

Specifies that the OPK should automatically install the
co
rrec t LangPac k f or t he syst em’s loc ale (
auto
), no
LangPack (
none
), or the LangPack(s) specified.

The
auto

option is the default and is used if the
/langpack

switch is not specified.

The LangPacks are specified using a standard
three
-
letter code (see
Sectio
n
Error! Reference source
not found.

[
Error! Reference source not found.
] for
more information on the supported LangPacks and
their codes). More than one LangPack can be installed
by specifying a comma
-
separated list of thre
e
-
letter
codes.

/only3
0

None

If this switch is included then only .NET

Framework
3
.0
is installed.

By default, both .NET

Framework
3
.0 and 1.1 SP1 are
installed by the OPK.

Switch

Alternates

Description

/ngenpri1only

None

Instructs the OPK to only NGEN Pri1 assemblies during
install
ation.

By default, the OPK forces the NGEN of all assemblies
installed during setup. See
Error! Reference source not
found.

(
Error! Reference source not found.
) for
more information on NGEN optimization.

/log:<file>

/l

The file to w
hich OPK script information and errors
should be logged. Unless the OPK script fails or the
/verbose

switch is used, the log file created during the
installation will be removed before the script ends.

If not specified, this file will be called
netfx30
oem.
log

and
will reside in the root of the drive containing the
%SYSTEMDRIVE%

directory (typically
C
:
\
).

/verbose

/v

If this switch is specified then the script will log
additional information and not remove the log file
(specified using the
/log

switch) if t
he script finishes
successfully.

/help

/?

Displays the help page. The help page text is an
abbreviated version of this table.

Note: Only one of each of the command
-
line options can be specified. If more than one of a given
command
-
line option is provided

then only the last instance of that option will be used and the rest
ignored. If this occurs, it will be noted in the log file.

If the command
-
line parameters, the OPK script ends and logs an error.

Logging

The OPK does not require user interaction to ope
rate. If an error occurs it is written to a log file. A
log file is only created and retained after setup completes if the OPK install script fails or the
/verbose

switch is used.


Where the log file resides, if needed, is controlled by the
/log

command
-
li
ne switch.


Install Verification

This OPK includes verification
routines for .NET Framework 1.1 and

.NET Framework 1.1 SP1.


Version

Verification File

.NET Framework 1.1

\
Verify
\
NetFX11
-
Sitzmark.exe

.NET Framework 1.1 SP1

\
Verify
\
NetFX11SP1
-
Sitzmark.exe


Unattended Installation

Language Packages

The installation of the .NET Framework v
3
.0
Language packages
can be scripted for unattended
installation using the following command line options:


Installation
command

langpack.exe /q:a /c:"install /q"