As I pointed out before, none of the products installed on my system have an item called ProductVersion under the guid key.
Phil Wilson -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harvey Werner Sent: Tuesday, February 13, 2007 9:42 AM To: Rob Mensching; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to use the registry to detect if aproductis installed Yes, the package is pre-installed and the GUID is correct under the Uninstall key. > -----Original Message----- > From: Rob Mensching [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 13, 2007 9:05 AM > To: Harvey Werner; wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] How to use the registry to detect if a > productis installed > > Or better yet, just use the upgrade logic in the Windows Installer... > unless of course you're trying to detect a non-Windows Installer > package. In that case, then you really should use the mechanism the > previous product suggests to detect it. If it is really to go walk > around in the ARP registry keys, then I don't see anything wrong in > the syntax... are you sure the registry key exists? > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Harvey > Werner > Sent: Monday, February 12, 2007 2:09 PM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] How to use the registry to detect if a product is > installed > > I would like to use the Windows registry (and not the file system) to > detect if a package is already installed. > > I was thinking of using something like this, but can't seem to get it > to work. I most likely have the logic wrong in CDATA. > > <Property Id="PACKAGE_INSTALLED"> > <RegistrySearch > Id="REG_FOUND" > Root="HKLM" > > Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{xxxx > xxxx-xxxx- > xxxx-xxxx-xxxxxxxxxxxx}" > Name="ProductVersion" > Type="raw" > Win64="no" /> > </Property> > > <Condition > Message="Package X is installed. Please uninstall it before > trying again."> > <![CDATA[(NOT PACKAGE_INSTALLED) OR REMOVE]]> > </Condition> > > Any advice is appreciated. > > -- > Harvey Werner > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users