Hi.
Wix35.msi will install
C:\Program Files (x86)\Windows Installer XML v3.5\SDK\MakeSfxCA.exe.config
but that file is not included in
wix3.5.2415.0-binaries.zip for example
As a result, trying to use MakeSfxCA.exe with a .net 4 assembly will fail with the following error:
Searching for custom action entry points in MyCustomAction.dll
EXEC : error : System.BadImageFormatException: Could not load file or assembly 'file:///C:\MyCustomAction\obj\x86\Release\MyCustomAction.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
File name: 'file:///C:\MyCustomAction\MyCustomAction\obj\x86\Release\MyCustomAction.dll'
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.ReflectionOnlyLoadFrom(String assemblyFile)
at Microsoft.Deployment.Tools.MakeSfxCA.MakeSfxCA.FindEntryPoints(String module)
at Microsoft.Deployment.Tools.MakeSfxCA.MakeSfxCA.Build(String output, String sfxdll, IList`1 inputs, TextWriter log)
at Microsoft.Deployment.Tools.MakeSfxCA.MakeSfxCA.Main(String[] args)
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).