Roger, Aaron Stebner had a blog post about that recently: http:// blogs.msdn.com/astebner/archive/2007/01/09/problems-with-custom- actions-that-depend-on-the-visual-c-8-0-runtime-files-on-windows- vista.aspx
In the first comment someone recommends to simply check for the registry key HKLM\SOFTWARE\Microsoft\DevDiv\VC\Servicing\8.0\RED\1033 \Install Best regards, Sebastian Brand Instyler Software - http://www.instyler.com On Feb 20, 2007, at 10:16 AM, Roger Lipscombe wrote: > [Yes, I know this isn’t specifically a WiX problem] > > > > We don’t particularly fancy the idea of including the VC80 merge > modules in every installer we ship, so, a question: > > > > How do we detect whether or not a version of the VC80 > redistributables have been installed? We’d prefer to use ordinary > MSI constructs, but if we need a custom action, so be it. The > obvious approaches: look for a registry key don’t work (the merge > modules don’t specify anything in (default)), and we can’t really > scan for a particular directory in WinSxS, since policy might make > this irrelevant. > > > > We thought of looking to see if a particular component GUID had > been installed, but there’s about 30 of them. > > > > So: how should we detect presence or absence of the VC80 runtimes, > assuming that we’ve set all of our manifests to require 8.0.50608.0 > (by defining USE_RTM_VERSION in our C++ programs)? > > > > Regards, > > Roger. > > > > ---------------------------------------------------------------------- > ------------------ > This is a PRIVATE message. If you are not the intended recipient, > please delete without copying and kindly advise us by e-mail of the > mistake in delivery. NOTE: Regardless of content, this e-mail shall > not operate to bind 1E Ltd to any order or other contract unless > pursuant to explicit written agreement or government initiative > expressly permitting the use of e-mail for such purpose. > ---------------------------------------------------------------------- > ------------------ > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV________________________________ > _______________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users