National Instruments NI .NET Framework

Views: 8k  |  Created: 12/26/2010

Average Rating: 0
NI .NET Framework has 1 inventory records, 13 Questions, 0 Blogs and 6 links. Please help add to this by sharing more!

Deployment Tips (17)

Most Common Setup Type
Not Determined
Average Package Difficulty Rating
Rated 3 / 5 (Average) based on 5 ratings
Most Commonly Reported Deployment Method
Vendor Provided Command Line (switch driven)
or cancel
139
Command Line

Silent unattended install: dotnetfx3.exe /q /norestart

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
136
Note
.NET 3.5 and .NET 3.5 sp1 packaging/distribution guide.

Micro$oft Admin Deployment Guide .NET 3.5
http://msdn2.microsoft.com/en-us/library/cc160717.aspx

I personally needed to slim down the 200MB package and deploy it silently as a "drop and run" package for x86 only. To do this:

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

2. Using WinRAR (easiest), extract dotnetfx35.exe to C:\TEMP

3. Within the folder C:\Temp\dotnetfx35\wcu\dotNetFramework\ use WinRAR to extract dotNetFx35setup.exe in the same folder and then delete dotNetFx35setup.exe.

4. Go through all of the sub-folders in C:\Temp\dotnetfx35\wcu\dotNetFramework\ and delete all x64 or ia64 related folders and files (unless you need to support installing for them).

5. In folder C:\Temp\dotnetfx35\wcu\dotNetFramework\ select all (CTRL+A) and r-click "Add to archive".

6. In WinRAR, check option "Create SFX archive" to make a self extracting exe. Go into the "Advanced" tab and into "SFX Options". Check "Create in the current folder" and in the Run After Extraction field, enter "setup /q /norestart" without the quotes. Now go to the "Modes" tab and select "Silent Mode - Hide All" and "Overwrite All Files". >OK >OK.

7. Rename the created EXE (currently named dotNetFramework.exe) to x86_Net3_5.exe or similar. Use your prefered software distribution framework to deliver the executable to your prefered temporary software install location on the target machine, and launch.

This installs
.NET 2.0 SP1
.NET 3.0 SP1
.NET 3.5

I use two VBScripts delivered along with the exe to install/uninstall from the target delivery location:

Install.VBS
DIM WshShell, ScriptPath, WshSysEnv, WinDir, bKey
Set WshShell = CreateObject("WScript.Shell")
ScriptPath = left(wscript.scriptfullname, instrrev(wscript.scriptfullname, "\"))
Set WshSysEnv = WshShell.Environment("PROCESS")
WinDir = WshSysEnv("WINDIR")
WshShell.run chr(34) & ScriptPath & "x86.Net3.5.exe",, true
on error resume next
Do While bKey = ""
bKey = WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft .NET Framework 3.5\DisplayName")
if bKey = "" THEN
wscript.sleep(5000)
end if
Loop

Uninstall.VBS
DIM WshShell, ScriptPath, WshSysEnv, WinDir
Set WshShell = CreateObject("WScript.Shell")
ScriptPath = left(wscript.scriptfullname, instrrev(wscript.scriptfullname, "\"))
Set WshSysEnv = WshShell.Environment("PROCESS")
WinDir = WshSysEnv("WINDIR")
WshShell.run WinDir & "\system32\msiexec.exe /X {0A869A65-8C94-4F7C-A5C7-972D3C8CED9E} /qn",, true
WshShell.run WinDir & "\system32\msiexec.exe /X {2FC099BD-AC9B-33EB-809C-D332E1B27C40} /qn",, true
WshShell.run WinDir & "\system32\msiexec.exe /X {2BA00471-0328-3743-93BD-FA813353A783} /qn",, true
WshShell.run WinDir & "\system32\msiexec.exe /X {B508B3F1-A24A-32C0-B310-85786919EF28} /qn",, true

This process slims down the installation executable from 202MB to 90MB. The Installation is completely silent and waits until .Net 3.5 appears in Add/Remove Programs before returning control from the VBScript to the deployment process so as not to have MSI install conflicts if another installation is pushed out directly afterwards.
Edit: The uninstall now removes .NET 3.5, .Net 3.0sp1, .Net 2.0sp1 & MSXML6 (everything installed by the package).

************************************************************
EDIT - Updated scripts below for .Net 3.5 sp1
************************************************************

Inst351.vbs

DIM WshShell, ScriptPath, WshSysEnv, WinDir, bKey
Set WshShell = CreateObject("WScript.Shell")
ScriptPath = left(wscript.scriptfullname, instrrev(wscript.scriptfullname, "\"))
Set WshSysEnv = WshShell.Environment("PROCESS")
WinDir = WshSysEnv("WINDIR")
WshShell.run chr(34) & ScriptPath & "dotNetFramework351x86.exe",, true
on error resume next
Do While bKey = ""
bKey = WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft .NET Framework 3.5 SP1\DisplayName")
' bKey = WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\26DDC2EC4210AC634\DisplayName")
if bKey = "" THEN
wscript.sleep(5000)
end if
LOOP


Rem351.vbs
DIM WshShell, ScriptPath, WshSysEnv, WinDir
Set WshShell = CreateObject("WScript.Shell")
ScriptPath = left(wscript.scriptfullname, instrrev(wscript.scriptfullname, "\"))
Set WshSysEnv = WshShell.Environment("PROCESS")
WinDir = WshSysEnv("WINDIR")
'Microsoft .NET Framework 3.5 SP1
WshShell.run WinDir & "\system32\msiexec.exe /X {CE2CDD62-0124-36CA-84D3-9F4DCF5C5BD9} /qn",, true
'Microsoft .NET Framework 3.0 Service Pack 2
WshShell.run WinDir & "\system32\msiexec.exe /X {A3051CD0-2F64-3813-A88D-B8DCCDE8F8C7} /qn",, true
'Microsoft .NET Framework 2.0 Service Pack 2
WshShell.run WinDir & "\system32\msiexec.exe /X {C09FB3CD-3D0C-3F2D-899A-6A1D67F2073F} /qn",, true
'Microsoft .NET Framework 1.1
WshShell.run WinDir & "\system32\msiexec.exe /X {CB2F7EDD-9D1F-43C1-90FC-4F52EAE172A1} /qn",, true

:)
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
132
Command Line
DotNet 3.5 installation:

dotnetfx35.exe /PASSIVE /NORESTART

Quiet 3.5 installation:

dotnetfx35.exe /Q /NORESTART

Check out my .NET 3.5 and .NET 3.5 sp1 packaging/distribution guide in the notes section below!
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
132
Command Line
Download dotnetfx35.exe to c:\netfx35_deploy\dotnetfx35.exe

Run following batch file to extract and create AIP


@Echo Off
set WORKFOLDER=c:\netfx35_deploy
set dotNetFX35build=%WORKFOLDER%\dotnetfx35.exe
echo Creating Admin Install points for NETFX3 %PROCESSOR_ARCHITECTURE%

REM Create folders where work will be done
md "%WORKFOLDER%\extracted"
md "%WORKFOLDER%\AdminInstallPoint"
md "%WORKFOLDER%\logs"
pushd %WORKFOLDER%

REM Extract the files from the NETFX35 redist SFX
Echo Extract the files from the NETFX35 redist SFX
call "c:\netfx35_deploy\dotnetfx35.exe" /q /x:"%WORKFOLDER%\extracted"

REM ------------------------------------------------------------
REM create the MSXML6 x86 admin install point
Echo Create the MSXML6 x86 admin install point
md "%WORKFOLDER%\AdminInstallPoint\MSXML6_x86"
call msiexec /a "%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX30\x86\msxml6.msi" /qb /l*v "%WORKFOLDER%\logs\MSXML6_x86.log" Targetdir="%WORKFOLDER%\AdminInstallPoint\MSXML6_x86"

REM ------------------------------------------------------------
REM create the RGBRAST x86 admin install point
Echo Create the RGBRAST x86 admin install point
md "%WORKFOLDER%\AdminInstallPoint\RGBRAST_x86"
call msiexec /a "%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX30\RGB9RAST_x86.msi" /qb /l*v "%WORKFOLDER%\logs\RGBRAST_x86.log" REBOOT=ReallySuppress Targetdir="%WORKFOLDER%\AdminInstallPoint\RGBRAST_x86"

REM ------------------------------------------------------------
REM Extract NETFX 35 x86 components
Echo Extract NETFX 35 x86 components
md "%WORKFOLDER%\extracted\netfx35_x86"
call "%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX35\x86\netfx35_x86.exe" /q /x: "%WORKFOLDER%\extracted\netfx35_x86"

REM ------------------------------------------------------------
REM create the NETFX35 x86 admin install point
Echo Create the NETFX35 x86 admin install point
md "%WORKFOLDER%\AdminInstallPoint\netfx35_x86"
call msiexec /qb /a "%WORKFOLDER%\extracted\netfx35_x86\vs_setup.msi" USING_EXUIH=1 REBOOT=ReallySuppress /l*v "%WORKFOLDER%\logs\netfx35_x86.log" TARGETDIR="%WORKFOLDER%\AdminInstallPoint\netfx35_x86"

REM ------------------------------------------------------------
REM create the NETFX20 x86 SP1 admin install point
Echo Create the NETFX20 x86 SP1 admin install point

REM 2.0 SP1 files location
Set fx20=%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX20md "%WORKFOLDER%\AdminInstallPoint\NETFX20_x86"
call msiexec /a "%fx20%netfx20a_x86.msi" TARGETDIR="%WORKFOLDER%\AdminInstallPoint\NETFX20_x86"
call msiexec /a "%WORKFOLDER%\AdminInstallPoint\NETFX20_x86\netfx20a_x86.msi" PATCH="%fx20%ASPNET.msp;%fx20%CLR.msp;%fx20%CRT.msp;%fx20%NetFX_CA.msp;%fx20%NetFX_Core.msp;%fx20%NetFX_Other.msp;%fx20%PreXP.msp;%fx20%WinForms.msp;%fx20%DW.msp" USING_EXUIH=1 REBOOT=ReallySuppress /l*v "%WORKFOLDER%\logs\netfx20_x86.log"


REM msiexec.exe /i c:\netfx20sp1\x86\AIP\netfx20a_x86.msi /l*v %temp%\netfx20sp1x86log.txt /qb VSEXTUI=1

REM ------------------------------------------------------------
REM create the NETFX30 SP1 x86 admin install point
Echo Create the NETFX30 x86 SP1 admin install point

REM 3.0 SP1 files location
Set fx30=%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX30md "%WORKFOLDER%\AdminInstallPoint\NETFX30_x86"
call msiexec /a "%fx30%netfx30a_x86.msi" TARGETDIR="%WORKFOLDER%\AdminInstallPoint\NETFX30_x86"
call msiexec /a "%WORKFOLDER%\AdminInstallPoint\NETFX30_x86\netfx30a_x86.msi" PATCH="%fx30%WCF.msp;%fx30%WCS.msp;%fx30%WF.msp;%fx30%WPF1.msp;%fx30%WPF2.msp;%fx30%WPF_Other.msp;%fx30%XPS.msp;%fx30%WF_32.msp;%fx30%WPF2_32.msp;%fx30%WPF_Other_32.msp" USING_EXUIH=1 REBOOT=ReallySuppress /l*v "%WORKFOLDER%\logs\netfx30_x86.log"


Run following to install MSI's
call msiexec /i c:\netfx35_deploy\MSXML6_x86\msxml6.msi /qb-
call msiexec /i c:\netfx35_deploy\RGBRAST_x86\RGB9RAST_x86.msi /qb-
call msiexec /i c:\netfx35_deploy\NETFX20_x86\netfx20a_x86.msi /qb VSEXTUI=1
call msiexec /i c:\netfx35_deploy\NETFX30_x86\netfx30a_x86.msi /qb VSEXTUI=1
call msiexec /i c:\netfx35_deploy\netfx35_x86\vs_setup.msi /qb VSEXTUI=1

Credits go to http://blog.project84.net/default,date,2008-03-10.aspx
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
118
Note

If you try to launch the .NET 3.0 MSI directly (vs_setup.msi), it will abort and give you a "must install from Setup.exe" error. I would recommend either: a) using a Transform and deleting the custom action: “CA_LaunchCondition_4.3643236F_FC70_11D3_A536_0090278A1BB8” (suppresses the error), or b) scripting it as command-line install.

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
118
Note

If you try to launch the .NET 3.0 MSI directly (vs_setup.msi), it will abort and give you a "must install from Setup.exe" error. I would recommend either: a) using a Transform and deleting the custom action: “CA_LaunchCondition_4.3643236F_FC70_11D3_A536_0090278A1BB8” (suppresses the error), or b) scripting it as command-line install.

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
116
Note
The resolution to my ticket that I recieved from Microsoft:

My name is Ravi and I am the Technical Lead for the Visual Studio Setup and Deployment team at Microsoft Support. This is regarding case no ############### that you recently worked with one of our support engineers.

I see that you had called in with some questions and using a MST file to install Framework 3.5 with customizations. We did consult the product team on this and have informed you that this is not a supported scenario. I wanted to know about your support experience on this incident. I tried to reach you today and have left a voice message.

Please let us know of any concerns or suggestions you might so that we are enabled to provide the best support experience consistently.

Regards,
Ravi Shankar .P
Technical Lead - Visual Studio Setup & Deployment
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
7
Note
Here's how to install the .NET Framework 3.5 SP1:

1. Download dotnetfx35.exe (the full installer) from Microsoft. This version covers three processor architectures (x86, x64 and IA64) but only has English language packs available. Grab this at "http://download.microsoft.com/download/6/0/f/60fc5854-3cb8-4892-b6db-bd4f42510f28/dotnetfx35.exe"

2. Run dotnetfx35.exe /x. This will prompt you for a location to extract the setup files.

3. In this location, you will find folders for each processor architecture, a tools folder and a Setup executable.

4. The list of switches is available by running dotnetfx35setup.exe /? -- they're standard for the most part.

5. I highly recommend running this with /passive /norestart -- the installation takes several minutes and your PC can really be left in a bad state if someone shuts down in the middle of Setup.

6. Setup will almost always need a reboot, and exit with code 3010.

7. If you need extra language packs, you need to install with the /lang:XXX switch (replace XXX with your language code.) You have several options for getting the packs:

- Download and run them separately after you set up the English/neutral version (recommended)

- Have Setup download them from the Internet if they're not available (requires an internet connection, not recommended for SMS deployment.)

- Integrate them into the installation media -- read Aaron Stebner's blog at http://blogs.msdn.com/astebner/archive/2008/01/21/7191582.aspx


Things to keep in mind:

- This large package contains all you need for English deployments. Setup shouldn't need to download anything.

- If you need to delete items like processor architectures, you can do so by deleting the folders. However, Setup will try to contact Microsoft and download the content if it finds that it's needed.

I was able to do this on a totally disconnected system, so I think they've finally worked through the whole internet-download requirement that was there in 3.5 SP0.

Go look up Adam Stebner's blog -- he has the most current deployment information. The main MSDN article is inaccurate and is missing details.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
6
Command Line
Minimal setup: dotnetfx3setup.exe /qb

Do not use "!"
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
6
Note
Deployment of Microsoft .NET Framework 3.5 SP1 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 and wcu\dotNetFramework\dotNetFX30 into the root, eg to D:\dotNetFX20 and D:\dotNetFX30

4. To create Microsoft .NET Framework 2.0 SP2 admin install (a prerequisit) 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. To create Microsoft .NET Framework 3.0 SP2 admin install (a prerequisit) run
msiexec /a netfx30a_x86.msi /update D:\dotNetFX30\WCF.msp;D:\dotNetFX30\WCS.msp;D:\dotNetFX30\WF.msp;D:\dotNetFX30\WPF1.msp;D:\dotNetFX30\WPF2.msp;D:\dotNetFX30\WPF_Other.msp;D:\dotNetFX30\XPS.msp;D:\dotNetFX30\WF_32.msp;D:\dotNetFX30\WPF2_32.msp;D:\dotNetFX30\WPF_Other_32.msp USING_EXUIH=1 REBOOT=ReallySuppress /log D:\dotNetFX30\netfx30a_x86.txt TARGETDIR=D:\dotNetFX30admin
then copy D:\dotNetFX30\Netfx30a_x86.msi to D:\dotNetFX30admin and move D:\dotNetFX30admin to network share.

6. To create Microsoft .NET Framework 3.5 SP1 admin install run
wcu\dotNetFramework\dotNetFX35\x86\netfx35_x86.exe /x and move vs_setup.msi and vs_setup.cab to network share.

7. Add Netfx20a_x86.msi, Netfx30a_x86.msi and vs_setup.msi in order 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
Please log in to comment
5
Command Line
The batch file above is cool but it took a while to make it work. Here is my moded working version.

Bruce@ScriptingIT.com

@Echo Off
set WORKFOLDER=c:\netfx35_deploy
set dotNetFX35build=%WORKFOLDER%\dotnetfx35.exe
echo Creating Admin Install points for NETFX3 %PROCESSOR_ARCHITECTURE%

REM Create folders where work will be done
md "%WORKFOLDER%\extracted"
md "%WORKFOLDER%\AdminInstallPoint"
md "%WORKFOLDER%\logs"
pushd %WORKFOLDER%

REM Extract the files from the NETFX35 redist SFX
Echo Extract the files from the NETFX35 redist SFX
call "c:\netfx35_deploy\dotnetfx35.exe" /q /x:"%WORKFOLDER%\extracted"

REM --------------------------------------------------------
REM create the MSXML6 x86 admin install point
Echo Create the MSXML6 x86 admin install point
md "%WORKFOLDER%\AdminInstallPoint\MSXML6_x86"
call msiexec /a "%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX30\x86\msxml6.msi" /qb /l*v "%WORKFOLDER%\logs\MSXML6_x86.log" Targetdir="%WORKFOLDER%\AdminInstallPoint\MSXML6_x86"

REM --------------------------------------------------------
REM create the RGBRAST x86 admin install point
Echo Create the RGBRAST x86 admin install point
md "%WORKFOLDER%\AdminInstallPoint\RGBRAST_x86"
call msiexec /a "%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX30\RGB9RAST_x86.msi" /qb /l*v "%WORKFOLDER%\logs\RGBRAST_x86.log" REBOOT=ReallySuppress Targetdir="%WORKFOLDER%\AdminInstallPoint\RGBRAST_x86"

REM --------------------------------------------------------
REM Extract NETFX 35 x86 components
Echo Extract NETFX 35 x86 components
md "%WORKFOLDER%\extracted\netfx35_x86"
call "%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX35\x86\netfx35_x86.exe" /q /x: "%WORKFOLDER%\extracted\netfx35_x86"

REM --------------------------------------------------------
REM create the NETFX35 x86 admin install point
Echo Create the NETFX35 x86 admin install point
md "%WORKFOLDER%\AdminInstallPoint\netfx35_x86"
call msiexec /qb /a "%WORKFOLDER%\extracted\netfx35_x86\vs_setup.msi" USING_EXUIH=1 REBOOT=ReallySuppress /l*v "%WORKFOLDER%\logs\netfx35_x86.log" TARGETDIR="%WORKFOLDER%\AdminInstallPoint\netfx35_x86"
call msiexec /a "c:\netfx35_deploy\extracted\wcu\dotNetFramework\dotNetFX20\netfx20a_x86.msi" TARGETDIR="c:\netfx35_deploy\AdminInstallPoint\NETFX20_x86"

Echo Create the NETFX20 x86 SP1 admin install point
md "%WORKFOLDER%\AdminInstallPoint\NETFX20_x86"
call msiexec /a "%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX20\netfx20a_x86.msi" TARGETDIR="%WORKFOLDER%\AdminInstallPoint\NETFX20_x86"
call msiexec /a "%WORKFOLDER%\AdminInstallPoint\NETFX20_x86\netfx20a_x86.msi" PATCH=%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX20\ASPNET.msp;%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX20\CLR.msp;%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX20\CRT.msp;%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX20\NetFX_CA.msp;%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX20\NetFX_Core.msp;%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX20\NetFX_Other.msp;%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX20\PreXP.msp;%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX20\WinForms.msp;%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX20\DW.msp USING_EXUIH=1 REBOOT=ReallySuppress /l*v "%WORKFOLDER%\logs\netfx20_x86.log"

Echo Create the NETFX30 x86 SP1 admin install point
Set fx30="%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX30\"
md "%WORKFOLDER%\AdminInstallPoint\NETFX30_x86\"
call msiexec /a "%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX30\netfx30a_x86.msi" TARGETDIR="%WORKFOLDER%\AdminInstallPoint\NETFX30_x86"
call msiexec /a "%WORKFOLDER%\AdminInstallPoint\NETFX30_x86\netfx30a_x86.msi" PATCH=%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX30\WCF.msp;%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX30\WCS.msp;%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX30\WF.msp;%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX30\WPF1.msp;%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX30\WPF2.msp;%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX30\WPF_Other.msp;%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX30\XPS.msp;%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX30\WF_32.msp;%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX30\WPF2_32.msp;%WORKFOLDER%\extracted\wcu\dotNetFramework\dotNetFX30\WPF_Other_32.msp USING_EXUIH=1 REBOOT=ReallySuppress /l*v "%WORKFOLDER%\logs\netfx30_x86.log"

REM Needs the start wait or they all go at once
REM start /wait msiexec /i c:\netfx35_deploy\AdminInstallPoint\MSXML6_x86\msxml6.msi /qb-
REM start /wait msiexec /i c:\netfx35_deploy\AdminInstallPoint\RGBRAST_x86\RGB9RAST_x86.msi /qb-
REM start /wait msiexec /i c:\netfx35_deploy\AdminInstallPoint\NETFX20_x86\netfx20a_x86.msi /qb VSEXTUI=1
REM start /wait msiexec /i c:\netfx35_deploy\AdminInstallPoint\NETFX30_x86\netfx30a_x86.msi /qb VSEXTUI=1
REM start /wait msiexec /i c:\netfx35_deploy\AdminInstallPoint\netfx35_x86\vs_setup.msi /qb VSEXTUI=1
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
4
Command Line
.Net 3.5 SP1 plus the .Net family updates, deleting the huge file at the end:

start /wait dotnetfx35.exe /passive /norestart
start /wait NDP20SP2-KB958481-x86.exe /passive /norestart
start /wait NDP30SP2-KB958483-x86.exe /passive /norestart
start /wait NDP35SP1-KB958484-x86.exe /passive /norestart
del dotnetfx35.exe
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
3
Virtualization
App-V 4.5 now supports V3.5 RTM but not V3.5 SP1. Here is the current information for sequencing and .NET.

http://support.microsoft.com/default.aspx/kb/959524
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
1
Note
For Windows 7 "installation" use: ocsetup NetFx3

.Net 3.51 is included in the build and rather than having to manually activate it, use ocsetup either as a pre-installation task in your deployment tool or an elevated custom action within the package.

FYI you can't use any of the redistributable packages mentioned above to isntall on Windows 7
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Note
After the install, you may see

'mscorsvw.exe'

compiling stuff in the background. To display info:

ngen.exe display

To compile everything:

ngen.exe executequeueditems
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
-19
Command Line

Minimal setup: dotnetfx3setup.exe /qb!

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
-32
Note
Download dotnetfx3setup.exe

Unzip exe file with Winrar or Winzip.

For install silent, launch vs_setup.msi (no command line)

Thats all!
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment

Inventory Records (1)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

NI .NET Framework

Version

3.50.49152

Questions & Answers (13)

Questions & Answers related to National Instruments NI .NET Framework

8
ANSWERS
5
ANSWERS
14
ANSWERS
7
ANSWERS
12
ANSWERS
3
ANSWERS
3
ANSWERS
9
ANSWERS
2
ANSWERS

Blogs (0)

Blog posts related to National Instruments NI .NET Framework

Reviews (0)

Reviews related to National Instruments NI .NET Framework