/build/static/layout/Breadcrumb_cap_w.png

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login
Views: 17.3k  |  Created: 11/08/2005

Average Rating: 0
.NET Framework has 19 inventory records, 31 Questions, 3 Blogs and 4 links. Please help add to this by sharing more!

Deployment Tips (13)

Most Common Setup Type
Not Determined
Average Package Difficulty Rating
Rated 2 / 5 (Somewhat Easy) based on 3 ratings
Most Commonly Reported Deployment Method
Windows Installer with Custom Transform (MST)
124
Command Line
An easy way of installing .NET Framework 2.0 is using the double wrapper method:
First you wrap dotnetfx, Second you wrap netfx.msi with install.exe.

dotnetfx.exe /q /c:"install.exe /v/qb-"
(There is no space between /v and /qb-).
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
123
Note
To deploy this via Group Policy with Active Directory here's the method I used...

Download "Microsoft .NET Framework Version 2.0 Redistributable Package (x86)" from
http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en

1. Run the exe with the following switches to extract the contents.

"C:\Packages\dotnetv2\Setup\dotnetfx.exe" /t:"C:\Packages\dotnetv2\Extracted\" /c

2. Create an admin install from the extracted files using the following command and point it to network location.

"C:\Packages\dotnetv2\Extracted\install.exe" /a

3. If you try and tun the created "netfx.msi" it will fail with the message "To install this product please run Install.exe"

Fire up ORCA and either search for the above error message or just find the "CustomAction" table and drop the row "CA_BlockDirectInstall_GUIH_SKU_URT.3643236F_FC70_11D3_A536_0090278A1BB8"

Also add the action "REBOOT=ReallSuppress" to the Property table.

Save the msi and exit ORCA.

All done and ready to deploy :)
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
122
Note
Download from here.

Extract the contents of dotnetfx.exe

install.exe /q

or just

dotnetfx.exe /q:a /c:"install /l /q"
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
121
Note
*** Create a MST for MS .NET Framework v2.0.
The recipe:
1) Create a Admin Install (DotNetFx.exe /c:"MsiExec.exe /a NetFx.msi TARGETDIR=[Path] /l* DotNetFx_Admin.log" /q) ---
2) Make a backup copy of the original NetFx.msi file as example I use: NetFx_ORCA.msi.
3) Open NetFx_ORCA.msi in Orca.
Note: This file comes with the Microsoft Platform SDK.
You can change the following propertys:
* In the Table row (left screen) click on the 'Property' table.
USING_EXUIH = (1/0), Disable the forced use of Install.exe, you have to create this property. Default =0 (Force it).
4) Create the FINAL Transforms file (MST): "NetFx.mst"
MsiTran.exe -g "[PathTo]/NetFx.msi" "[PathTo]/NetFx_ORCA.msi" "[PathTo]/NetFx.mst"
5) Now you can apply the transform on the command line as follows:
MsiExec.exe /i NetFx.msi TRANSFORMS="NetFx.mst" /qb!
Or it can be applied through the modification tab in the Group Policy using Active Directory.
--- Do the same (0 to 4) for the languagepack (replace NetFx with LangPack) ---
--- Update: It is possible to use the same mst for NetFx and LangPack installations!

*** Notes ***
Most propertys discussed can be given in the commandline, like:
MsiExec.exe /i ....msi OPTION=...

Orca.exe is a FREE database table editor for creating and editing Windows Installer packages and merge modules.
See: http://msdn.microsoft.com/library/en-us/msi/setup/orca_exe.asp
MsiTran.exe is a FREE tool to generate or apply a transform file.
See: http://msdn.microsoft.com/library/en-us/msi/setup/msitran_exe.asp
MsiTran.exe will be installed in: "C:\Program Files\Microsoft Platform SDK\Bin".
ORCA and MsiTran Notes:
- ORCA and MsiTran come with the Microsoft Platform SDK.
See: http://www.microsoft.com/msdownload/platformsdk/sdkupdate / http://msdn.microsoft.com/library/en-us/msi/setup/platform_sdk_components_for_windows_installer_developers.asp
- Orca.msi, MsiTran.exe and others will be installed in: "C:\Program Files\Microsoft Platform SDK\Bin".
- Instead of the the executable MsiTran.exe you could use the new 'Gen.vbs' ~ Create this vbs as described in the Platform SDK help file ~. But, as far as I tried it, it didn't work!
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
119
Note
The command-line options for the Windows Installer 3.1 package didn't recognise the switches mentioned above in upper-case. I had to specify them in lower case -ie,

WindowsInstaller-KB893803-v2-x86.exe /quiet /norestart
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
119
Note
To deploy only the MSI without a command line do the following:

