Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed installing NetFx40Web in a machine with .NET 4 client profile installed #3893

Closed
wixbot opened this issue Jan 18, 2013 · 3 comments
Closed
Labels

Comments

@wixbot
Copy link

wixbot commented Jan 18, 2013

Hi, I have a Bootstrapper project (setup.exe) which checks for .NET 4.0 Full to deploy my application as following:

<Chain>
      <!-- This will check for and install .Net 4.0 downloading the installer from the Web -->
      <PackageGroupRef Id='NetFx40Web' />
      <MsiPackage Id="MoonCakeFestival.IDE" SourceFile="$(var.MoonCakeFestival.IDE.setup.TargetPath)" Compressed="yes" DisplayInternalUI="yes" Vital="yes" Visible="yes"/>
</Chain>

Then I have a complaint from user that has '.NET 4.0 Client Profile' installed in his machine (Windows 7 and Windows XP). The complaint was whenever he double click the setup.exe, it doesn't do anything. Then I see the installer log and it's as following:

[0D1C:0894][2013-01-18T15:48:05]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full'
[0D1C:0894][2013-01-18T15:48:05]i052: Condition 'NETFRAMEWORK40' evaluates to false.
[0D1C:0894][2013-01-18T15:48:05]i000: DetectPackageComplete: NetFx40Web
[0D1C:0894][2013-01-18T15:48:05]i000: DetectPackageComplete: MoonCakeFestival
[0D1C:0894][2013-01-18T15:48:05]i101: Detected package: NetFx40Web, state: Absent, cached: None
[0D1C:0894][2013-01-18T15:48:05]i101: Detected package: MoonCakeFestival.IDE, state: Absent, cached: None
[0D1C:0894][2013-01-18T15:48:05]i000: DetectComplete
[0D1C:0894][2013-01-18T15:48:05]i199: Detect complete, result: 0x0
[0D1C:0894][2013-01-18T15:48:05]i200: Plan begin, 2 packages, action: Install
[0D1C:0894][2013-01-18T15:48:05]w321: Skipping dependency registration on package with no dependency providers: NetFx40Web
[0D1C:0894][2013-01-18T15:48:05]i000: Setting string variable 'WixBundleLog_NetFx40Web' to value 'C:\Users\Dions\AppData\Local\Temp\MoonCakeFestival_suite_10.0_setup_20130118154805_0_NetFx40Web.log'
[0D1C:0894][2013-01-18T15:48:05]i000: Setting string variable 'WixBundleRollbackLog_MoonCakeFestival.IDE' to value 'C:\Users\Dions\AppData\Local\Temp\MoonCakeFestival_suite_10.0_setup_20130118154805_1_MoonCakeFestival.IDE_rollback.log'
[0D1C:0894][2013-01-18T15:48:05]i000: Setting string variable 'WixBundleLog_MoonCakeFestival.IDE' to value 'C:\Users\Dions\AppData\Local\Temp\MoonCakeFestival_suite_10.0_setup_20130118154805_1_MoonCakeFestival.IDE.log'
[0D1C:0894][2013-01-18T15:48:05]i201: Planned package: NetFx40Web, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
[0D1C:0894][2013-01-18T15:48:05]i201: Planned package: MoonCakeFestival.IDE, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[0D1C:0894][2013-01-18T15:48:05]i000: PlanComplete
[0D1C:0894][2013-01-18T15:48:05]i299: Plan complete, result: 0x0
[0D1C:0894][2013-01-18T15:48:05]i300: Apply begin
[0E8C:0860][2013-01-18T15:48:07]i360: Creating a system restore point.
[0E8C:0860][2013-01-18T15:48:14]i361: Created a system restore point.
[0E8C:0860][2013-01-18T15:48:14]i000: Caching bundle from: 'C:\Users\Dions\AppData\Local\Temp{e3e38b40-88b2-4748-92b1-968da0487448}.be\MoonCakeFestival.IDE.setup.exe' to: 'C:\ProgramData\Package Cache{e3e38b40-88b2-4748-92b1-968da0487448}\MoonCakeFestival.IDE.setup.exe'
[0E8C:0860][2013-01-18T15:48:14]i320: Registering bundle dependency provider: {e3e38b40-88b2-4748-92b1-968da0487448}, version: 10.0.0.0
[0D1C:0908][2013-01-18T15:48:14]w343: Prompt for source of package: NetFx40Web, payload: NetFx40Web, path: C:\Users\Dions\Desktop\redist\dotNetFx40_Full_setup.exe
[0D1C:0908][2013-01-18T15:48:14]e054: Failed to resolve source for file: C:\Users\Dions\Desktop\redist\dotNetFx40_Full_setup.exe, error: 0x80070002.
[0D1C:0908][2013-01-18T15:48:14]e000: Error 0x80070002: Failed while prompting for source (original path 'C:\Users\Dions\Desktop\redist\dotNetFx40_Full_setup.exe').
[0D1C:0908][2013-01-18T15:48:14]e313: Failed to acquire payload: NetFx40Web to working path: C:\Users\Dions\AppData\Local\Temp{e3e38b40-88b2-4748-92b1-968da0487448}\NetFx40Web, error: 0x80070002.
[0D1C:0894][2013-01-18T15:48:14]e000: Error 0x80070002: Failed while caching, aborting execution.
[0E8C:0860][2013-01-18T15:48:14]i330: Removed bundle dependency provider: {e3e38b40-88b2-4748-92b1-968da0487448}

