[wix-users] .NET redist not installing
Blair Murri
osito at live.com
Sat Oct 7 23:11:15 PDT 2017
You show one authoring (and that is only a subset), but two (trimmed) logs. What is different? Runtime environment? Some other authoring difference? BootstrapperApplicationRef target? There's not enough info here to go on.
Blair Murri
Sent from my Windows 10 phone
From: Joel Budreau via wix-users<mailto:wix-users at lists.wixtoolset.org>
Sent: Friday, October 6, 2017 1:49 PM
To: WiX Toolset Users Mailing List<mailto:wix-users at lists.wixtoolset.org>
Cc: Joel Budreau<mailto:joel.budreau at gmail.com>
Subject: Re: [wix-users] .NET redist not installing
Maybe to help simplify the question even more: what could cause this...?
“Planned package: Netfx4Full, state: Absent, default requested: Present, ba requested: None…”
None of my custom BA code could execute yet, but something in the engine decided that .NET should not be installed.
- Joel
> On Oct 6, 2017, at 12:12 PM, Joel Budreau <joel.budreau at gmail.com> wrote:
>
> Edit:
>
> The WORKING bootstrapper has this in the log file:
> [timestamp] Condition ‘NETFRAMEWORK40’ evaluates to false.
> …
> [timestamp] Detected package: Netfx4Full, state: Absent, cached: None
> …
> [timestamp] Skipping dependency registration on package with no dependency providers: Netfx4Full
> [timestamp] Setting string variable ‘WixBundleLog_Netfx4Full’ to value ‘C:\Users\myusername\AppData\Local\Temp\MyBootstrapper_timestamp_000_Netfx4Full.log’
> …
> [timestamp] Planned package: Netfx4Full, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: Yes, dependency: None
>
> The FAILING bootstrapper has this in the log file:
> [timestamp] Condition ‘NETFRAMEWORK40’ evaluates to false.
> …
> [timestamp] Detected package: Netfx4Full, state: Absent, cached: None
> …
> [timestamp] Skipping dependency registration on package with no dependency providers: Netfx4Full
> …
> [timestamp] Planned package: Netfx4Full, state: Absent, default requested: Present, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
>
> What could I be missing in the failing BA?
>
> Thanks,
> Joel
>
>> On Oct 6, 2017, at 12:09 PM, Joel Budreau <joel.budreau at gmail.com> wrote:
>>
>> Hi everyone,
>>
>> I’ve got two custom BAs that both package the .NET 4.0 redist. One can install it, and one can’t :(
>>
>> Both Bundle.wxs files look like this:
>> <Chain>
>> <PackageGroupRef Id=“Netfx4Full”/>
>> …
>> </Chain>
>>
>> <Fragment>
>> <util:RegistrySearchRef Id=“NETFRAMEWORK40”/>
>>
>> <WixVariable Id="WixMbaPrereqPackageId" Value="Netfx4Full" />
>> <WixVariable Id="WixMbaPrereqLicenseUrl" Value="NetfxLicense.rtf”/>
>> <PackageGroup Id="Netfx4Full">
>> <ExePackage Id="Netfx4Full" Cache="no" Compressed="yes" PerMachine="yes" Permanent="yes" Vital="yes"
>> SourceFile="$(var.DOTNETPATH)\dotNetFx40_Full_x86_x64.exe"
>> InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]""
>> DetectCondition="NETFRAMEWORK40" />
>> </PackageGroup>
>> </Fragment>
>>
>>
>> The WORKING bootstrapper has this in the log file:
>> [timestamp] Condition ‘NETFRAMEWORK40’ evaluates to false.
>> …
>> [timestamp] Detected package: Netfx4Full, state: Absent, cached: None
>> …
>> [timestamp] Skipping dependency registration on package with no dependency providers: Netfx4Full
>> [timestamp] Setting string variable ‘WixBundleLog_Netfx4Full’ to value ‘C:\Users\myusername\AppData\Local\Temp\MyBootstrapper_timestamp_000_Netfx4Full.log’
>> …
>> [timestamp] Planned package: Netfx4Full, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: Yes, dependency: None
>>
>>
>>
>> - Joel
>> [timestamp] Condition ‘NETFRAMEWORK40’ evaluates to false.
>> …
>> [timestamp] Detected package: Netfx4Full, state: Absent, cached: None
>> …
>> [timestamp] Skipping dependency registration on package with no dependency providers: Netfx4Full
>> …
>> [timestamp] Planned package: Netfx4Full, state: Absent, default requested: Present, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
>>
>> What could I be missing in the failing BA?
>>
>> Thanks,
>> Joel
>>
>
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list