1. Extract the contents of the setup package - dotnetfx.exe /t:c:\temp /c (or you can substitute any path of your choosing for c:\temp)
2. Create an administrative install point - c:\temp\install.exe /a
3. Remove the following custom action from the MSI: CA_BlockDirectInstall_GUIH_SKU_URT

You should now be able to deploy only the MSI from the administrative installation point.

I was able to add only the MSI to a WinINSTALL package list and it deployed successfully.

Check out this blog post for more information.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
119
Note
Download Location: http://www.microsoft.com/downloads/details.aspx?FamilyID= 0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en

Download and decompress the package to a folder with WinRAR or WinZIP.

Silent install: install.exe /I /Q

I believe a pre-requisite is the installation of Windows Installer 3.1 (V2) (KB893803), you can download that here...

http://www.microsoft.com/downloads/info.aspx?na=208&p=3&SrcDisplayLang= en&SrcCategoryId=&SrcFamilyId=889482FC-5F56-4A38-B838-DE776FD4138C&u= http%3a%2f%2fdownload.microsoft.com%2fdownload%2f1%2f4%2f7%2f147ded26-931c-4daf-9095- ec7baf996f46%2fWindowsInstaller-KB893803-v2-x86.exe

Silent install switches for KB893803 are /QUIET /NORESTART placed after the executable.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
118
Note
This is how I did it.
Downloaded dotnetfx.exe. Extracted the file by making an admin install. <path>\dotnetfx.exe /T:<path>\dotnet2 /C

Edited netfx.msi with Orca and added the property REBOOT=ReallySuppress

Used "msiexec.exe /i <path>\netfx.msi USING_EXUIH=1" to install the package
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
8
Command Line
.Net 2.0 Silent Uninstall:
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft .NET Framework 2.0\install.exe" /qu
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
6
Command Line
The commands given here are for the 32bit version, but should be the same for the 64.

Extract installation from download file:
dotnetfx.exe /c /t:<ExtractToPath>

Install command line (change language code as required):
install.exe /l <LogFile> /lang 1033 /q

Uninstall command line
install.exe /l <LogFile> /qu

Use "/?" with install.exe or dotnetfx.exe for switch list.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
3
Note
Found on Aaron Stebner's Blog

That means that if you want to install the .NET Framework 2.0 and create a log file in a path with spaces you need to use a command line like the following:

dotnetfx.exe /q:a /c:"install.exe /l ""c:\Documents and Settings\myusername\Local Settings\Temp\netfx.log"" /q"

The key thing to note in this command line is that you have to double-quote any quotation marks that appear inside the quotes for the /c command line parameter. Double-quoting is the way that you have to escape quotation marks when passing command line parameters to an IExpress self-extracting executable package.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
3
Note
Deployment of Microsoft .NET Framework 2.0 SP2 x86 using Active Directory.

Microsoft Windows Installer 3.1 must already be deployed.

1. Download dotnetfx35.exe from http://download.microsoft.com/download/6/0/f/60fc5854-3cb8-4892-b6db-bd4f42510f28/dotnetfx35.exe

2. Run dotnetfx35.exe /x to extract the files

3. Move wcu\dotNetFramework\dotNetFX20 into the root, eg to D:\dotNetFX20.

4. To create Microsoft .NET Framework 2.0 SP2 admin install run
msiexec /a Netfx20a_x86.msi /update D:\dotNetFX20\ASPNET.msp;D:\dotNetFX20\clr.msp;D:\dotNetFX20\crt.msp;D:\dotNetFX20\dw.msp;D:\dotNetFX20\NetFX_CA.msp;D:\dotNetFX20\NetFX_Core.msp;D:\dotNetFX20\NetFX_Other.msp;D:\dotNetFX20\prexp.msp;D:\dotNetFX20\winforms.msp USING_EXUIH=1 REBOOT=ReallySuppress /log D:\dotNetFX20\netfx20a_x86.txt TARGETDIR=D:\dotNetFX20admin
then copy D:\dotNetFX20\Netfx20a_x86.msi to D:\dotNetFX20admin and move D:\dotNetFX20admin to network share.

5. Add Netfx20a_x86.msi to an Active Directory GPO.

An x64 version can also be created and deployed using this method.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
0
Note

.NET Framework can also be deployed and patched with WSUS 3...

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows

Questions & Answers (31)

Questions & Answers related to Microsoft .NET Framework

1
ANSWERS
1
ANSWERS
0
ANSWERS
3
ANSWERED
6
ANSWERS
0
ANSWERS
4
ANSWERS
2
ANSWERS
1
ANSWERS
26
ANSWERS
8
ANSWERS
8
ANSWERS
18
ANSWERS

Blogs (3)

Blog posts related to Microsoft .NET Framework

blog
blog
blog

Reviews (0)

Reviews related to Microsoft .NET Framework

 
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