>From that same project, a built copy of the extension appears to be in the tree (see http://code.google.com/p/ossbuild/source/browse/trunk/Shared/WiX/OSSBuildExt ensions.dll)
You'll need to use the link at the lower-right side called "View raw file". If you download the dll via the web browser you'll need to "unblock" the dll before use (see http://blogs.msdn.com/b/brada/archive/2009/12/11/visual-studio-project-sampl e-loading-error-assembly-could-not-be-loaded-and-will-be-ignored-could-not-l oad-file-or-assembly-or-one-of-its-dependencies-operation-is-not-supported-e xception-from-hresult-0x80131515.aspx for an illustration). This is not Wesley's error. However, I did that and ran it by itself with candle against an arbitrary .wxs file I had lying around and it loaded just fine (I didn't get Wesley's error or any other). I used 3.5.2325.0. I suddenly realized that I hadn't upgraded my WiX build, so I downloaded and updated to 3.5.2430.0 and got the same result as before (no error). The source code for that extension appears to build from an SLN file at the same location of the source tree where I found the dll (http://code.google.com/p/ossbuild/source/browse/trunk/Shared/WiX/). I didn't see anything obvious in their code or in the WiX code that would have caused this particular error. Blair -----Original Message----- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Friday, January 14, 2011 6:16 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Collateral learning Opportunity It's possible we broke backwards compatibility for extensions somewhere during WiX v3.5. Is there an easy way for me to get the OSSBuildExtensions.dll? On Thu, Jan 13, 2011 at 5:58 AM, Wesley J. Miller <wmil...@sdr.com> wrote: > I have been made aware of WIX by virtue of trying to use OSSBUILDS to build > gstreamer for Windows. I followed the instructions at > http://code.google.com/p/ossbuild/source/browse/trunk/ReadMe.txt#, which > apparently worded for the gstreamer build team and for others who have > followed them. > > The ultimate question, of course, is how do I fix this? > > Now for the details :) > > My environment: > Microsoft Visual Studio 2008 > Version 9.0.21022.8 RTM > Installed Edition: Professional > Microsoft Visual C++ 2008 91605-270-9322831-60449 > Windows Installer XML Toolset 3.5 > Windows Installer XML Toolset 3.5.2430.0 > VMDebugger > > In particular, the readme gave this instruction: > > (Download and install) Windows Installer XML (WiX) 3.5 or later (e.g. > http://wix.sourceforge.net/releases/3.5.2222.0/Wix35.msi) > > Apparently version 3.5.2222 no longer (never?) exists, so I downloaded > 3.5.2430 and got the owner of the readme.txt to update it. > > Now, after completing all the other build prep and actual build steps, I > still have 30 remaining errors all of which are CNDL0307 errors and look > similar to this: > > 10>------ Build started: Project: Plugins-Farsight2, Configuration: Release > x86 ------ > > 10> C:\Program Files (x86)\Windows Installer XML v3.5\bin\candle.exe > -sw1101 -sw1102 -dTOP=..\..\..\..\..\..\..\ -dAppRoot=..\..\..\..\ > -dInstallRoot=..\..\..\ -d"DevEnvDir=C:\Program Files (x86)\Microsoft Visual > Studio 9.0\Common7\IDE\\" > -dSolutionDir=S:\Software\gstreamer\ossbuild-read-only\ -dSolutionExt=.sln > -dSolutionFileName=GStreamer.sln -dSolutionName=GStreamer > -dSolutionPath=S:\Software\gstreamer\ossbuild-read-only\GStreamer.sln > -dConfiguration=Release > -d"OutDir=..\..\..\..\..\..\..\Deployment\GStreamer\Windows\x86\Merge > Modules\\" -dPlatform=x86 > -d"ProjectDir=S:\Software\gstreamer\ossbuild-read-only\Main\GStreamer\Window s\Install\Merge > Modules\Plugins\Farsight2\\" -dProjectExt=.wixproj > -dProjectFileName=Plugins-Farsight2.wixproj -dProjectName=Plugins-Farsight2 > -d"ProjectPath=S:\Software\gstreamer\ossbuild-read-only\Main\GStreamer\Windo ws\Install\Merge > Modules\Plugins\Farsight2\Plugins-Farsight2.wixproj" > -d"TargetDir=S:\Software\gstreamer\ossbuild-read-only\Deployment\GStreamer\W indows\x86\Merge > Modules\\" -dTargetExt=.msm > -dTargetFileName=x86-OSSBuild-GStreamer-Plugins-Farsight2.msm > -dTargetName=x86-OSSBuild-GStreamer-Plugins-Farsight2 > -d"TargetPath=S:\Software\gstreamer\ossbuild-read-only\Deployment\GStreamer\ Windows\x86\Merge > Modules\x86-OSSBuild-GStreamer-Plugins-Farsight2.msm" > -dPlugins-Farsight.Configuration=Release > -d"Plugins-Farsight.FullConfiguration=Release|x86" > -dPlugins-Farsight.Platform=x86 > -d"Plugins-Farsight.ProjectDir=S:\Software\gstreamer\ossbuild-read-only\Main \GStreamer\Windows\Install\Merge > Modules\Plugins\Farsight\\" -dPlugins-Farsight.ProjectExt=.wixproj > -dPlugins-Farsight.ProjectFileName=Plugins-Farsight.wixproj > -dPlugins-Farsight.ProjectName=Plugins-Farsight > -d"Plugins-Farsight.ProjectPath=S:\Software\gstreamer\ossbuild-read-only\Mai n\GStreamer\Windows\Install\Merge > Modules\Plugins\Farsight\Plugins-Farsight.wixproj" > -d"Plugins-Farsight.TargetDir=S:\Software\gstreamer\ossbuild-read-only\Deplo yment\GStreamer\Windows\x86\Merge > Modules\\" -dPlugins-Farsight.TargetExt=.msm > -dPlugins-Farsight.TargetFileName=x86-OSSBuild-GStreamer-Plugins-Farsight.ms m > -dPlugins-Farsight.TargetName=x86-OSSBuild-GStreamer-Plugins-Farsight > -d"Plugins-Farsight.TargetPath=S:\Software\gstreamer\ossbuild-read-only\Depl oyment\GStreamer\Windows\x86\Merge > Modules\x86-OSSBuild-GStreamer-Plugins-Farsight.msm" -out obj\Release\ -arch > x86 -ext ..\..\..\..\..\..\..\Shared\WiX\OSSBuildExtensions.dll > Plugins-Farsight2.wxs obj\Release\Product.Generated.wxs > obj\Release\_Plugins-Farsight.wxs > > 10>candle.exe(0,0): error CNDL0307: Either > 'Microsoft.Tools.WindowsInstallerXml.AssemblyDefaultWixExtensionAttribute' > was not defined in the assembly or the type defined in extension > '..\..\..\..\..\..\..\Shared\WiX\OSSBuildExtensions.dll' could not be > loaded. > > 10>Done building project "Plugins-Farsight2.wixproj" -- FAILED. > > > Obviously, I want this fixed. Will a newer WiX fix the problem> Some > minor upgrade to the gstreamer solution? > > Thanks much, > > Wesley Miller > > ________________________________ > CONFIDENTIALITY NOTE: > > This e-mail and any attachments are confidential. If you are not the > intended recipient, be aware that any disclosure, copying, distribution or > use of this e-mail or any attachment is prohibited. If you have received > this e-mail in error, please notify us immediately by returning it to the > sender and delete this copy from your system. Thank you for your > cooperation. > > ---------------------------------------------------------------------------- -- > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ---------------------------------------------------------------------------- -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users