I am having to bootstrap the VC++ libraries because of the commit WinSxS changes in Vista.
But... I need to prevent the user from running the MSI directly. Since the MSBuild bootstrapper doesn't appear to be able to pass parameters to the MSI, I need another way to detect whether it has been run. I thought I'd check for the VC++ libraries being installed. If you have another way, I'd love to use it :) Thanks! -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilson, Phil Sent: Wednesday, February 06, 2008 4:35 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] MsiProductCheck from WiX It's not clear to me that this strategy works in two scenarios: 1) You find some version of the VC++ runtimes but it's not the right level. It's (say) VS 2005 but maybe you really need VS 2005 SP1. 2) All the VC++ runtimes are correctly installed, but they were installed using merge modules so there's actually no need to install anything anyway. You won't find that redist ProductCode so you'll presumably ask someone to run it. Phil Wilson -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of RW Sent: Wednesday, February 06, 2008 8:55 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] MsiProductCheck from WiX Hi, How do you create a <CONDITION> based on a MsiProductCheck. I.e. I want the MSI to fail unless the VC++ runtimes are installed. I want to simulate this: Running MsiProductCheck with ProductCode '{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}' Thanks, RW ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users