CelticWhisper Posted January 19, 2007 Posted January 19, 2007 Heya, everybody.I'm working on a Windows update CD for my company network and I'm very near to completion. One of the few remaining elements is the .Net framework, version 3.0I'm having some difficulty getting it installed silently from a batch script and am wondering what's going wrong.Basically the script runs down a long list of updates, part of which are the three releases of .Net. It appears to install .Net 3.0, and checking Task Manager shows that my "Dotnet3point0.exe" file (renamed dotnetfx.exe as MSFT insists on reusing the name) does in fact run. However, later when I check Add/Remove Programs for the patches, versions 1 and 2 are there but no version 3.So, my question is: Is there any way to silently install .Net framework 3.0 from the official MSFT package (i.e. not a third-party switchless/silent/RyanVM/nLite/etc. modification), and if so, what am I doing wrong that is causing the install not to "stick?"Thanks a million.P.S. I ask about the official installer because while I have no problem using a repackaged version on my home systems, I'd rather stick to official Microsoft releases on my business network. Thanks for understanding.
ajua Posted January 20, 2007 Posted January 20, 2007 any info. i havent tried yet because i dont need 3.0 framework right now. any inf on the original package by ms would be great.
SubD Posted January 23, 2007 Posted January 23, 2007 (edited) @ECHO@ECHO Installing @ECHO wait...start /wait %systemdrive%\$OEM$\$1\Application\dotnetfx3.exe /q /norestart Edited January 23, 2007 by SubD
CelticWhisper Posted January 23, 2007 Author Posted January 23, 2007 Great, I'll try that as soon as I get a chance.Also, is there a way to get this to work post-install from a "patches only" CD? We're also looking to roll it out to systems who've already had their OS installed. I imagine the same command will work, that no registry settings need tweaking or anything? I know that was an issue with installing .Net 1 and 2 during a Windows setup process.
CelticWhisper Posted January 24, 2007 Author Posted January 24, 2007 Okay, I tried that command and while the installer package did run, after a reboot the Add/Remove Programs list did not show the .Net Framework 3.0 as having been installed. I checked the "Show updates" box and still no .net.Curse you, Microsoft. Make installers that just work already. Apple seems to have no problems doing it.
Avneet Posted January 25, 2007 Posted January 25, 2007 http://www.doitrightconsulting.net/forum/i...143f79c3a4a9be3check there for instructions ...
CelticWhisper Posted January 28, 2007 Author Posted January 28, 2007 Erm, that link just takes me to the RogueSpear forum index.
bigfatroundguy Posted February 25, 2007 Posted February 25, 2007 I do what SubD wrote during RunOnceEx and I also immediately follow it with KB925720 & KB927977. I have found that these to hotfixes need to be installed following the .NET3 install in order for WinUpdate to recognize that .NET3 has been installed.
wackelpudding Posted November 5, 2007 Posted November 5, 2007 Hello.I'm aware of the fact that this is a somehow old topic. But because it is one of the top search result for Googleing "'.net framework 3' +unattended" I think a resolution could be helpful for others.Here it is:Start the installation bystart /wait netfx3.exe /q:a /c:"setup.exe /q /norestart"Where netfx3.exe is the Redistributable Package.I've tried this because I found it as a 100% working way for the .NET FX 2.0 Redist over at Aaron Stebner's WebLog. And it works fine for me.You could also use the /t:{folder} switch for specifying a temporary files location.
wackelpudding Posted November 5, 2007 Posted November 5, 2007 start /wait netfx3.exe /q:a /c:"setup.exe /q /norestart"I promise it worked fine this way yesterday. But another test revealed that there should be at least an additional /norestart switch at the end. I. e.:start /wait netfx3.exe /q:a /c:"setup.exe /q /norestart" /norestartDon't know if it will also work if you drop off the first /norestart switch.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now