Hi: Is there an msbuild task that allows me to check whether a registry key exists, I've got a task that retrieves the value, but need to check whether the key exists. Cheers Sean.
-----Original Message----- From: Rob Mensching [mailto:[email protected]] Sent: 05 December 2010 19:39 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] which version of wix is installed >From src\setup\Msi\Product.wxs I think you can use these: <RegistryKey Root="HKLM" Key="$(var.WixKeyRoot)\$(var.WixMajorMinor)" Action="createAndRemoveOnUninstall"> <RegistryValue Name="InstallRoot" Value="[BinDir]" Type="string" KeyPath="yes"/> <RegistryValue Name="ProductVersion" Value="[ProductVersion]" Type="string" /> </RegistryKey> On Sun, Dec 5, 2010 at 7:22 AM, Sean Farrow <[email protected]>wrote: > Hi: > Is there a way from the registry, to determine what version of the wix > toolset is installed? There is a sub-key, but I'm using the > msbuild.community.tasks, and need to determine the currently installed > version within an msbuild project. > Any help appreciated. > Cheers > Sean. > > > ------------------------------------------------------------------------------ > What happens now with your Lotus Notes apps - do you make another costly > upgrade, or settle for being marooned without product support? Time to move > off Lotus Notes and onto the cloud with Force.com, apps are easier to > build, > use, and manage than apps on traditional platforms. Sign up for the Lotus > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d > _______________________________________________ > WiX-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

