Kaseya Community

Deploy .NET 3.5

  • We need to deploy .NET 3.5 to 600 desktops....by next week. Mad

    It is a long install, made longer with all of the prerequisites. I'm hoping someone has come across this need and can shed some light on what worked for them, either with K or without.

    Much thanks in advance.

    Legacy Forum Name: Deploy .NET 3.5,
    Legacy Posted By Username: tech92117
  • Getting .NET out there = Smile

    It should be quite easy to do. All you really need it the dotnetfx package for 3.5 and a simple script to make it happen.

    Look at http://msdn2.microsoft.com/en-us/library/xak0tsbd.aspx for complete details on redistributing the package. The best places to concentrate on will be the Deployment Scenarios and perhaps the AD Deployment scenario for some hints.

    Good luck

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: rhayes@expertnetsolutions.com
  • Here is the script that we use:

    Script Name: Install .NET Framework 3.5
    Script Description: This script installs .NET Framework 3.5.

    IF Check Registry Value
    Parameter 1 : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5\Setup\InstallSuccess
    Exists :
    THEN
    Write Script Log Entry
    Parameter 1 : .NET Framework 3.5 is already installed.
    OS Type : 0
    ELSE
    Write File
    Parameter 1 : \dotNetFx35setup.exe
    Parameter 2 : VSASharedFiles\Apps-Install\NET Framework\dotNetFx35setup.exe
    OS Type : 0
    Execute Shell Command
    Parameter 1 : \dotNetFx35setup.exe /q /norestart
    Parameter 2 : 1
    OS Type : 0

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: RCS-Michael
  • Im a bit confused.. if you install this 3.5, does that mean you can ignore the dot net 2.0 and 3.0 patches?

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: Resistance2Fly
  • Resistance2Fly
    Im a bit confused.. if you install this 3.5, does that mean you can ignore the dot net 2.0 and 3.0 patches?


    3.5 includes 2.0 and 3.0 I believe.

    Also if all 600 machines are on the same LAN you will save a TON of bandwidth by having the Kaseya Temp directory (or at A shared directory) on a central server that each workstation can pull that file from. The redistributable installer is quite large.

    If that is not possible you might want to use wget.exe to set the workstations to download straight from Microsofts servers. This will save your KServer from trying to push out that much data.

    Here is the direct link to the redistributable installer:
    Microsoft.com

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: CeruleanBlue
  • Here is a script to wget and install dotnet 3.5:

    Script Name: Dot Net 3.5 Install
    Script Description:

    IF True
    THEN
    Get Variable
    Parameter 1 : 10
    Parameter 2 :
    Parameter 3 : AgentTempPath
    OS Type : 0
    Write File
    Parameter 1 : %SystemDrive%\temp\wget.exe
    Parameter 2 : VSASharedFiles\wget.exe
    OS Type : 0
    Execute File
    Parameter 1 : %SystemDrive%\temp\wget.exe
    Parameter 2 : -N -t 45 -o log http://download.microsoft.com/download/1/4/7/147ded26-931c-4daf-9095-ec7baf996f46/WindowsInstaller-KB893803-v2-x86.exe
    Parameter 3 : 3
    OS Type : 0
    Execute File
    Parameter 1 : %SystemDrive%\temp\wget.exe
    Parameter 2 : -N -t 45 -o log http://download.microsoft.com/download/6/0/f/60fc5854-3cb8-4892-b6db-bd4f42510f28/dotnetfx35.exe
    Parameter 3 : 3
    OS Type : 0
    Write File
    Parameter 1 : %SystemDrive%\temp\dotnet.bat
    Parameter 2 : VSASharedFiles\DotNet3.5\DotNetFW35Install.bat
    OS Type : 0
    Execute File
    Parameter 1 : %SystemDrive%\temp\dotnet.bat
    Parameter 2 :
    Parameter 3 : 3
    OS Type : 0
    ELSE



    and that batch file:

    @echo off
    title Microsoft .NET Framework 1.1
    echo.
    echo Installing Microsoft .NET Framework 1.1...
    start /wait dotnetfx.exe /q:a /c:"install /l /q"
    echo.
    cmdow @ /HID
    shutdown.exe -r -f -t 30 -c "Windows XP will restart in 30 seconds..."
    EXIT


    I dont know if this is the best way to do this.. so please comment or edit the script and re-post if you have better ideas!

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: Resistance2Fly
  • Word of caution.. after installing dotnet 3.5 patch KB932471 refuses to install... grrr.

    others have this issue too: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2972199&SiteID=1 Its the only thing holding my machines from being 100% patched (minus IE7) I guess im going to have to add it to add it to the deny list. Anyone else know anything about this?

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: Resistance2Fly