wix - Prerequisite bootstrapper application fails to install .NET 4.5 -


my installer has .net 4.5 prerequisite, when running installer on vista (with .net 4.0 installed) launches prerequisite bootstrapper expected. clicking "install" moves dialog progress page, , that's stops. sits @ 0% while, , bootstrapper disappears (exits).

log snippet:

[0a30:0360][2013-07-11t10:41:23]i300: apply begin [093c:06f4][2013-07-11t10:41:23]i360: creating system restore point. [093c:06f4][2013-07-11t10:41:28]i361: created system restore point. [0a30:0360][2013-07-11t10:41:28]i399: apply complete, result: 0x0, restart: none, ba requested restart:  no [0a30:0360][2013-07-11t10:41:28]i500: shutting down, exit code: 0x0 [0a30:0360][2013-07-11t10:41:28]i000: prerequisites not installed, error: 0x0. bootstrapper application not reloaded. 

my .net package (which first package in bundle):

<packagegroup id="netfx45full">   <exepackage id="netfx45full"               cache="no"                compressed="yes"               permachine="yes"               permanent="yes"               vital="yes"               sourcefile="..\common\prerequisites\msil\dotnetfx45_full_x86_x64.exe"               installcondition="not (netfx4fullversion=&quot;4.5.50709&quot; or netfx4x64fullversion=&quot;4.5.50709&quot;)"               detectcondition="(netfx4fullversion=&quot;4.5.50709&quot;) , (not versionnt64 or (netfx4x64fullversion=&quot;4.5.50709&quot;))" /> </packagegroup> 

my bootstrappercore.config has got following:

<wix.bootstrapper>     <host assemblyname="bootstrapper">         <supportedframework version="v4.5" />     </host> </wix.bootstrapper> 

i have been snooping around %temp% , various other locations, , have been unable find .net install log, assume doesn't point. ideas why .net fails install or how troubleshoot further appreciated. thank you

i had similar problem. installer started .net 4.0 installed later crashed, if had referenced .net 4.5 package in bundle. solution add sku attribute supportedruntime in bootstrappercore.config this:

    <startup uselegacyv2runtimeactivationpolicy="true">       <supportedruntime version="v4.0" sku=".netframework,version=v4.5" />     </startup> 

Comments