[wix-devs] wix3 solution setup

Sean Hall r.sean.hall at gmail.com
Tue Dec 19 12:09:36 PST 2017


We build the C++ projects with support for XP. The last Windows SDK to
support XP was 7.1A, so I'm pretty sure that you're required to install
this SDK to build WiX. You can install this in VS2017 if you go into the
section of the installer with all the individual components and select
"Windows XP support for C++" under "Compilers, build tools, and runtimes".

On Tue, Dec 19, 2017 at 1:59 PM, Joseph L. Casale via wix-devs <
wix-devs at lists.wixtoolset.org> wrote:

> -----Original Message-----
> From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On Behalf Of
> Bob Arnson via wix-devs
> Sent: Tuesday, December 19, 2017 10:31 AM
> To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
> Cc: Bob Arnson <bob at firegiant.com>
> Subject: Re: [wix-devs] wix3 solution setup
>
> > The WiX props files are looking for the version of the Windows 7 SDK
> > included with older versions of Visual Studio.
> >
> > Likewise, WiX doesn't know about the newer Windows SDKs in VS2017;
> > VS2017 always defaults to the latest Windows SDK and the WiX props don't
> > try to look them all up. You can install the older version it knows
> about or the
> > 8.1 SDK, both of which are options in the C++ desktop workload.
>
> Ok, greatly appreciated as that simplified a lot, however after installing
> the 8.1
> SDK from the VS installer, it appears it still cannot locate it, I see a
> missing header:
>
>
> C:\scm\wix3>"C:\Program Files (x86)\Microsoft Visual
> Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe" src\Wix.sln
> Microsoft (R) Build Engine version 15.5.180.51428 for .NET Framework
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> Building the projects in this solution one at a time. To enable parallel
> build, please add the "/m" switch.
> Build started 12/19/2017 12:55:27 PM.
> Project "C:\scm\wix3\src\Wix.sln" on node 1 (default targets).
> ValidateSolutionConfiguration:
>   Building solution configuration "Debug|x86".
> Project "C:\scm\wix3\src\Wix.sln" (1) is building
> "C:\scm\wix3\src\tools\wix\Wix.csproj.metaproj" (2) on node 1 (default
> targets).
> Project "C:\scm\wix3\src\tools\wix\Wix.csproj.metaproj" (2) is building
> "C:\scm\wix3\src\DTF\Libraries\WindowsInstaller\WindowsInstaller.csproj"
> (3) on node 1 (default targets).
> CoreCompile:
> Skipping target "CoreCompile" because all output files are up-to-date with
> respect to the input files.
> CopyFilesToOutputDirectory:
>   WindowsInstaller -> C:\scm\wix3\build\debug\x86\Microsoft.Deployment.
> WindowsInstaller.dll
> CopyToOutputSubDirectory:
> Skipping target "CopyToOutputSubDirectory" because it has no outputs.
> Done Building Project "C:\scm\wix3\src\DTF\Libraries\WindowsInstaller\WindowsInstaller.csproj"
> (default targets).
>
> Project "C:\scm\wix3\src\tools\wix\Wix.csproj.metaproj" (2) is building
> "C:\scm\wix3\src\tools\wix\Wix.csproj" (4) on node 1 (default targets).
> Project "C:\scm\wix3\src\tools\wix\Wix.csproj" (4) is building
> "C:\scm\wix3\src\tools\winterop\winterop.vcxproj" (6) on node 1 (default
> targets).
> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\
> IDE\VC\VCTargets\Platforms\Win32\PlatformToolsets\v141_xp\Toolset.targets(36,5):
> warning MSB8003: Could not find WindowsSdkDir_71A variable from the
> registry.  TargetFrameworkVersion or PlatformToolset may be set to an
> invalid version number. [C:\scm\wix3\src\tools\winterop\winterop.vcxproj]
> GenerateWixInclude:
> Skipping target "GenerateWixInclude" because it has no outputs.
> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\
> IDE\VC\VCTargets\Microsoft.CppBuild.targets(371,5): warning MSB8003:
> Could not find WindowsSDKDir variable from the registry.
> TargetFrameworkVersion or PlatformToolset may be set to an invalid version
> number. [C:\scm\wix3\src\tools\winterop\winterop.vcxproj]
> InitializeBuildStatus:
>   Touching "C:\scm\wix3\build\obj\debug\x86\winterop\winterop.tlog\
> unsuccessfulbuild".
> ClCompile:
>   C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\
> Tools\MSVC\14.12.25827\bin\HostX86\x86\CL.exe /c /IC:\scm\wix3\build\obj\version\
> /IC:\scm\wix3\src\tools\winterop\inc /IC:\scm\wix3\src\too
>   ls\winterop /IC:\scm\wix3\build\obj\debug\x86\winterop\ /I\include\
> /IC:\scm\wix3\src\libs\dutil\inc /Zi /nologo /W4 /WX /diagnostics:classic
> /MP /Od /Oy- /D _DEBUG /D DEBUG /D WIN32 /D _WINDOWS /D _WIN32_
>   MSI=500 /D _WIN32_WINNT=0x0501 /D _CRT_STDIO_LEGACY_WIDE_SPECIFIERS /D
> _USING_V110_SDK71_ /D _WINDLL /Gm- /RTC1 /MTd /GS /arch:IA32 /fp:precise
> /Zc:wchar_t /Zc:forScope /Zc:inline /Yc"precomp.h" /Fp"C:\scm
>   \wix3\build\obj\debug\x86\winterop\winterop.pch"
> /Fo"C:\scm\wix3\build\obj\debug\x86\winterop\\" /Fd"C:\scm\wix3\build\obj\debug\x86\winterop\vc141.pdb"
> /Gz /TP /wd4091 /wd4458 /analyze- /errorReport:queue
>    /Zc:threadSafeInit- -YlprecompDefine C:\scm\wix3\src\common\precomp.cpp
>   precomp.cpp
> C:\scm\wix3\src\tools\winterop\precomp.h(5): fatal error C1083: Cannot
> open include file: 'windows.h': No such file or directory
> [C:\scm\wix3\src\tools\winterop\winterop.vcxproj]
> Done Building Project "C:\scm\wix3\src\tools\winterop\winterop.vcxproj"
> (default targets) -- FAILED.
>
> Done Building Project "C:\scm\wix3\src\tools\wix\Wix.csproj" (default
> targets) -- FAILED.
>
> Done Building Project "C:\scm\wix3\src\tools\wix\Wix.csproj.metaproj"
> (default targets) -- FAILED.
>
> Done Building Project "C:\scm\wix3\src\Wix.sln" (default targets) --
> FAILED.
>
>
> Build FAILED.
>
> "C:\scm\wix3\src\Wix.sln" (default target) (1) ->
> "C:\scm\wix3\src\tools\wix\Wix.csproj.metaproj" (default target) (2) ->
> "C:\scm\wix3\src\tools\wix\Wix.csproj" (default target) (4) ->
> "C:\scm\wix3\src\tools\winterop\winterop.vcxproj" (default target) (6) ->
> (CheckWindowsSDK71A target) ->
>   C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\
> IDE\VC\VCTargets\Platforms\Win32\PlatformToolsets\v141_xp\Toolset.targets(36,5):
> warning MSB8003: Could not find WindowsSdkDir_71A vari
> able from the registry.  TargetFrameworkVersion or PlatformToolset may be
> set to an invalid version number. [C:\scm\wix3\src\tools\
> winterop\winterop.vcxproj]
>
>
> "C:\scm\wix3\src\Wix.sln" (default target) (1) ->
> "C:\scm\wix3\src\tools\wix\Wix.csproj.metaproj" (default target) (2) ->
> "C:\scm\wix3\src\tools\wix\Wix.csproj" (default target) (4) ->
> "C:\scm\wix3\src\tools\winterop\winterop.vcxproj" (default target) (6) ->
> (PrepareForBuild target) ->
>   C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\
> IDE\VC\VCTargets\Microsoft.CppBuild.targets(371,5): warning MSB8003:
> Could not find WindowsSDKDir variable from the registry.  TargetFr
> ameworkVersion or PlatformToolset may be set to an invalid version number.
> [C:\scm\wix3\src\tools\winterop\winterop.vcxproj]
>
>
> "C:\scm\wix3\src\Wix.sln" (default target) (1) ->
> "C:\scm\wix3\src\tools\wix\Wix.csproj.metaproj" (default target) (2) ->
> "C:\scm\wix3\src\tools\wix\Wix.csproj" (default target) (4) ->
> "C:\scm\wix3\src\tools\winterop\winterop.vcxproj" (default target) (6) ->
> (ClCompile target) ->
>   C:\scm\wix3\src\tools\winterop\precomp.h(5): fatal error C1083: Cannot
> open include file: 'windows.h': No such file or directory
> [C:\scm\wix3\src\tools\winterop\winterop.vcxproj]
>
>     2 Warning(s)
>     1 Error(s)
>
> Time Elapsed 00:00:03.62
> ____________________________________________________________________
> WiX Toolset Developer Mailing List provided by FireGiant
> http://www.firegiant.com/
>


More information about the wix-devs mailing list