[wix-users] Wix 3.8 Install dependency issue

John Cooper JoCooper at jackhenry.com
Wed Jun 29 08:27:32 PDT 2016


References to wixprojs generally have to be wixlibs or WiX Extension DLLs.  Code DLL's are not in general appropriate references for wixprojs.

There are a number of ways of handling it by using binding paths or votive macros or even hard-coded relative paths.  But adding a code reference is not doing what you intend.

--
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-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Groenlund, Alexander (GE Healthcare, consultant)
Sent: Wednesday, June 29, 2016 10:17 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Wix 3.8 Install dependency issue

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

Ehh.. I was not the one who put it there, it came automatically when adding the dll to the referenced project that needed it.
I thought it was generated ? Where do I modify it?

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of John Cooper
Sent: den 29 juni 2016 17:04
To: WiX Toolset Users Mailing List
Subject: EXT: Re: [wix-users] Wix 3.8 Install dependency issue

This:-ext "C:\Program Files (x86)\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\Microsoft.Expression.Drawing.dll"is not a legal WiX Extension.  Remove it.  We use Microsoft.Expression.Drawing.dll in some of our products, but it is a product code dependency and not a WiX dependency.--John Merryweather CooperSenior Software Engineer | Integration Development Group | Enterprise Notification ServiceJack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 |JoCooper at jackhenry.com-----Original Message-----From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Groenlund, Alexander (GE Healthcare, consultant)Sent: Wednesday, June 29, 2016 10:00 AMTo: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>Subject: Re: [wix-users] Wix 3.8 Install dependency issueThe e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.Hi,This is the full candle path from the log.C:\Program Files (x86)\WiX Toolset v3.8\bin\candle.exe -v 	-d"DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\\" 	-dSolutionDir=<Anonymized>	-dSolutionExt=.sln 	-d"SolutionFileName=<Anonymized>" 	-d"SolutionName=<Anonymized>" 	-d"SolutionPath=<Anonymized>	-dConfiguration=Release 	-dOutDir=bin\Release\ 	-dPlatform=x86 	-dProjectDir=<Anonymized>	-dProjectExt=.wixproj 	-dProjectFileName=<Anonymized>	-dProjectName=<Anonymized>	-dProjectPath=<Anonymized>	-dTargetDir=<Anonymized>	-dTargetExt=.msi 	-dTargetFileName=<Anonymized>	-dTargetName=<Anonymized> 	-dTargetPath=<Anonymized>	-d<Anonymized>.Configuration=BuildServer 	-d"<Anonymized>.FullConfiguration=BuildServer|AnyCPU" 	-d<Anonymized>.Platform=AnyCPU 	-d<Anonymized>.ProjectDir=<Anonymized>	-d<Anonymized>.ProjectExt=.csproj 	-d<Anonymized>.ProjectFileName=<Anonymized>	-d<Anonymized>.ProjectName=<Anonymized>	-d<Anonymized>.ProjectPath=<Anonymized>	-d<Anonymized>.TargetDir=<Anonymized>	-d<Anonymized>.TargetExt=.exe 	-d<Anonymized>.TargetFileName=<Anonymized>	-d<Anonymized>.TargetName=<Anonymized>	-d<Anonymized>.TargetPath=<Anonymized>	-d<Anonymized>.ClientLibraryrary.Configuration=BuildServer 	-d"<Anonymized>.ClientLibraryrary.FullConfiguration=BuildServer|AnyCPU" 	-d<Anonymized>.ClientLibrary.Platform=AnyCPU 	-d<Anonymized>.ClientLibrary.ProjectDir=<Anonymized>	-d<Anonymized>.ClientLibrary.ProjectExt=.csproj 	-d<Anonymized>.ClientLibrary.ProjectFileName=<Anonymized>	-d<Anonymized>.ClientLibrary.ProjectName=<Anonymized>	-d<Anonymized>.ClientLibrary.ProjectPath=<Anonymized>	-d<Anonymized>.ClientLibrary.TargetDir=<Anonymized>	-d<Anonymized>.ClientLibrary.TargetExt=.dll 	-d<Anonymized>.ClientLibrary.TargetFileName=<Anonymized>	-d<Anonymized>.ClientLibrary.TargetName=<Anonymized>	-d<Anonymized>.ClientLibrary.TargetPath=<Anonymized>	-d<Anonymized>.Configuration=BuildServer 	-d"<Anonymized>.FullConfiguration=BuildServer|AnyCPU" 	-d<Anonymized>.Platform=AnyCPU 	-d<Anonymized>.ProjectDir=<Anonymized>	-d<Anonymized>.ProjectExt=.csproj 	-d<Anonymized>.ProjectFileName=<Anonymized>	-d<Anonymized>.ProjectName=<Anonymized>	-d<Anonymized>.ProjectPath=<Anonymized>	-d<Anonymized>.TargetDir=<Anonymized>	-d<Anonymized>.TargetExt=.dll 	-d<Anonymized>.TargetFileName=<Anonymized>	-d<Anonymized>.TargetName=<Anonymized>	-d<Anonymized>.TargetPath=<Path to internal built dll, this is the one referencing Microsoft.Expression.Drawing.dll>	-out obj\Release\ 	-arch x86 	-ext "C:\Program Files (x86)\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\Microsoft.Expression.Drawing.dll" 	-ext "C:\Program Files (x86)\WiX Toolset v3.8\bin\\WixIIsExtension.dll" 	-ext "C:\Program Files (x86)\WiX Toolset v3.8\bin\\WixUtilExtension.dll" 	-ext "C:\Program Files (x86)\WiX Toolset v3.8\bin\\WixSqlExtension.dll" 	-ext "C:\Program Files (x86)\WiX Toolset v3.8\bin\\WixUIExtension.dll" Product.wxs-----Original Message-----From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of John CooperSent: den 29 juni 2016 16:28To: WiX Toolset Users Mailing ListSubject: EXT: Re: [wix-users] Wix 3.8 Install dependency issueWhat is the full command line being passed to candle.exe from the log?--John Merryweather CooperSenior Software Engineer | Integration Development Group | Enterprise Notification ServiceJack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 |JoCooper at jackhenry.com-----Original Message-----From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Groenlund, Alexander (GE Healthcare, consultant)Sent: Wednesday, June 29, 2016 9:24 AMTo: wix-users at lists.wixtoolset.orgSubject: [wix-users] Wix 3.8 Install dependency issueThe e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.Hi,I have been having problem for a while and this seems to be my last resort.I am working on an application that has always been deployed using Wix 3.8, recently I added a dependency from Blend called Microsoft.Expression.Drawing.dll .It does seem like the wix build notices this as I’m getting the following error19>candle.exe(0,0): error CNDL0307: Either 'Microsoft.Tools.WindowsInstallerXml.AssemblyDefaultWixExtensionAttribute' was not defined in the assembly or the type defined in extension 'C:\Program Files (x86)\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\Microsoft.Expression.Drawing.dll' could not be loaded.The only solution I found online was the following entry<File Id="Microsoft.Expression.Drawing.dll"Name="Microsoft.Expression.Drawing.dll"Source="<Path to dependency directory>\Microsoft.Expression.Drawing.dll" />I added this to my Product.wxs where all the other dependencies are defined.But even then, the error message remains.Please advise/Alex ٩(͡๏̯͡๏)۶____________________________________________________________________WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=CwIGaQ&c=IV_clAzoPDE253xZdHuilRgztyh_RiV3wUrLrDQYWSI&r=SX61FmaxdQtZ7eMnsroHH376bC7a7Btn-l1BwafY8gk&m=pFOcLZN9DDMQxTeWwCH32TMXPWvoQENI5eKHkuZhyZQ&s=ViYNdsCYITOy2BDRS-cwRADrUEURjwVxbeayArACMnE&e= 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 Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=CwIGaQ&c=IV_clAzoPDE253xZdHuilRgztyh_RiV3wUrLrDQYWSI&r=SX61FmaxdQtZ7eMnsroHH376bC7a7Btn-l1BwafY8gk&m=pFOcLZN9DDMQxTeWwCH32TMXPWvoQENI5eKHkuZhyZQ&s=ViYNdsCYITOy2BDRS-cwRADrUEURjwVxbeayArACMnE&e= ____________________________________________________________________WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=CwIGaQ&c=IV_clAzoPDE253xZdHuilRgztyh_RiV3wUrLrDQYWSI&r=SX61FmaxdQtZ7eMnsroHH376bC7a7Btn-l1BwafY8gk&m=cLA-xF_OS7Nz3BdOvVpJCEMVwLBeX-GSONiLGH4w9to&s=HusiH2QQX1uYnZGz9ucVKJHmylBCR8DQ8UMfdTfOhwM&e= 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 Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=CwIGaQ&c=IV_clAzoPDE253xZdHuilRgztyh_RiV3wUrLrDQYWSI&r=SX61FmaxdQtZ7eMnsroHH376bC7a7Btn-l1BwafY8gk&m=cLA-xF_OS7Nz3BdOvVpJCEMVwLBeX-GSONiLGH4w9to&s=HusiH2QQX1uYnZGz9ucVKJHmylBCR8DQ8UMfdTfOhwM&e= 

____________________________________________________________________
WiX Toolset Users 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.


More information about the wix-users mailing list