[wix-devs] Can't compile WiX with SQL Server Management Studio installed with VS 2015 [P]

Steven Ogilvie Steven.Ogilvie at titus.com
Tue Apr 12 12:48:58 PDT 2016


Classification: Public
Sigh... still get 2 errors

Windows 10
VS 2015 Update 2 and Azure etc.
SQL Server 2012 with SSMS (which is VS2010 shell)

Msbuild.rsp:
/m:1
/p:Configuration=Release
# /p:OFFICIAL_WIX_BUILD=.\wix.snk
/p:YieldDuringToolExecution=true
/clp:Verbosity=Normal
/fl
/flp:LogFile=.\Wix.log;Verbosity=Detailed
/p:DisableVS2010=1
# /p:SkipInvalidConfigurations=true
/p:WarningLevel=0
/p:IncludeServerNameInBuildInfo=true

I had to comment out OFFICIAL_WIX_BUILD since it complained I needed all the VS versions...

Calling it as:

@ECHO OFF
ECHO .
SET FrameworkVersion=
SET STARTTIME=%TIME%
call "C:\Program Files (x86)\MSBuild\14.0\Bin\msbuild.exe" wix.proj
SET ENDTIME=%TIME%
ECHO Start %STARTTIME% to Stop %ENDTIME%

Errors...

"C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\wix.proj" (default target) (1) ->
"C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\burn\burn.proj" (default target) (62) ->
"C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\libs.proj" (default target) (63) ->
"C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\libs_multitarget.proj" (default target) (64) ->
"C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\wcautil\wcautil.vcxproj" (default target) (65) ->
(PlatformPrepareForBuild target) ->
  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(55,5): error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using
the v100 build tools, please install Visual Studio 2010 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selec
ting "Retarget solution". [C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\wcautil\wcautil.vcxproj]


"C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\wix.proj" (default target) (1) ->
"C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\burn\burn.proj" (default target) (62) ->
"C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\libs.proj" (default target) (63) ->
"C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\libs_multitarget.proj" (default target) (64:2) ->
"C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\wcautil\wcautil.vcxproj" (default target) (65:3) ->
  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(55,5): error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using
the v100 build tools, please install Visual Studio 2010 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selec
ting "Retarget solution". [C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\wcautil\wcautil.vcxproj]

    22 Warning(s)
    2 Error(s)

-----Original Message-----
From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On Behalf Of John Cooper
Sent: April 12, 2016 2:53 PM
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Subject: Re: [wix-devs] Can't compile WiX with SQL Server Management Studio installed with VS 2015 [P]

I use:

@ECHO OFF
ECHO .
SET FrameworkVersion=
SET STARTTIME=%TIME%
msbuild @..\msbuild.rsp @%1 wix.proj
SET ENDTIME=%TIME%
ECHO Start %STARTTIME% to Stop %ENDTIME%

to run the build.  Adding your properties, my main msbuild.rsp contains:

/m
/p:Configuration=Release
/p:OFFICIAL_WIX_BUILD=D:\git\jha.snk
/p:YieldDuringToolExecution=true
/clp:Verbosity=Normal
/fl
/flp:LogFile=Wix.log;Verbosity=Detailed
/p:DisableVS2010=1
/p:SkipInvalidConfigurations=true
/p:WarningLevel=0
/p:IncludeServerNameInBuildInfo=true

Ran without error.

I would note that SkipInvalidConfigurations adds a lot of noise, and WarningLevel=0 doesn't suppress the main source of warning noise in SHFB.

I built against both my development branch and the WiX 3.11 branch.

--
John Merryweather Cooper
Senior Software Engineer | Integration Development Group | Enterprise Notification Service Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 |JoCooper at jackhenry.com





-----Original Message-----
From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On Behalf Of Steven Ogilvie
Sent: Tuesday, April 12, 2016 12:26 PM
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Subject: Re: [wix-devs] Can't compile WiX with SQL Server Management Studio installed with VS 2015 [P]

The e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.

Classification: Public
Sigh this is driving me nuts...

Okay here is my msbuild.rsp (all of them!)

/p:DisableVS2010=1
/p:SkipInvalidConfigurations=true
/p:WarningLevel=0
/p:IncludeServerNameInBuildInfo=true

Here is how I call msbuild:

call "C:\Program Files (x86)\MSBuild\14.0\Bin\msbuild.exe" wix.proj /m:1 /p:Configuration=Release /clp:Verbosity=Normal /fl /flp:LogFile=C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\Wix.log;Verbosity=Detailed

These are the errors:

"C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\wix.proj" (default target) (1) -> "C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\burn\burn.proj" (default target) (62) -> "C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\libs.proj" (default target) (63) -> "C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\libs_multitarget.proj" (default target) (64) -> "C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\wcautil\wcautil.vcxproj" (default target) (65) -> (PlatformPrepareForBuild target) ->
  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(55,5): error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To b uild using the v100 build tools, please install Visual Studio 2010 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the so lution, and then selecting "Retarget solution". [C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\wcautil\wcautil.vcxproj]


"C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\wix.proj" (default target) (1) -> "C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\burn\burn.proj" (default target) (62) -> "C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\libs.proj" (default target) (63) -> "C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\libs_multitarget.proj" (default target) (64:2) -> "C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\wcautil\wcautil.vcxproj" (default target) (65:3) ->
  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(55,5): error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To b uild using the v100 build tools, please install Visual Studio 2010 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the so lution, and then selecting "Retarget solution". [C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\wcautil\wcautil.vcxproj]

    22 Warning(s)
    2 Error(s)


This is the first error:

