windows-wix-vs8-20060505
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 5 May 2006 16:50:21 +0000 (16:50 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 5 May 2006 16:50:21 +0000 (16:50 +0000)
Enable wix installers to build with VS8 compiler on X86

src/WINNT/install/wix/files.wxi

index ab19ec1..80dc8b6 100644 (file)
 
        <!-- Shared assembly runtime for VS 2005 -->
        <?if $(env.AFSVER_CL) = "1400"?>
-               <?ifdef env.CommonProgramFiles6432?>
-                 <?define CPF="$(env.CommonProgramFiles)"?>
-               <?else?>
-                 <?define CPF="$(env.CommonProgramFiles(x86))"?>
-               <?endif?>
+               <?if $(var.Platform) = "x64" ?>
+                   <?ifdef env.CommonProgramFiles6432?>
+                       <?define CPF="$(env.CommonProgramFiles)"?>
+                   <?else?>
+                       <?define CPF="$(env.CommonProgramFiles(x86))"?>
+                   <?endif?>
+                <?else?>
+                   <?define CPF="$(env.CommonProgramFiles)"?>
+                <?endif?>
                <?if $(var.Platform) = "x64" ?>
                        <?ifndef Debug?>
                                <Merge Id="MSVCRT8MEM" DiskId="1" Language="0" src="$(var.CPF)\Merge Modules\Microsoft_VC80_CRT_x86_x64.msm"/>