wix - Package the .Net redistributable in my burn bootstrapper -
i'm trying package .net 4.5.2 redistributable burn application, following instructions on page.
but fails find file in temp burn location.
according log burn tries find file here:
[0a14:09c4][2015-05-12t16:48:52]w343: prompt source of package: netfx452redist, payload: netfx452redist, path: `c:\users\simon\desktop\redist\ndp452-kb2901907-x86-x64-allos-enu.exe`
but file ends in temporary folder
eg.
c:\users\simon\appdata\local\temp\{f5207472-d2a0-4b00-b9ee-c535385bde58}\redist\ndp452-kb2901907-x86-x64-allos-enu.exe
the instructions this:
<payloadgroup id="netfx452redistpayload"> <payload name="redist\ndp452-kb2901907-x86-x64-allos-enu.exe" sourcefile="..\..\binaries\microsoft\netframework\4.5.2\ndp452-kb2901907-x86-x64-allos-enu.exe"/> </payloadgroup>
how can make burn in correct location .net installer?
rather reference netfxextension
gain more control directly referencing .net install package:
<fragment> <!-- value of 'release' registry value when .net 4.5.2 installed --> <?define netfx452minrelease = 379893 ?> <!-- release of .net v4 framework installed --> <util:registrysearch id="netframework4" variable="netframework4" root="hklm" key="software\microsoft\net framework setup\ndp\v4\full" value="release" result="value" /> <!-- install .net 4.5.2 if not installed --> <packagegroup id="netfx4fullredist"> <exepackage id="netfx4fullredist" cache="no" compressed="yes" installcommand="/q /norestart /chainingpackage "[wixbundlename]"" repaircommand="/q /norestart /repair /chainingpackage "[wixbundlename]"" uninstallcommand="/uninstall /q /norestart /chainingpackage "[wixbundlename]"" permachine="yes" detectcondition="netframework4 >= $(var.netfx452minrelease)" vital="yes" permanent="yes" protocol="netfx4" sourcefile="..\..\binaries\microsoft\ndp452-kb2901907-x86-x64-allos-enu.exe" name="redist\ndp452-kb2901907-x86-x64-allos-enu.exe"> </exepackage> </packagegroup> </fragment>
then reference netfx4fullredist
in <chain>..</chain>
:
<!-- .net runtime full profile --> <packagegroupref id="netfx4fullredist"/>
i've used variation on include .net 4 client redistributable burn generated installer application without issues.
Comments
Post a Comment