diff options
| author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-04-12 03:24:37 +0200 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-04-12 03:31:21 +0200 |
| commit | 7d50947ca464d4cbad135919385cde86fd2c4d69 (patch) | |
| tree | 43d4a12255e703bdf25bf773e9852401248d46b5 /tests/data/wixl | |
| parent | b69a90b060eea355ae5a35f0a0f9eb0d32c1d3af (diff) | |
| download | msitools-7d50947ca464d4cbad135919385cde86fd2c4d69.tar.gz msitools-7d50947ca464d4cbad135919385cde86fd2c4d69.tar.xz msitools-7d50947ca464d4cbad135919385cde86fd2c4d69.zip | |
preprocessor: add condition evaluator
Diffstat (limited to 'tests/data/wixl')
| -rw-r--r-- | tests/data/wixl/arch-condition.wxs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/data/wixl/arch-condition.wxs b/tests/data/wixl/arch-condition.wxs new file mode 100644 index 0000000..c870003 --- /dev/null +++ b/tests/data/wixl/arch-condition.wxs @@ -0,0 +1,13 @@ +<?xml version='1.0' encoding='windows-1252'?> +<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> + <?if $(var.Arch) = x64 ?> + <?define ArchString = "(64 bit)" ?> + <?define Win64 = "yes" ?> + <?define ProgramFilesFolder = "ProgramFiles64Folder" ?> + <?else ?> + <?define ArchString = "" ?> + <?define Win64 = "no" ?> + <?define ProgramFilesFolder = "ProgramFilesFolder" ?> + <?endif ?> + <?warning $(var.Win64)?> +</Wix> |
