You probably need:

    <WixVariable Id="WixMbaPrereqPackageId" Value="Netfx35" />
To tell the prereq BA to install that package when NETFX is missing.

Also, you probabl want to remove your InstallCondition.


On Fri, Mar 22, 2013 at 2:37 PM, Chinnappa, Sarvesh [Audatex - Americas] <
sarvesh.chinna...@audatex.com> wrote:

> Hi,
>
> I have a custom managed bootstrapped that works fine when .net 3.5 is
> installed. When testing the scenario where .net 3.5 is not installed burn
> fails to install the .net redistributable (local redistributable install).
> It is is the first item in the chain
>
>
> <BootstrapperApplicationRef Id="ManagedBootstrapperApplicationHost">
>
>       <Payload
> SourceFile="$(var.MyCustomInstallUI.TargetDir)MyCustomInstallUI.dll"/>
>
>       <Payload
> SourceFile="$(var.MyCustomInstallUI.TargetDir)BootstrapperCore.config"/>
>
> </BootstrapperApplicationRef>
>
> <Chain>
>    <PackageGroupRef Id="Netfx35" />
> </Chain>
>
> And defined as below.
>
>
> <PackageGroup Id="Netfx35">
>
>       <ExePackage Id="Netfx35"
>
>         Cache="no"
>
>         Compressed="yes"
>
>         PerMachine="yes"
>
>         Permanent="yes"
>
>         Vital="yes"
>
>         Name="Redist\dotnetfx35.exe"
>
>         SourceFile="..\Redist\dotnetfx35.exe"
>
>         InstallCommand="/q /norestart /lang:ENU"
>
>         RepairCommand="/q /norestart /lang:ENU"
>
>         UninstallCommand="/q /norestart /lang:ENU"
>
>         InstallCondition="NOT Netfx35Version OR (Netfx35Version &lt;
> v3.5.30729.1)"
>
>         DetectCondition="Netfx35Version AND (Netfx35Version &gt;=
> v3.5.30729.1)">
>
>         <ExitCode Value ="3010" Behavior="forceReboot" />
>
>       </ExePackage>
>
>     </PackageGroup>
>
>
> The .net prerequisite installs fine if I use the standard managed
> bootstrapped but it doesn't when I include the custom UI. I get the
> standard screen where it says .net framework is required with Install
> option and when I click accept and install it the UI disappears, here is
> the log
>
>
> [00E0:0130][2013-03-22T13:32:09]i200: Plan begin, 2 packages, action:
> Install
>
> [00E0:0130][2013-03-22T13:32:09]i052: Condition 'NOT Netfx35Version OR
> (Netfx35Version < v3.5.30729.1)' evaluates to true.
>
> [00E0:0130][2013-03-22T13:32:09]w321: Skipping dependency registration on
> package with no dependency providers: Netfx35
>
> [00E0:0130][2013-03-22T13:32:09]i201: Planned package: Netfx35, state:
> Absent, default requested: Present, ba requested: None, execute: None,
> rollback: None, cache: No, uncache: No, dependency: None
>
>
> Not sure what I am missing. Unfortunately I can't use .Net 4.0 which I see
> is already defined in NetFxExtensions. Any pointers where I should I look
> for the problem?
>
>
> Thanks,
>
> Sarvesh
>
>
>  ----------------------------------------------------------------------------
>
>
>
> PRIVILEGE AND CONFIDENTIALITY NOTICE
> The information in this electronic mail (and any associated attachments)
> is intended for the named recipient(s) only and may contain privileged and
> confidential information. If you have received this message in error, you
> are hereby notified that any use, disclosure, copying or alteration of this
> message is strictly prohibited.  If you are not the intended recipient(s),
> please contact the sender by reply email and destroy all copies of the
> original message.  Thank you.
>
>
>
>
>  ---------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to