Open the app.exe in a text editor and search for the 'manifest' (or use a
manifest viewing tool), generally close to the end of the PE file.  The
embedded manifest should declare any SxS dependencies.  When the windows
loader cannot find one of the SxS assemblies declared in the embedded
manifest it results in an entry in the Event Log (on vista or later).  The
fact that you did not hit the problem when the application is executed
either means that you did not execute the affected code or that the embedded
manifest declares a dependency which is not actually linked too, which would
not typically occur.

By looking at the manifest you can see the exact version of the required
runtime.  The redistrib package is on the PC which was used to build the app
(at different paths depending on the version of VS, google for the path), or
that was used to build the apps dependency (dll).  VS2010 and later
vcredistribs are not SxS assemblies so they are not listed in the embedded
manifest, but other SxS dependencies should be.  Also the Event Log entry
may relate to a app dependency (DLL) which requires an SxS dependency.

Most of the time the file properties of the redistrib package or the ARP
display name includes the version that is listed in the embedded manifest,
but there are exceptions such as the VC package 9.0.30729.6161 package has
file versions of 9.0.30729.5677.

On Vista or later you can also use SxSTrace to track these issues, but it
can be tricky.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Shortcut-creation-seems-to-cause-sxs-assembly-error-in-Event-Viewer-tp7589133p7589326.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to