locked
.Net 3.5 Sp1 Won't install in Windows 8?

    Question

  • .Net 3.5 Sp1 Won't install in Windows 8?
    Thursday, September 29, 2011 1:42 AM

Answers

  • Put the DVD in the drive or mount the iSO and run this from a CMD with adminrights:

    dism.exe /online /enable-feature /featurename:NetFX3 /Source:d:\sources\sxs /LimitAccess
    

     

    (replace D with your DVD drive). This installs .net 3.5.1 without internet access.
    "A programmer is just a tool which converts caffeine into code"

    Thursday, September 29, 2011 12:32 PM

All replies

  • Put the DVD in the drive or mount the iSO and run this from a CMD with adminrights:

    dism.exe /online /enable-feature /featurename:NetFX3 /Source:d:\sources\sxs /LimitAccess
    

     

    (replace D with your DVD drive). This installs .net 3.5.1 without internet access.
    "A programmer is just a tool which converts caffeine into code"

    Thursday, September 29, 2011 12:32 PM
  • This is actually works...after spending a lot of tym in this forum and many threads...1+ 2 you!
    Friday, September 30, 2011 5:27 AM
  • What is the DVD and iSO? Is it Win8 installation DVD?
    Friday, September 30, 2011 9:56 AM
  • Yes, the Windows 8 Developer ISO/DVD
    "A programmer is just a tool which converts caffeine into code"

    Friday, September 30, 2011 9:13 PM
  • Thanks, it works.
    Saturday, October 01, 2011 12:17 PM
  • But still not work on my pc....

    an error occured during installation: 0x800f0906

    please tell me how to over come this error..

    Sunday, October 16, 2011 3:28 PM
  • have you entered the command exactly as I wrote it?
    "A programmer is just a tool which converts caffeine into code"

    Saturday, October 22, 2011 4:36 PM
  • Sunday, October 23, 2011 12:42 AM
  • if your version is 8102

    you can try this:

    first put your windows 8 cd-rom and opne cmd runs as administrstor then input the order

    dism.exe /online /enable-feature /featurename:NetFX3 /Source:d:\sources\sxs

    d:is your CD-ROM

    onther way

    first put your windows 8 cd-rom and opne cmd runs as administrstor then input the order

    xcopy d:\sources\sxs\*.* c:\net35 /s   (d: = CD-ROM)

    Dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:c:\net35 /LimitAccess

    hope to help you~

    Thursday, February 09, 2012 2:40 AM
  • *lol*. read my first reply ;) You posted the same *rolleyes*

    "A programmer is just a tool which converts caffeine into code"

    Thursday, February 09, 2012 5:43 PM
  • dear Andre

    I fail to execute your command as my Win8 is build 8220(the latest build now)

    Below is the returns of my console

    Deployment Image Servicing and Management tool
    Version: 6.2.8220.0
    
    Image Version: 6.2.8220.0
    
    Enabling feature(s)
    [===========================65.8%======                    ]
    
    Error: 0x800f081f
    
    The source files could not be found.
    Use the /source option to specify the location of the files that are required to
     restore the feature. The file location should be either the root directory of a
     mounted image or a component store that has the Windows Side-by-Side directory
    as an immediate subfolder.
    
    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    I have check into the dism.log

    there are some line informs me might be the cause.

    2012-02-10 14:42:30, Info                  DISM   DISM Provider Store: PID=1668 TID=1492 Getting Provider DISM Package Manager - CDISMProviderStore::GetProvider
    2012-02-10 14:42:30, Info                  DISM   DISM Provider Store: PID=1668 TID=1492 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2012-02-10 14:42:30, Info                  DISM   DISM Package Manager: PID=1668 TID=1492 Processing the top level command token(enable-feature). - CPackageManagerCLIHandler::Private_ValidateCmdLine
    2012-02-10 14:42:30, Info                  DISM   DISM Package Manager: PID=1668 TID=1492 Attempting to route to appropriate command handler. - CPackageManagerCLIHandler::ExecuteCmdLine
    2012-02-10 14:42:30, Info                  DISM   DISM Package Manager: PID=1668 TID=1492 Routing the command... - CPackageManagerCLIHandler::ExecuteCmdLine
    2012-02-10 14:42:30, Info                  DISM   DISM Package Manager: PID=1668 TID=1492 Encountered the option "featurename" with value "NetFX3" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine
    2012-02-10 14:42:30, Info                  DISM   DISM Package Manager: PID=1668 TID=1492 Encountered an unknown option "featurename" with value "NetFX3" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine
    2012-02-10 14:42:30, Info                  DISM   DISM Package Manager: PID=1668 TID=1492 Encountered the option "source" with value "d:\sxs" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine
    2012-02-10 14:42:30, Info                  DISM   DISM Package Manager: PID=1668 TID=1492 Encountered an unknown option "source" with value "d:\sxs" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine
    2012-02-10 14:42:30, Info                  DISM   DISM Package Manager: PID=1668 TID=1492 Initiating Changes on Package with values: 5, 7 - CDISMPackage::Internal_ChangePackageState
    2012-02-10 14:42:30, Info                  DISM   DISM Package Manager: PID=1668 TID=1492 CBS session options=0x20100! - CDISMPackageManager::Internal_Finalize
    
    2012-02-10 14:42:47, Info                  DISM   DISM Package Manager: PID=1668 TID=2328  Error in operation: source for package or file not found, ResolveSource() unsuccessful. (CBS HRESULT=0x800f081f) - CCbsConUIHandler::Error
    2012-02-10 14:42:48, Error                 DISM   DISM Package Manager: PID=1668 TID=1492 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f081f)
    
    2012-02-10 14:42:48, Error                 DISM   DISM Package Manager: PID=1668 TID=1492 The source files could not be found; their location must be specified using the /source option to restore the feature. - GetCbsErrorMsg
    
    "an unknown option "source" with value "d:\sxs""..............@@

    however, I am not able to find the option "source" when query(via "dism.exe /?") with the dism capabilities on my Win8.

    can you give me a clue about what is happening?

    Many Thanks~~~

    Friday, February 10, 2012 7:12 AM
  • the command is wrong. It is <Drive>:\sources\sxs not <Drive>:\sxs

    "A programmer is just a tool which converts caffeine into code"

    Sunday, February 12, 2012 1:02 AM
  • I was also unable to install Dontnet 3.5 framework on latest Windows 8 server build (8220).

    I ran the command

    "xcopy D:\Sources\sxs\*.* C:\net35 /S"  ( I copied all sxs files to a local directory net35 which I created in the C drive. )

    "dism /online /enable-feature /featurename:Netfx3 /all /Source:C:\net35 /LimitAccess"

    It failed with error code 0x800f0922.

    Thursday, February 16, 2012 8:37 AM
  • This forum is for help about Build 8102. Ask at connect where you got this build.

    "A programmer is just a tool which converts caffeine into code"

    Sunday, February 19, 2012 8:50 PM