xml - WiX Installer failed to parse condition -
i trying create wix installer makes sure user on windows 7 , doesn't have .net framework 4.5 installed. below both error code , xml/wxs code in bundle. i'm @ loss why doesn't understand unless parentheses. but, without them doesn't understand not is.
code:
<chain> <exepackage id="prepackage" sourcefile="dotnetfx45_full_setup.exe" installcondition="(versionnt >= v6.1) , not (net4fullversion >= 4.5)" /> <msipackage id="mainpackage" sourcefile="samplefirst.msi" installcondition="versionnt >= v6.1" /> </chain>
error:
[0a20:0954][2014-06-23t12:07:14]e000: error 0x8007000d: failed parse status "(versionnt >= v6.1) , not (net4fullversion >= 4.5)". unexpected character @ position 49.
having experimented locally, looks net4fullversion needs have version number quoted; means in case quotes have escaped:
<exepackage id="prepackage" sourcefile="dotnetfx45_full_setup.exe" installcondition="(versionnt >= v6.1) , not (net4fullversion >= "4.5")" />
xml parsing wix condition
No comments:
Post a Comment