+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 18
O/S Deployment Thread, [MDT 2012] Installing .Net 4.0 during Deployment in Technical; We are using MDT 2012 as our deployment solution in school and this is working great. One problem I have ...
  1. #1

    Join Date
    May 2013
    Posts
    15
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    3

    [MDT 2012] Installing .Net 4.0 during Deployment

    We are using MDT 2012 as our deployment solution in school and this is working great. One problem I have run into though is installing .Net 4 as part of the deployment as this is required for SIMS. I have downloaded the offline installer and set up this to install in the Applications part of MDT with the following quiet install command "dotNetFx40_x86_x64.exe" /passive /norestart /showfinalerror. This still does not install .Net 4 and leaves me having to install it manually which is not what I am wanting as we are having to re-image the whole school in the summer as part of our domain upgrade.

  2. #2


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    8,899
    Thank Post
    226
    Thanked 2,676 Times in 1,973 Posts
    Rep Power
    787
    Quote Originally Posted by alexpuk2002 View Post
    dotNetFx40_x86_x64.exe" /passive /norestart /showfinalerror
    Does the command below work?

    Code:
    dotNetFx40_Full_x86_x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT
    Also, are you using the 'full' installer?

    www.microsoft.com/en-gb/download/details.aspx?id=17718

  3. #3

    garethedmondson's Avatar
    Join Date
    Oct 2008
    Location
    Gowerton, Swansea
    Posts
    2,260
    Thank Post
    965
    Thanked 324 Times in 192 Posts
    Blog Entries
    11
    Rep Power
    164
    Why not add it to your reference image?

    Gareth

  4. #4

    Join Date
    Dec 2007
    Posts
    867
    Thank Post
    90
    Thanked 165 Times in 140 Posts
    Rep Power
    49
    We added .NET 4.5 as part of our reference image, although automated using "Install Application" Task as part of the build sequence.

    dotnetfx45_Full_x86_x64.exe /passive /norestart

    Highly recommend this book Deployment Fundamentals, Vol. 4: Deploying Windows 8 and Office 2013 Using MDT 2012 Update 1: Amazon.co.uk: Johan Arwidmark, Mikael Nystrom: Books, and we already had this book Deployment Fundamentals, Vol. 1: Migrating to Windows 7 using MDT 2010 Lite Touch and WDS eBook: Johan Arwidmark, Mikael Nystrom: Amazon.co.uk: Books which compliments each other well; so would setup you up for deploying Windows 7 & 8 with MS Office 2010/2013

  5. #5

    Join Date
    Jan 2009
    Location
    Essex / Macclesfield
    Posts
    272
    Thank Post
    28
    Thanked 8 Times in 6 Posts
    Rep Power
    13
    Hi

    You can import dot net into MDT so it's installed from the applications tab of the MDT wizard. This way it's installed with your image.

  6. #6

    Join Date
    May 2013
    Posts
    15
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    3
    Hi,

    I have tried using the above command suggested by Arthur which unfortunately didn't work. I have the full installer downloaded from the link provided.

    IKWeb could you give me some instructions on how to do this? I have already added dot net 4 as an application in MDT and given it the command /passive /norestart and also set the GUID ID in the Rules tab so that it automatically installs but it still doesnt work.

    Any more help would be appreciated

  7. #7
    Jamo's Avatar
    Join Date
    Jan 2009
    Posts
    1,350
    Thank Post
    66
    Thanked 175 Times in 147 Posts
    Rep Power
    60
    Quote Originally Posted by alexpuk2002 View Post
    Hi,

    I have tried using the above command suggested by Arthur which unfortunately didn't work. I have the full installer downloaded from the link provided.

    IKWeb could you give me some instructions on how to do this? I have already added dot net 4 as an application in MDT and given it the command /passive /norestart and also set the GUID ID in the Rules tab so that it automatically installs but it still doesnt work.

    Any more help would be appreciated

    I think .NET is one of the weird ones which doesn't like the /q argument, try it with the /b for basic UI rather than /q for no UI I think that works then

  8. #8
    steewy's Avatar
    Join Date
    Jan 2013
    Location
    Guildford
    Posts
    47
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0
    So,

    Download the Dotnet 4 and extract dotNetFx40_Full_x86_x64.exe. I put the files only here just for you: https://mega.co.nz/#!KJl1UCyJ!TnpYeHRljsr9XlIB0f8LW2hgKMBimCVwjjTbAel g8W4

    I strongly recommend you to add DotNet 4 to your golden image before sysprep, it just makes things easier.
    To install DotNet 4 you need to add it to your Tasksequence. To do so add DotNet 4 to your Application on the MDT server.
    For the quiet install just type Setup.exe
    Now all you need to do is add the installation in your tasksequence.
    I made a quick video it's easier. have a look:
    https://mega.co.nz/#!nU0m3DST!UPf7yjVTHJErzIhAwy98oFAIrmUFEndrPSD2ZdB SfoQ

  9. #9

    Join Date
    Dec 2007
    Posts
    867
    Thank Post
    90
    Thanked 165 Times in 140 Posts
    Rep Power
    49
    MDT_DotNet45_APP_Deployment.jpg

    The script shown is just effectively running this command:

    dotnetfx45_Full_x86_x64.exe /passive /norestart

  10. #10
    steewy's Avatar
    Join Date
    Jan 2013
    Location
    Guildford
    Posts
    47
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by MYK-IT View Post
    MDT_DotNet45_APP_Deployment.jpg

    The script shown is just effectively running this command:

    dotnetfx45_Full_x86_x64.exe /passive /norestart
    There is a few ways to do it. I prefer to install it before I capture the image. I change my deployment shared and it make it faster.

  11. #11

    Join Date
    Dec 2007
    Posts
    867
    Thank Post
    90
    Thanked 165 Times in 140 Posts
    Rep Power
    49
    Yes, me too. This is part of the deployment task used to create the "base unit" that will later be used as the "default image" for all our deployments.

  12. #12

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    I agree, it's better to include as part of the master image as it takes forever to install. I'd recommend .NET 4.5 these days as there are few post updates to install afterwards.

  13. #13
    steewy's Avatar
    Join Date
    Jan 2013
    Location
    Guildford
    Posts
    47
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by Michael View Post
    I agree, it's better to include as part of the master image as it takes forever to install. I'd recommend .NET 4.5 these days as there are few post updates to install afterwards.
    This is exactly why I install it in the golden image because once you install it, you have about 10 more updates to install.

  14. #14

    Join Date
    May 2013
    Posts
    15
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    3
    Thanks very much for the info here it is greatly appreciated. I will give this a go on Monday when I am back in work.

    I previously installed .Net 4.0 in my image before sysprep and capture as we are including lots of software and updates to avoid installing them after deployment. Once I had captured my image with .Net 4.0 installed and deployed this to a laptop, it appeared that it had somehow removed .Net from the image.

    The reason I need .Net 4.0 installed is because we run SIMS in our school and SIMS requires .Net 4.0 to run. After reading the posts on here I will install .Net 4.5 though.

  15. #15

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    SIMS and Smart Notebook 11 for example work absolutely fine with .NET 4.5. At the time of writing there are 7 post updates to install. With .NET 4 it's more like 12+ post updates.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 3
    Last Post: 9th May 2013, 01:37 PM
  2. MDT 2012 Very Sloooooow Deployment
    By MYK-IT in forum O/S Deployment
    Replies: 1
    Last Post: 7th May 2013, 04:44 PM
  3. [MDT] MDT 2012 Update 1 & XP Deployment
    By vladker in forum O/S Deployment
    Replies: 5
    Last Post: 16th January 2013, 03:57 PM
  4. Replies: 10
    Last Post: 22nd October 2012, 08:49 PM
  5. [MDT] Import registry changes during deployment
    By Gatt in forum O/S Deployment
    Replies: 5
    Last Post: 16th July 2010, 01:54 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •