Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 3rd July 2013, 02:59   #1
angela_s
Junior Member
 
Join Date: Jul 2013
Posts: 1
How to Install DotNet 3.5 Framework (Full Package) on Windows 8?

Hi,

Is there a way to install Dot Net Framework 3.5 (Full Package) on Windows 8 without the internet connection?

Link to full package here: http://www.microsoft.com/en-in/downl....aspx?id=25150

I used to implement ExecWait with the dotnet framework setup file that works fine with OS prior to Windows 7:

ExecWait "$EXEDIR\dotnetfxfolder\dotnetfx35setup.exe /qb /norestart"

This way it could be installed from this local setup file, that I used to include with the distribution package. As for Windows 7 there was no need to execute this line as it already has DotNet 3.5 installed.

The problem is with Windows 8, it seems to require an internet connection even if we have this local dotnet 3.5 framework setup included in the distributed package.

Is there a workaround for this problem?

Thanks in advance.
angela_s is offline   Reply With Quote
Old 3rd July 2013, 07:45   #2
jpderuiter
Major Dude
 
Join Date: Feb 2007
Posts: 651
I'm affraid there's no real solution.
The only (legal) option is to require the user to insert the Windows 8 DVD:
http://stackoverflow.com/questions/1...-for-windows-8
jpderuiter is offline   Reply With Quote
Old 3rd July 2013, 14:42   #3
kalverson
Member
 
Join Date: May 2007
Location: Maple Grove, Minnesota
Posts: 72
There is a way to do it without an internet connection, but you need access to the Windows 8 install DVD to do it. I tried it once and it does work. Because of the need for access to the Windows 8 install DVD, we did not implement the procedure in our installer.
kalverson is offline   Reply With Quote
Old 6th July 2013, 17:49   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,366
Another option, which is the one I took, was to bundle a 2nd set of .NET binaries targeting .NET 4.5 instead of 3.5 which are extracted if the OS is Windows 8 or above. .NET 4.5 is pre-installed with Windows 8 in the same way 3.5 is with Windows 7.

Stu
Afrow UK is offline   Reply With Quote
Old 8th July 2013, 05:18   #5
azureusvuze
Junior Member
 
Join Date: Mar 2013
Posts: 6
dotNetFx is available inside ISO of Win 8 setup.
Just extract and run cmd (as admin) with parameters:
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:"Win8_sources_path"

Example:
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:"C:\Win8\sources\sxs"
azureusvuze is offline   Reply With Quote
Old 8th July 2013, 06:31   #6
jpderuiter
Major Dude
 
Join Date: Feb 2007
Posts: 651
That is illegal, because nobody is allowed to distribute part of anything that is under copyright of Microsoft without agreement of Microsoft.
jpderuiter is offline   Reply With Quote
Old 8th July 2013, 10:01   #7
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,366
You don't distribute any ISO to use the DISM command; it's effectively the same as using "Turn Windows features on or off" dialog. If the image (for .NET 3.5) isn't present on the hard drive then it will be downloaded or you will be asked to insert your install disc. However I have tried using DISM to uninstall .NET 3.5 on Windows 8 and we had reports of it getting stuck on the uninstall.

Stu
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump