Deployment Tools Foundation (DTF) フレームワークを使用してカスタム WiX 拡張機能を作成しています。必要な wixlib と拡張クラスを作成しました。問題は、.wxs ファイルを介してこの拡張子を参照すると、次のエラー メッセージが表示されることです。
「エラー 7 Product 要素には、予期しない子要素 'ca:CAAppPool' が含まれています。xsd 検証からの警告の一部 メッセージ 1 要素のスキーマ情報が見つかりませんでした」http://schemas.microsoft.com/wix/2005/XmlSchemaExtension :親'.
以下は、私の XSD ファイルからの抜粋です。
xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension"
以下のように、スキーマ定義ファイルでコンポーネントタグをProduct
/の子Fragment
として参照します。
<xs:appinfo>
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Product" />
<xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Fragment" />
</xs:appinfo>