Task "VCMessage" skipped, due to false condition; ('$(_Error64bitToolsNotInstalled)' == 'true') was evaluated as ('' == 'true').
Task "VCMessage" skipped, due to false condition; ('$(DesignTimeBuild)'!='true' and '$(_ToolsetFound)' != 'true' and '$(PlatformToolset)' == 'v110') was evaluated as (''!='true' and '' != 'true' and 'v100' == 'v110').
Using "VCMessage" task from assembly "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Build.CppTasks.Common.dll".
Task "VCMessage"
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(55,5): error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, please install Visual Studio 2010 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\wcautil\wcautil.vcxproj]
Done executing task "VCMessage" -- FAILED.
Done building target "PlatformPrepareForBuild" in project "wcautil.vcxproj" -- FAILED.
Done Building Project "C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\wcautil\wcautil.vcxproj" (default targets) -- FAILED.




This message has been marked as Public by Steven Ogilvie on April 12, 2016 1:26:02 PM.
The above classification labels were added to the message by TITUS Message Classification.For More information visit www.titus.com.
-----Original Message-----
From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On Behalf Of John Cooper
Sent: April 12, 2016 12:24 PM
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Subject: Re: [wix-devs] Can't compile WiX with SQL Server Management Studio installed with VS 2015 [P]

I tested it adding it to my response file as:

/p:DisableVS2010=1

--
John Merryweather Cooper
Senior Software Engineer | Integration Development Group | Enterprise Notification Service Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 |JoCooper at jackhenry.com




-----Original Message-----
From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On Behalf Of Steven Ogilvie
Sent: Tuesday, April 12, 2016 10:54 AM
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Subject: Re: [wix-devs] Can't compile WiX with SQL Server Management Studio installed with VS 2015 [P]

The e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.

Classification: Public
Okay I have searched and can't find this property, tried running msbuild .. /p:DisableVS2010

Can you show me an example how to run this please?

Thanks,

STeve




This message has been marked as Public by Steven Ogilvie on April 12, 2016 11:53:47 AM.
The above classification labels were added to the message by TITUS Message Classification.For More information visit www.titus.com.
-----Original Message-----
From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On Behalf Of Bob Arnson
Sent: April 12, 2016 11:34 AM
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Subject: Re: [wix-devs] Can't compile WiX with SQL Server Management Studio installed with VS 2015

You can disable VS2010 detection by passing in the DisableVS2010 property.

> -----Original Message-----
> From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On 
> Behalf Of Steve Ogilvie
> Sent: Tuesday, 12 April, 2016 11:22
> To: WiX Dev User List <wix-devs at lists.wixtoolset.org>
> Subject: [wix-devs] Can't compile WiX with SQL Server Management 
> Studio installed with VS 2015
> 
> Hey all,
> There is a compile issue with WiX and having a Visual Studio that is 
> not 2010 with SQL Server Management Studio...
> I have:
> WiX 3.10.2Visual Studio 2015 Update 2SQL Server 2012 (same issue with
> 2014) with Management Studio (which uses a Visual Studio 2010 Shell) 
> (This is not SQL
> Express) I compile using: call "C:\Program Files 
> (x86)\MSBuild\14.0\Bin\msbuild.exe" wix.proj /m:1 
> /p:Configuration=Release /clp:Verbosity=Normal /fl 
> /flp:LogFile=C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\Wix.log;Verbo
> s
> ity=Detailed
> Try to compile and I get these errors:
> C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\wix.proj" (default target)
> (1) ->"C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\burn\burn.proj"
> (default target) (62) -
> >"C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\libs.proj"
> (default target) (63) -
> >"C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\libs_multitarget.
> proj" (default target) (64) -
> >"C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\wcautil\wcautil
> >.v
> cxproj" (default target) (65) ->(PlatformPrepareForBuild target) -> 
> C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(5
> 5,5)
> : error MSB8020: The build tools for Visual Studio 2010 (Platform 
> Toolset =
> 'v100') cannot be found. To build using the v100 build tools, 
> pleaseinstall Visual Studio 2010 build tools.  Alternatively, you may 
> upgrade to the current Visual Studio tools by selecting the Project 
> menu or right-click the solution, and then selecting "Retarget solution".
> [C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs
>  \wcautil\wcautil.vcxproj]
> 
> "C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\wix.proj" (default
> target)
> (1) ->"C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\burn\burn.proj"
> (default target) (62) -
> >"C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\libs.proj"
> (default target) (63) -
> >"C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\libs_multitarget.
> proj" (default target) (64:2) -
> >"C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\wcautil\wcautil
> >.v
> cxproj" (default target) (65:3) ->  C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(5
> 5,5)
> : error MSB8020: The build tools for Visual Studio 2010 (Platform 
> Toolset =
> 'v100') cannot be found. To build using the v100 build tools, 
> pleaseinstall Visual Studio 2010 build tools.  Alternatively, you may 
> upgrade to the current Visual Studio tools by selecting the Project 
> menu or right-click the solution, and then selecting "Retarget solution".
> [C:\Dev\SetupCommon\Main\WIX_ToolSet_v3.10.2\src\libs\wcautil\wcautil.
> vc
> xproj]
>     22 Warning(s)    2 Error(s)    If I uninstall "Microsoft Visual Studio 2010 Shell"
> and try to compile all works...
> I need the SQL Server Management Studio installed...
> Can this be fixed for future releases?
> Thanks,
> Steve
> _____________________________________________________________
> _______
> WiX Toolset Developer Mailing List provided by FireGiant 
> http://www.firegiant.com/
____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/ ____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/

NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies.

____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/ ____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/

NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies.

____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/



This message has been marked as Public by Steven Ogilvie on April 12, 2016 3:48:57 PM.
The above classification labels were added to the message by TITUS Message Classification.For More information visit www.titus.com.


More information about the wix-devs mailing list