I believe you should use Installed OR TEST="", that way the condition will be allways valid at uninstall.
K-ballo.- Joseph O'Sullivan escribió: >I am trying to make this piece of code work ><Product Id ..... > <Package Id...... > ><Property Id="TEST"> > <RegistrySearch Id="TestString" Root="HKLM" >Key="SOFTWARE\Vendor\Product\" Name="Install Started" Type="raw" /> ></Property> > <Condition Message="A version of this product is already installed. >Please uninstall [ProductName] >from Add-Remove Programs and reinstall."><![CDATA[TEST=""]]></Condition> > >Now this works fine if I install, however, when I go to uninstall it >won't let me unless I remove the registry key. I think this is down to >the condition I am using. > >This is what I am trying to get to so it shows what I have done. > >Install as normal. >Reinstall, detect and give message please use add remove etc >Uninstall as normal > >I have tried variuous flavours of TEST = <> "" etc I have Tried using >REINSTALL <> = "" etc and also using REMOVE <> = "ALL" etc, obviously >these have not been as written, and I think it may just be the >sequencing I am getting wrong. > >Any thoughts would be helpful as I have now run out. > >Joe >______________________________________________________________________ > >You might be interested in this... > >Register today for our March 2007 Strategic ICT Conferences - building on >today's success to move you forward. > >http://www.rm.com/sectorredirect.asp?cref=SRED506754&srcurl=ICS200207PT >______________________________________________________________________ > >P.S. Think Green - don't print this email unless you really need to. > >Visit our Website at http://www.rm.com > >RM Education plc >Registered Office: 183 Milton Park, Abingdon, Oxon, OX14 4SE, England. >Registered Number: 1148594 > >This message is confidential. You should not copy it or disclose its >contents to anyone. You may use and apply the information for the intended >purpose only. Internet communications are not secure; therefore, RM does >not accept legal responsibility for the contents of this message. Any views >or opinions presented are those of the author only and not of RM. If this >email has come to you in error, please delete it, along with any >attachments. Please note that RM may intercept incoming and outgoing email >communications. > >Freedom of Information Act 2000 >This email and any attachments may contain confidential information >belonging to RM. Where the email and any attachments do contain >information of a confidential nature, including without limitation >information relating to trade secrets, special terms or prices these shall >be deemed for the purpose of the Freedom of Information Act 2000 as >information provided in confidence by RM and the disclosure of which would >be prejudicial to RM's commercial interests. > >This email has been scanned for viruses by Trend ScanMail. > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys-and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >WiX-users mailing list >WiX-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wix-users > > _________________________________________________________________ Las mejores tiendas, los precios mas bajos, entregas en todo el mundo, YupiMSN Compras: http://latam.msn.com/compras/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users