13

インストーラーの実行時に .NET Framework がインストールされているかどうかを確認するチェックを実装しようとしています。

以下を追加しました。

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">

        <PropertyRef Id="NETFRAMEWORK40FULL"/>
        <Condition Message="This application requires .NET Framework 4.0. Please install the .NET Framework then run this installer again. Contact support at support@Swiftposter.com if you have further issues.">
            <![CDATA[Installed OR NETFRAMEWORK40FUL]]>
        </Condition>

ただし、(クライアントだけでなく)完全な.NETフレームワークがインストールされていても停止し続けるため、常にfalseになるようです。

これは何ですか?

4

2 に答える 2

25

NETFRAMEWORK40FUL は FULL にダブル L が必要です :)

于 2012-04-04T13:55:00.610 に答える
14

これが.netバージョンのリストです:-)

http://wix.sourceforge.net/manual-wix3/wixnetfxextension.htm

于 2012-09-14T21:09:12.237 に答える