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\{xxxxxxxx-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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users