[0E8C:0860][2013-01-18T15:48:14]i352: Removing cached bundle: {e3e38b40-88b2-4748-92b1-968da0487448}, from path: C:\ProgramData\Package Cache{e3e38b40-88b2-4748-92b1-968da0487448}
[0D1C:0894][2013-01-18T15:48:14]i000: ApplyComplete
[0D1C:0894][2013-01-18T15:48:14]i399: Apply complete, result: 0x80070002, restart: None, ba requested restart: No
[0D1C:0894][2013-01-18T15:48:14]i500: Shutting down, exit code: 0x0
[0D1C:0894][2013-01-18T15:48:14]i410: Variable: NETFX40_WIC_VERSION = 6.1.7601.17514
[0D1C:0894][2013-01-18T15:48:14]i410: Variable: ServicePackLevel = 1
[0D1C:0894][2013-01-18T15:48:14]i410: Variable: SystemFolder = C:\Windows\system32
[0D1C:0894][2013-01-18T15:48:14]i410: Variable: VersionNT = 6.1.0.0
[0D1C:0894][2013-01-18T15:48:14]i410: Variable: WixBundleAction = 4
[0D1C:0894][2013-01-18T15:48:14]i410: Variable: WixBundleElevated = 1
[0D1C:0894][2013-01-18T15:48:14]i410: Variable: WixBundleLog = C:\Users\Dions\AppData\Local\Temp\MoonCakeFestival_suite_10.0_setup_20130118154805.log
[0D1C:0894][2013-01-18T15:48:14]i410: Variable: WixBundleLog_MoonCakeFestival.IDE = C:\Users\Dions\AppData\Local\Temp\MoonCakeFestival_suite_10.0_setup_20130118154805_1_MoonCakeFestival.IDE.log
[0D1C:0894][2013-01-18T15:48:14]i410: Variable: WixBundleLog_NetFx40Web = C:\Users\Dions\AppData\Local\Temp\MoonCakeFestival_suite_10.0_setup_20130118154805_0_NetFx40Web.log
[0D1C:0894][2013-01-18T15:48:14]i410: Variable: WixBundleManufacturer = MoonCakeFestival
[0D1C:0894][2013-01-18T15:48:14]i410: Variable: WixBundleName = MoonCakeFestival suite 10.0 setup
[0D1C:0894][2013-01-18T15:48:14]i410: Variable: WixBundleOriginalSource = C:\Users\Dions\Desktop\MoonCakeFestival.IDE.setup.exe
[0D1C:0894][2013-01-18T15:48:14]i410: Variable: WixBundleProviderKey = {e3e38b40-88b2-4748-92b1-968da0487448}
[0D1C:0894][2013-01-18T15:48:14]i410: Variable: WixBundleRollbackLog_MoonCakeFestival.IDE = C:\Users\Dions\AppData\Local\Temp\MoonCakeFestival_suite_10.0_setup_20130118154805_1_MoonCakeFestival.IDE_rollback.log
[0D1C:0894][2013-01-18T15:48:14]i410: Variable: WixBundleTag =
[0D1C:0894][2013-01-18T15:48:14]i410: Variable: WixBundleVersion = 10.0.0.0
[0D1C:0894][2013-01-18T15:48:14]i007: Exit code: 0x0, restarting: No

Pay attention to log lines that I marked as bold, it's said it tries to resolve .net framework setup file while I specified in the bootstrapper as NetFx40Web (.NET 4 full web setup) and it didn't download from web. Is this a bug ?

Can you provide me a temporary solution? I can't use NetFx40Redist because small size installer file is really an important requirement.

Thanks,
Dion

Originally opened by dsiswadi from http://sourceforge.net/p/wix/bugs/3193/

@wixbot
Copy link
Author

wixbot commented Mar 5, 2013

Extra information: I put .NET 4 client version as supported Framework in the bootstrapper application config.

@wixbot
Copy link
Author

wixbot commented Oct 10, 2013

Your BA is responsible for telling Burn to download files when they're not present.

Originally posted by barnson
Area changed from NetFx40Web to burn

@wixbot
Copy link
Author

wixbot commented Oct 10, 2013

Originally changed by barnson
Resolution set to notabug
Status changed from Open to Resolved

@wixbot wixbot added this to the v3.8 milestone Dec 20, 2015
@wixbot wixbot closed this as completed Dec 20, 2015
@rseanhall rseanhall removed this from the v3.8 milestone Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants