Hi, I am trying to detect if another product is already installed before my product installs and I want to only allow installation if the other product is present.
I believed this was quite simple but I have a problem. I used an Upgrade table to detect for the other installed (based on its Upgrade Code) <Upgrade Id="{1D7F380B-A6A5-4CD1-86F3-F305B910C9C6"> <UpgradeVersion Minimum="0.0.0.0" Maximum="16.16.16.0" OnlyDetect="yes" Property="PRODUCTINSTALLED"/> </Upgrade> And then I use a condition to prevent installation if the other install is not present. <Condition Message="A compatible host application must be installed to install this Tool Pack"> PRODUCTINSTALLED <> "" </Condition> This works great during installation and blocks the install if the installer is not present however when trying to uninstall the application the condition always blocks. I believe this is because the Condition is processed during uninstall but the upgrade is not and hence the PRODUCTINSTALLED is not set. Am I going about this the right way? Or is using the <Upgrade> element not the correct way. Any pointers would be gratefully appreciated. Many Thanks, Kevin This e-mail is confidential and may be privileged and is intended solely for the use of the individual or entity to who it is addressed. It may be read, disseminated, forwarded, printed, copied and used only by the intended recipient.If you have received this email in error, please contact the sender immediately by return e-mail or by telephoning +44 (0) 1202 241115. Please then delete this email and do not disclose its contents to any person. Internet communications are not secure and therefore Orbis Software does not accept legal responsibility for the safety or contents of this message and any attachment. No liability is accepted for any consequences arising from it. Orbis Software does not authorise any contract to be made using the internet. Any views or opinions presented are solely those of the author and do not necessarily represent those of Orbis Software unless otherwise specifically stated. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users