[wix-devs] wix3 build errors

Blair Murri osito at live.com
Fri Jan 4 18:53:10 PST 2019


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/



More information about the wix-devs mailing list