[wix-devs] wix3 build errors

Christopher Painter chrpai at iswix.com
Fri Jan 4 19:13:47 PST 2019


You are also going to need  VS 2010 SDK SP1 to build Votive if you choose to build everything all the way through.  As Rob said,  most people here don't seem to see the need for  regular developers to build everything all the way through.   It's the only way that I roll though.  I always want to reproduce a good build before making any changes and I like to be able to build it again when I'm done so I can do a proper end to end integration test.

These lists were on nabble back in the day. They moved to  lists.wixtoolset.org back in July 2015.

________________________________
From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> on behalf of David Ing via wix-devs <wix-devs at lists.wixtoolset.org>
Sent: Friday, January 4, 2019 9:01 PM
To: WiX Toolset Developer Mailing List
Cc: David Ing
Subject: Re: [wix-devs] wix3 build errors

Thanks for all your suggestions.

I had built `OneTimeWixBuidInitialization.proj` from an elevated prompt
prior to sending the email.

Threading wasn't the issue because I still had the error upon running
`msbuild wix.proj -maxcpucount:1`.

Christopher Painter pasted some YML which unfortunately was garbled
(newlines were removed), but I was able to determine some command-line
arguments to add to my call.

msbuild wix.proj -maxcpucount:1 /p:RunWixToolsOutOfProc=true
/p:StopOnFirstFailure=true /p:OFFICIAL_WIX_BUILD=C:\wixsn\wix.snk


This produced a new build error which stated that I must install VS 2010,
2012, 2013, 2015, and 2017 (also per Christopher's suggestion).  I am still
installing the versions that I did not have beforehand (2010, 2012, 2013)
so I can try again.  I will post an update when I learn more.

BTW ... you all should consider switching this email list over to nabble
... The gstreamer group switched 6 months ago (
http://gstreamer-devel.966125.n4.nabble.com/) and it is SOOOOOOO nice.  I
GStreamer-devel | Mailing List Archive<http://gstreamer-devel.966125.n4.nabble.com/>
gstreamer-devel.966125.n4.nabble.com
GStreamer-devel forum and mailing list archive. GStreamer mailing list, where development discussions occur. Ask here if you have problems with GStreamer. Please submit patches and report bugs in...



think it is free.

On Fri, Jan 4, 2019 at 6:53 PM Blair Murri via wix-devs <
wix-devs at lists.wixtoolset.org> wrote:

> And OneTimeWixBuidInitialization.proj needs to be built elevated. Nothing
> else requires elevation, for interactive login sessions
>
> Get Outlook for Android<https://aka.ms/ghei36>
>
> ________________________________
> From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> on behalf of Rob
> Mensching via wix-devs <wix-devs at lists.wixtoolset.org>
> Sent: Friday, January 4, 2019 3:56:04 PM
> To: WiX Toolset Developer Mailing List
> Cc: Rob Mensching
> Subject: Re: [wix-devs] wix3 build errors
>
> OneTimeWixBuidInitialization.proj is necessary (as documented) but you
> don't need the full VS matrix unless you want to do an official build,
> which isn't necessary in most developer scenarios.
>
>
> -----Original Message-----
> From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> On Behalf Of
> Christopher Painter via wix-devs
> Sent: Friday, January 4, 2019 3:24 PM
> To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
> Cc: Christopher Painter <chrpai at iswix.com>
> Subject: Re: [wix-devs] wix3 build errors
>
> You need to run the OneTimeWixBuildInitialization.proj build once. You'll
> also need a very long list of stuff installed to build everything from end
> to end. It's something like VS2010, 2012, 2013, 2015 and 2017.
>
>
> Here's the Azure DevOps pipeline YAML that builds WiX3.
>
>
> resources: - repo: self clean: true queue: name: Default demands: msbuild
> steps: - task: MSBuild at 1 displayName: 'Build solution
> tools/OneTimeWixBuildInitialization.proj' inputs: solution:
> tools/OneTimeWixBuildInitialization.proj - task: MSBuild at 1 displayName:
> 'Build solution wix.proj' inputs: solution: wix.proj msbuildVersion: 15.0
> configuration: Release msbuildArguments: '/p:RunWixToolsOutOfProc=true
> /p:StopOnFirstFailure=true /p:OFFICIAL_WIX_BUILD=C:\wixsn\wix.snk
> /p:VS2017Path="C:\Program Files (x86)\Microsoft Visual
> Studio\2017\Professional\Common7\IDE"' - task: CopyFiles at 2 displayName:
> 'Copy Files to: $(build.artifactstagingdirectory)' inputs: SourceFolder:
> '$(system.defaultworkingdirectory)' Contents: 'build\ship\x86\wix3*.exe'
> TargetFolder: '$(build.artifactstagingdirectory)' flattenFolders: true -
> task: PublishBuildArtifacts at 1 displayName: 'Publish Artifact: drop'
> inputs: PathtoPublish: '$(build.artifactstagingdirectory)'
>
>
> ________________________________
> From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> on behalf of David
> Ing via wix-devs <wix-devs at lists.wixtoolset.org>
> Sent: Friday, January 4, 2019 5:11 PM
> To: wix-devs at lists.wixtoolset.org
> Cc: David Ing
> Subject: [wix-devs] wix3 build errors
>
> I am new to wix3 and I am having a problem building with msbuild from my VS
> 2017 Developer command prompt.  Please help me get past the build error.
>
> I tried searching the archive for this mailing list and there is some kind
> of ht://Dig error ... so I apologize if this question has already been
> answered.
>
> To build I cloned wix3  `git clone https://github.com/wixtoolset/wix3.git
> [https://avatars1.githubusercontent.com/u/4491243?s=400&v=4]<
> https://github.com/wixtoolset/wix3.git>
>
> wixtoolset/wix3<https://github.com/wixtoolset/wix3.git>
> github.com
> WiX Toolset v3.x. Contribute to wixtoolset/wix3 development by creating an
> account on GitHub.
>
>
>
> -b wix3111` and then I executed `msbuild wix.proj`.
>
> Here is the bottom of my build output which sumarizes the build failures.
>
> --------------------------------------------
> Done Building Project
> "c:\dev\github\wixtoolset\wix3\test\src\WixTests\WixTests.csproj" (default
> targets) -- FAILED.
>
> Done Building Project
> "c:\dev\github\wixtoolset\wix3\test\src\WixTests\WixTests.csproj" (default
> targets) -- FAILED.
>
> Done Building Project "c:\dev\github\wixtoolset\wix3\test\test.proj"
> (default targets) -- FAILED.
>
> Done Building Project "c:\dev\github\wixtoolset\wix3\wix.proj" (default
> targets) -- FAILED.
>
>
> Build FAILED.
>
> "c:\dev\github\wixtoolset\wix3\wix.proj" (default target) (1) ->
> "c:\dev\github\wixtoolset\wix3\test\test.proj" (default target) (163) ->
> "c:\dev\github\wixtoolset\wix3\test\src\WixTests\WixTests.csproj" (default
> target) (170) ->
> (ResolveComReferences target) ->
>   C:\Program Files (x86)\Microsoft Visual
>
> Studio\2017\Professional\MSBuild\15.0\bin\Microsoft.Common.CurrentVersion.targets(2729,5):
> warning MSB3290: Failed to create the wrapper assembly for type library
> "IWshRuntimeLibrary". Access is denied. (Exception from HRESULT: 0x80070005
> (E_ACCESSDENIED))
> [c:\dev\github\wixtoolset\wix3\test\src\WixTests\WixTests.csproj]
>
>
> "c:\dev\github\wixtoolset\wix3\wix.proj" (default target) (1) ->
> "c:\dev\github\wixtoolset\wix3\src\setup\setup.proj" (default target) (152)
> ->
> "c:\dev\github\wixtoolset\wix3\src\setup\Bundle\Bundle.wixproj" (default
> target) (153) ->
> "c:\dev\github\wixtoolset\wix3\src\setup\CoreMsi\CoreMsi.wixproj" (default
> target) (154) ->
> (Link target) ->
>   c:\dev\github\wixtoolset\wix3\src\setup\CoreMsi\Extensions.wxs(26): error
> LGHT0103: The system cannot find the file
> '!(bindpath.x86)\difxapp_x86.wixlib'.
> [c:\dev\github\wixtoolset\wix3\src\setup\CoreMsi\CoreMsi.wixproj]
>   c:\dev\github\wixtoolset\wix3\src\setup\CoreMsi\Extensions.wxs(27): error
> LGHT0103: The system cannot find the file
> '!(bindpath.x64)\difxapp_x64.wixlib'.
> [c:\dev\github\wixtoolset\wix3\src\setup\CoreMsi\CoreMsi.wixproj]
>
>
> "c:\dev\github\wixtoolset\wix3\wix.proj" (default target) (1) ->
> "c:\dev\github\wixtoolset\wix3\test\test.proj" (default target) (163) ->
> "c:\dev\github\wixtoolset\wix3\test\src\UnitTests\Burn\BurnUnitTest.vcxproj"
> (default target) (165) ->
>   LINK : fatal error LNK1256: ALINK operation failed (80040436) : Error
> signing assembly -- Access is denied.
>
> [c:\dev\github\wixtoolset\wix3\test\src\UnitTests\Burn\BurnUnitTest.vcxproj]
>
>
> "c:\dev\github\wixtoolset\wix3\wix.proj" (default target) (1) ->
> "c:\dev\github\wixtoolset\wix3\test\test.proj" (default target) (163) ->
> "c:\dev\github\wixtoolset\wix3\test\src\UnitTests\dutil\DUtilUnitTest.vcxproj"
> (default target) (167) ->
>   LINK : fatal error LNK1256: ALINK operation failed (80040436) : Error
> signing assembly -- Access is denied.
>
> [c:\dev\github\wixtoolset\wix3\test\src\UnitTests\dutil\DUtilUnitTest.vcxproj]
>
>
> "c:\dev\github\wixtoolset\wix3\wix.proj" (default target) (1) ->
> "c:\dev\github\wixtoolset\wix3\test\test.proj" (default target) (163) ->
> "c:\dev\github\wixtoolset\wix3\test\src\WixTests\WixTests.csproj" (default
> target) (170) ->
> (CoreCompile target) ->
>
> Extensions\UtilExtension\UtilExtension.WixInternetShortcutTests.cs(11,11):
> error CS0246: The type or namespace name 'IWshRuntimeLibrary' could not be
> found (are you missing a using directive or an assembly reference?)
> [c:\dev\github\wixtoolset\wix3\test\src\WixTests\WixTests.csproj]
>
>     1 Warning(s)
>     5 Error(s)
>
> Time Elapsed 00:03:15.38
> --------------------------------------------
> ____________________________________________________________________
> 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/
> ____________________________________________________________________
> WiX Toolset Developer Mailing List provided by FireGiant
> http://www.firegiant.com/
>
____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-devs mailing list