none
Error code: -2145386480 (While installing .NET 3.5 SP1 the setup looks for internet connection, though offline setup) RRS feed

  • Question

  • While trying to install .NET 3.5 SP1 on a Virtual PC (no internet) Windows XP SP2 clean installation,
    I'm getting the following errors:
    Please, how can I install the .NET framework offline...

    The installation line was this:
    '.NET Framework 3.5 SP1' RunCheck result: Install Needed
    Verifying file integrity of C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD2.tmp\DotNetFX35SP1\dotNetFx35setup.exe
    WinVerifyTrust returned 0
    File trusted
    Installing using command 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD2.tmp\DotNetFX35SP1\dotNetFx35setup.exe' and parameters ' /lang:enu /passive /norestart'
    Process exited with code 1603
    Status of package '.NET Framework 3.5 SP1' after install is 'InstallFailed'

    And the log of the framework installation is this:

    [10/19/08,16:49:43] Setup.exe: CSetupManager::RunInstallFromList(IP_PREINSTALL) starting...
    [10/19/08,16:49:43] Setup.exe: GetGlobalCustomProperty - Property: {092114C2-997D-4D68-8F3A-8BC2584FD23B} - PropertyName: Quiet Mode Setup - Value:
    [10/19/08,16:49:43] WapUI: ISetupManager::GetGlobalCustomProperty() failed to find global prop in CProgressPage::RunningComponent()
    [10/19/08,16:49:43] WapUI: {4F8791EE-486F-44B5-952B-F28F9FD58BD0}
    [10/19/08,16:49:43] Setup.exe: GetGlobalCustomProperty - Property: {092114C2-997D-4D68-8F3A-8BC2584FD23B} - PropertyName: Quiet Mode Setup - Value:
    [10/19/08,16:49:43] WapUI: ISetupManager::GetGlobalCustomProperty() failed to find global prop in CProgressPage::RunningComponent()
    [10/19/08,16:49:43] WapUI: {4F8791EE-486F-44B5-952B-F28F9FD58BD0}
    [10/19/08,16:49:43] Setup.exe: GetGlobalCustomProperty - Property: {8297A38B-6431-4F1D-9F6E-C3D371CEA383} - PropertyName: WebSetup - Value: 1
    [10/19/08,16:49:43] Setup.exe: GetComponents()
    [10/19/08,16:49:43] Setup.exe: get_Components()
    [10/19/08,16:49:43] Setup.exe: GetGlobalCustomProperty - Property: {8297A38B-6431-4F1D-9F6E-C3D371CEA383} - PropertyName: WebSetup - Value: 1
    [10/19/08,16:49:43] vs70uimgr: Entering ShowSmallProgress() method.
    [10/19/08,16:49:43] Setup.exe: GetGlobalCustomProperty - Property: {8297A38B-6431-4F1D-9F6E-C3D371CEA383} - PropertyName: WebSetup - Value: 1
    [10/19/08,16:49:43] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): Cannot access file: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD2.tmp\DotNetFX35SP1\tools\clwireg.exe
    [10/19/08,16:49:43] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): Cannot access file: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD2.tmp\DotNetFX35SP1\clwireg.exe
    [10/19/08,16:49:43] Setup.exe: GetGlobalCustomProperty - Property: {8297A38B-6431-4F1D-9F6E-C3D371CEA383} - PropertyName: WebSetup - Value: 1
    [10/19/08,16:49:43] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): dlmgr: Downloading RemoteUrl= and LocalFile=
    [10/19/08,16:49:43] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): dlmgr: http://go.microsoft.com/fwlink/?LinkId=119721&clcid=0x409
    [10/19/08,16:49:43] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): dlmgr: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\dotnetfx3530729.01\1033\tools\clwireg.exe
    [10/19/08,16:49:44] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): dlmgr: BitsManager not yet initialized... initializing
    [10/19/08,16:49:44] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): dlmgr: CDownloadJobBITSImpl::RunToFinish() : verifying file before download.
    [10/19/08,16:49:44] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): dlmgr: CDownloadJobBITSImpl::RunToFinish() : GetDelayBetweenRetryAttempts= 30
    [10/19/08,16:49:44] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): dlmgr: CDownloadJobBITSImpl::RunToFinish() : GetMaxRetryAttempts= 5
    [10/19/08,16:49:45] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): dlmgr: CDownloadJobBITSImpl::GetState(): TransientError

    [10/19/08,16:52:21] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): dlmgr: CDownloadJobBITSImpl::SuspendJob()
    [10/19/08,16:52:21] DownLoadRetry: 0x6, 0x2
    [10/19/08,16:52:21] DL_Error: UnableRetrieveFile
    [10/19/08,16:52:21] BITS_Fatal_Error: -2145386480, RunToFinish():Failed to retrieve file.
    [10/19/08,16:52:21] Setup.exe: AddGlobalCustomProperty
    [10/19/08,16:52:21] DL_Error: UnableRetrieveFile
    [10/19/08,16:52:21] Setup.exe: AddGlobalCustomProperty
    [10/19/08,16:52:21] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): ***ERRORLOG EVENT*** : Failed to fetch setup file in CBaseComponent::PreInstall()
    [10/19/08,16:52:21] Setup.exe: AddGlobalCustomProperty
    [10/19/08,16:52:21] Setup.exe: AddGlobalCustomProperty
    [10/19/08,16:52:21] setup.exe: ***ERRORLOG EVENT*** : ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147467260.
    [10/19/08,16:52:21] Setup.exe: AddGlobalCustomProperty
    [10/19/08,16:52:21] setup.exe: ***ERRORLOG EVENT*** : CSetupManager::RunInstallPhase() - Call to Pre/Install/Post for InstallComponents failed
    [10/19/08,16:52:21] Setup.exe: AddGlobalCustomProperty
    [10/19/08,16:52:21] setup.exe: ***ERRORLOG EVENT*** : CSetupManager::RunInstallPhaseAndCheckResults() - RunInstallPhase() returned a NULL piActionResults
    [10/19/08,16:52:21] Setup.exe: AddGlobalCustomProperty
    [10/19/08,16:52:21] setup.exe: ***ERRORLOG EVENT*** : CSetupManager::RunInstallFromList() - RunInstallPhaseAndCheckResults failed [2]
    [10/19/08,16:52:21] Setup.exe: CSetupManager::RunInstallFromList(IP_PREINSTALL) completed
    [10/19/08,16:52:21] Setup.exe: AddGlobalCustomProperty
    [10/19/08,16:52:21] setup.exe: ***ERRORLOG EVENT*** : ISetupManager::RunInstallLists(IP_PREINSTALL failed in ISetupManager::RunInstallFromThread()
    [10/19/08,16:52:21] Setup.exe: AddGlobalCustomProperty
    [10/19/08,16:52:21] setup.exe: ***ERRORLOG EVENT*** : ISetupManager::RunInstallFromThread() failed in ISetupManager::RunInstall()
    [10/19/08,16:52:21] Setup.exe: AddGlobalCustomProperty
    [10/19/08,16:52:21] setup.exe: ***ERRORLOG EVENT*** : CSetupManager::Run() - Call to RunInstall() failed
    [10/19/08,16:52:21] Setup.exe: RunUnLoadSetup()
    [10/19/08,16:52:21] Setup.exe: UnloadSuiteComponents()
    [10/19/08,16:52:21] UTILS::RunNGENAction: Started
    [10/19/08,16:52:21] UTILS::RunNGENAction: Unable to find mscoree.dll
    [10/19/08,16:52:21] Setup.exe: GetGlobalCustomProperty - Property: {383F0141-C682-4665-A69B-756E719C968D} - PropertyName: Process Return Code - Value: 1603
    [10/19/08,16:52:21] Setup.exe: SETUP EXIT CODE - 1603
    [10/19/08,16:52:21] End_Session:

    New to CF :)
    Sunday, October 19, 2008 3:04 PM

Answers

  • Hi,

    If you are seeing setup attempt to download something from the internet, it means that you are not copying the source files to the exact correct directory structure that .NET Framework setup expects, or you are copying a file that doesn't exactly match the copy that setup expects.

    This is what the folder structure should look like in order for your install to not need to download packages from the internet:

    dotnetfx35setup.exe
    - dotnetfx20
    - dotnetfx30
    - dotnetfx35
    - dotnetMSP
    - Tools

    The payload of each component is in these sub-folders.  This is the structure created if you download the .NET Framework 3.5 SP1 full install package from http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe and run it with the /x switch to extract it.  If you are manually adding the tools folder and contents to your installer layout, you need to make sure the folder structure exactly matches or else setup will try to download packages from the internet in order to re-create this folder structure in the %temp% directory to use at install time.

    Whether or not the .NET Framework 3.5 SP1 setup needs to connect to the internet to download any payload will not be affected by whether or not the original release of the .NET Framework 3.5 is installed on the system, so there is no need to first install .NET Framework 3.5 in this type of scenario.

    Thanks!  Aaron
    • Marked as answer by Figo Fei Thursday, October 23, 2008 7:53 AM
    Wednesday, October 22, 2008 3:25 PM
    Moderator
  • Hi guys,

    Aaron and I just spoke (ok, e-mailed).  I've heard of this once or twice before. 

    The theory is that if you aren't getting the Tools folder when you extract the file, then you are probably actually using the original, pre-SP1 version of dotnetfx35setup.exe.  Perhaps IE is using an older, cached copy of that file when you go to download it. 

    Try clearing your IE cache and downloading the file again.  One person I helped, who did not try the IE cache clearing, had to download 2-3 times before they got the right one.

    Once you get the right files, I'm confident you'll get the behavior you desire.

    What a nuisance, eh?

    Good luck.  Let me know how it goes.


    David Guyer - Deployment Technologies Group PM
    • Marked as answer by Figo Fei Thursday, October 23, 2008 7:53 AM
    Wednesday, October 22, 2008 3:41 PM
  • Hehe, and I e-mailed you both! :)

    Anyway, My final thoughts on the matter:

    1. Extracting the dotnetsetup (200+ MB) and making sure the structure appears as needed,
    2. Extracting the dotNetFx35setup.exe (~3 MB) to get the setup.exe
    3. Add the files to the packageFiles node in the product.xml
    4. Change package.xml to run: setup.exe with /qb argument.

    I'm not 100% sure that this is the best way to go, but it works...

    Thanks a lot you guys for all your help.

    Chen
    New to CF :)
    • Marked as answer by Figo Fei Thursday, October 23, 2008 7:53 AM
    Thursday, October 23, 2008 7:46 AM

