Hi,
I want to install msxml4.0 sp2 as a prerequisite in wix installer. I added the
following codes in .wixproj file and I placed the msxml.msi along with
product.xml under "C:\Program Files\Microsoft
SDKs\Windows\v7.0A\Bootstrapper\Packages" by creating a new folder msxml but
while building the wix installer using visual studio I am getting the warning
"warning MSB3155: Item 'MSXML 4.0 SP2 Parser and SDK' could not be located in
'C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper'." and while
runnning the installerfile its not installing msxml.
<ItemGroup>
<BootstrapperFile Include="MSXML 4.0 SP2 Parser and SDK" >
<ProductName>MSXML 4.0 SP2 Parser and SDK</ProductName>
</BootstrapperFile>
</ItemGroup>
<Target Name="AfterBuild">
<GenerateBootstrapper
ApplicationFile="msxml.msi"
ApplicationName="msxml"
BootstrapperItems="@(BootstrapperFile)"
Path="C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper"
ComponentsLocation="Relative"
OutputPath="C:\Program Files\MSXML 4.0"
Culture="en"/>
</Target>
Product.xml
<?xml version="1.0" encoding="utf-8"?>
<Product ProductCode="MSXML 4.0 SP2 Parser and SDK"
xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper">
<PackageFiles CopyAllPackageFiles="false">
<PackageFile Name="msxml.msi"
PublicKey="3082010A0282010100AA99BD39A81827F42B3D0B4C3F7C772EA7CBB5D18C0DC23A74D793B5E0A04B3F595ECE454F9A7929F149CC1A47EE55C2083E1220F855F2EE5FD3E0CA96BC30DEFE58C82732D08554E8F09110BBF32BBE19E5039B0B861DF3B0398CB8FD0B1D3C7326AC572BCA29A215908215E277A34052038B9DC270BA1FE934F6F335924E5583F8DA30B620DE5706B55A4206DE59CBF2DFA6BD154771192523D2CB6F9B1979DF6A5BF176057929FCC356CA8F440885558ACBC80F464B55CB8C96774A87E8A94106C7FF0DE968576372C36957B443CF323A30DC1BE9D543262A79FE95DB226724C92FD034E3E6FB514986B83CD0255FD6EC9E036187A96840C7F8E203E6CF050203010001"
/>
</PackageFiles>
<Commands Reboot="Defer">
<Command PackageFile="msxml.msi">
<ExitCodes>
<DefaultExitCode Result="Success" String="Anunexpectedexitcodewasr"
FormatMessageFromSystem="true" />
</ExitCodes>
</Command>
</Commands>
</Product>
Thanks,
Sujitha
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs