3
私はx64システム用のMSIインストーラを作成しようとしています
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<?if $(var.Platform)=x64 ?>
<?define win64Flag = "yes" ?>
<?else ?>
<?define win64Flag = "no" ?>
<?endif ?>
</Wix>
これはビルドで変数を使用するには、非常に簡単な方法でなければなりませんプラットフォームは、次のように失敗しました:
D:\>candle m.wxs
Microsoft (R) Windows Installer Xml Compiler version 3.5.2519.0
Copyright (C) Microsoft Corporation. All rights reserved.
m.wxs
D:\m.wxs(4) : error CNDL0150 : Undefined preprocessor variable '$(var.Platform)'.
したがって、この "プラットフォーム"は組み込み変数ではありませんか?または私が間違っていた何か?