Hi Ranganatha, Thanks for example. Checking the DB2 installation on target machine is wokring now.
Best Regards Adnan Ranganatha H C wrote: > > Hi, > > One way would be to add Registry serach and assign the registry serach > result to a property. Later you can use the property based on its value to > check whether DB2 installed on the target machine or not. > > e.g To check IIS is installed or not > > > <!--Search for the IIS 6 version--> > > <Property Id="IIS6SPLEVEL"> > > <RegistrySearch > > Id='IISCheck' > > Type='raw' > > Root='HKLM' > > Key='SYSTEM\CurrentControlSet\Services\W3SVC\Parameters' > > Name='MajorVersion' /> > > </Property> > > <Condition Message='$(loc.RequiredIIS6OrAbove)'> > > Installed OR (IIS6SPLEVEL >= "#6" AND NOT Installed) > > </Condition> > Hope this helps... > > On Thu, Sep 10, 2009 at 4:51 AM, Blair <os...@live.com> wrote: > >> Searching IBM's web site I found a list of ProductCodes you could search >> for >> for DB2 v8.(whatever it was, I didn't save the link since that version is >> post-support) but for DB2 v9 I didn't find any such list. >> >> Your best bet is to query either IBM or DB2 users as to how to >> programmatically check db2 installations (hopefully there is a way >> without >> running any exe). Once you know that, we can help you with the syntax >> needed >> to implement it in WiX. >> >> -----Original Message----- >> From: danimian [mailto:miand...@gmail.com] >> Sent: Wednesday, September 09, 2009 3:12 PM >> To: wix-users@lists.sourceforge.net >> Subject: [WiX-users] How to check db2 installation on the machine in WIX >> >> >> Hi, >> I am using WIX to create MSI package for installation. Checking the >> Operating System and .NETFRAMEWORK 3.5 is working properly. >> I want to check whether DB2 is installed on the machine or not. >> How it is possible? I am using Visual Studio 8. >> Please help me in this regard. >> Thanks in advance >> Adnan >> -- >> View this message in context: >> >> http://n2.nabble.com/How-to-check-db2-installation-on-the-machine-in-WIX-tp3 >> 614998p3614998.html >> Sent from the wix-users mailing list archive at Nabble.com. >> >> >> ---------------------------------------------------------------------------- >> -- >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and >> focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and >> focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > > > > -- > Regards/Ranga > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://n2.nabble.com/How-to-check-db2-installation-on-the-machine-in-WIX-tp3614998p3655149.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users