All replies

  • Please use the installer available at http://www.microsoft.com/downloads/details.aspx?FamilyID=ab99342f-5d1a-413d-8319-81da479ab0d7&displaylang=en

    See: Scenarios where .NET Framework 3.5 setup tries to connect to the Internet and how to avoid them 
    http://blogs.msdn.com/astebner/archive/2008/07/17/8745415.aspx

    From the logs it looks like the one mentioned in http://blogs.msdn.com/astebner/archive/2008/04/21/8415771.aspx
     
    You can try the .NET Framework 2.0 Registration Correction Tool: http://support.microsoft.com/?kbid=951950

    Thanks


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. http://forums.msdn.microsoft.com/en-US/vssetup/thread/60424309-bd78-4ca2-b618-03c4a16123b6
    • Edited by Figo Fei Tuesday, October 21, 2008 8:22 AM typo
    Tuesday, October 21, 2008 7:58 AM
  • I'm not sure before you installed .NET 3.5 sp1 on that Virtual Machine, was it with any version of .NET Framework?
    To avoid .NET Framework setup searching for the missing package online, I suggest you first install .NET Framework 3.5 full package and then apply .NET 3.5 sp1.

    Thanks.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. http://forums.msdn.microsoft.com/en-US/vssetup/thread/60424309-bd78-4ca2-b618-03c4a16123b6
    • Edited by Figo Fei Tuesday, October 21, 2008 8:28 AM typo
    Tuesday, October 21, 2008 8:28 AM
  • Hi, The problem remains when installing on a computer that had the .NET 3.5 prior.

    I've found the error,

    While using Visual Studio Prequisites the setup doesn't supply the "Tools" folder contains the file "clwireg.exe"

    Once I've manually added this folder to the Release\DotNetFX35SP1 folder,

    Extracting "dotNetFx35setup.exe  /x" and then running "setup.exe /quiet /norestart" as Aaron Stebiner suggested worked!

    But running the setup as part of the regular installation still gave the error!
    Something weird i've noticed is that in D&S\USER\Local Settings\Temp\dotnetfx3530729.01\1033\tools is empty
    Maybe the installation doesn't know how to use the clwireg.exe I supplied manually.

    New Logs:
    uxevetlog
    [10/22/08,09:57:58] SysInfo: x86x1, 5.1.2600, Service Pack 2, 0x409
    [10/22/08,09:57:58] HWInfo: AuthenticAMD, 0x8ab, 0x43d, 0x1
    [10/22/08,09:57:58] AppsRunning
    [10/22/08,09:57:58] IsInternal: 0x0
    [10/22/08,09:57:58] WebInstall: 0x1
    [10/22/08,09:57:58] BITS_Version: 6.6.2600.2180
    [10/22/08,09:57:58] ConnectionType: unknown
    [10/22/08,09:58:09] EULA_Accept: 0x0
    [10/22/08,09:58:09] InstallAction: I
    [10/22/08,09:58:09] Diskspace_check: C:\|11915
    [10/22/08,10:00:47] DownLoadRetry: 0x6, 0x2
    [10/22/08,10:00:47] DL_Error: UnableRetrieveFile
    [10/22/08,10:00:47] BITS_Fatal_Error: -2145386480, RunToFinish():Failed to retrieve file.
    [10/22/08,10:00:47] DL_Error: UnableRetrieveFile
    [10/22/08,10:00:48] End_Session

    dd_dotnetfx35installer
    [10/22/08,09:58:11] Setup.exe: GetGlobalCustomProperty - Property: {8297A38B-6431-4F1D-9F6E-C3D371CEA383} - PropertyName: WebSetup - Value: 1
    [10/22/08,09:58:11] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): Cannot access file: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSDC6.tmp\DotNetFX35SP1\tools\clwireg.exe
    [10/22/08,09:58:11] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): Cannot access file: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSDC6.tmp\DotNetFX35SP1\clwireg.exe
    [10/22/08,09:58:11] Setup.exe: GetGlobalCustomProperty - Property: {8297A38B-6431-4F1D-9F6E-C3D371CEA383} - PropertyName: WebSetup - Value: 1
    [10/22/08,09:58:11] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): dlmgr: Downloading RemoteUrl= and LocalFile=
    [10/22/08,09:58:11] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): dlmgr: http://go.microsoft.com/fwlink/?LinkId=119721&clcid=0x409
    [10/22/08,09:58:11] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): dlmgr: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\dotnetfx3530729.01\1033\tools\clwireg.exe
    [10/22/08,09:58:11] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): dlmgr: BitsManager not yet initialized... initializing
    [10/22/08,09:58:11] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): dlmgr: CDownloadJobBITSImpl::RunToFinish() : verifying file before download.
    [10/22/08,09:58:11] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): dlmgr: CDownloadJobBITSImpl::RunToFinish() : GetDelayBetweenRetryAttempts= 30
    [10/22/08,09:58:11] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): dlmgr: CDownloadJobBITSImpl::RunToFinish() : GetMaxRetryAttempts= 5
    [10/22/08,09:58:12] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): dlmgr: CDownloadJobBITSImpl::GetState(): TransientError
    [10/22/08,09:58:12] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): dlmgr: Transient Error
    Context: 5 Error code: -2145386480 Description: There are currently no active network connections. Background Intelligent Transfer Service (BITS) will try again when an adapter is connected.


    dd_dotnetfx35error
    [10/22/08,10:00:47] Windows Installer Patch Registration Fix for .NET Framework 3.5 (x86): [2] Failed to fetch setup file in CBaseComponent::PreInstall()
    [10/22/08,10:00:47] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147467260.
    [10/22/08,10:00:47] setup.exe: [2] CSetupManager::RunInstallPhase() - Call to Pre/Install/Post for InstallComponents failed
    [10/22/08,10:00:47] setup.exe: [2] CSetupManager::RunInstallPhaseAndCheckResults() - RunInstallPhase() returned a NULL piActionResults
    [10/22/08,10:00:47] setup.exe: [2] CSetupManager::RunInstallFromList() - RunInstallPhaseAndCheckResults failed [2]
    [10/22/08,10:00:47] setup.exe: [2] ISetupManager::RunInstallLists(IP_PREINSTALL failed in ISetupManager::RunInstallFromThread()
    [10/22/08,10:00:47] setup.exe: [2] ISetupManager::RunInstallFromThread() failed in ISetupManager::RunInstall()
    [10/22/08,10:00:47] setup.exe: [2] CSetupManager::Run() - Call to RunInstall() failed

    New to CF :)
    Wednesday, October 22, 2008 8:07 AM
  • Hi,

    If you are seeing setup attempt to download something from the internet, it means that you are not copying the source files to the exact correct directory structure that .NET Framework setup expects, or you are copying a file that doesn't exactly match the copy that setup expects.

    This is what the folder structure should look like in order for your install to not need to download packages from the internet:

    dotnetfx35setup.exe
    - dotnetfx20
    - dotnetfx30
    - dotnetfx35
    - dotnetMSP
    - Tools

    The payload of each component is in these sub-folders.  This is the structure created if you download the .NET Framework 3.5 SP1 full install package from http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe and run it with the /x switch to extract it.  If you are manually adding the tools folder and contents to your installer layout, you need to make sure the folder structure exactly matches or else setup will try to download packages from the internet in order to re-create this folder structure in the %temp% directory to use at install time.

    Whether or not the .NET Framework 3.5 SP1 setup needs to connect to the internet to download any payload will not be affected by whether or not the original release of the .NET Framework 3.5 is installed on the system, so there is no need to first install .NET Framework 3.5 in this type of scenario.

    Thanks!  Aaron
    • Marked as answer by Figo Fei Thursday, October 23, 2008 7:53 AM
    Wednesday, October 22, 2008 3:25 PM
    Moderator
  • Hi guys,

    Aaron and I just spoke (ok, e-mailed).  I've heard of this once or twice before. 

    The theory is that if you aren't getting the Tools folder when you extract the file, then you are probably actually using the original, pre-SP1 version of dotnetfx35setup.exe.  Perhaps IE is using an older, cached copy of that file when you go to download it. 

    Try clearing your IE cache and downloading the file again.  One person I helped, who did not try the IE cache clearing, had to download 2-3 times before they got the right one.

    Once you get the right files, I'm confident you'll get the behavior you desire.

    What a nuisance, eh?

    Good luck.  Let me know how it goes.


    David Guyer - Deployment Technologies Group PM
    • Marked as answer by Figo Fei Thursday, October 23, 2008 7:53 AM
    Wednesday, October 22, 2008 3:41 PM
  • Hehe, and I e-mailed you both! :)

    Anyway, My final thoughts on the matter:

    1. Extracting the dotnetsetup (200+ MB) and making sure the structure appears as needed,
    2. Extracting the dotNetFx35setup.exe (~3 MB) to get the setup.exe
    3. Add the files to the packageFiles node in the product.xml
    4. Change package.xml to run: setup.exe with /qb argument.

    I'm not 100% sure that this is the best way to go, but it works...

    Thanks a lot you guys for all your help.

    Chen
    New to CF :)
    • Marked as answer by Figo Fei Thursday, October 23, 2008 7:53 AM
    Thursday, October 23, 2008 7:46 AM