At the moment I am trying to understand the conditional logic I posted. Right now, when I attempt to install the condition is evaluating to TRUE and causing the *first* install to fail. I am not understanding why it is evaluating this way.
On Tue, Apr 20, 2010 at 2:02 AM, Sascha Beaumont <sascha.beaum...@gmail.com>wrote: > So you want to prevent repair, uninstall and upgrades? Ugh. > > If the Product ID isn't changing, Windows Installer should bail > automatically with "Another version of this product is already > installed" from memory, if you're using an automatically generated > Product ID you can use the fact that Windows Installer ignores fourth > version field to detect when none of the first three have changed. See > my post from last week for more info. > > Sascha > > > > > On Tue, Apr 20, 2010 at 6:38 AM, Andy Clugston <clug...@gmail.com> wrote: > > I am attempting to determine if a specific version of a product is > already > > installed on the system. I basically want to do this to disallow/bail > out > > of an install if the MSI that is being executed is already installed on > the > > system. > > > > Here is my authoring using 3.0 RTM. I must be missing something simple: > > > > Upgrade table. FWIW, Product and Upgrade GUID is not changing for each > > build; only GUID that is changing is the Package GUID. Language > attribute > > matches as well. > > > > <Upgrade Id='$(var.UpgradeCode)'> > > > > <UpgradeVersion Minimum='$(var.ProdVer)' > > IncludeMinimum='yes' > > Maximum='$(var.ProdVer)' > > IncludeMaximum='yes' > > OnlyDetect='yes' > > Language='1033' > > Property='SELFFOUND'/> > > </Upgrade> > > > > Check to see if product previously installed *and* is this specific > version. > > > > <Condition Message="We be here!">Installed AND SELFFOUND</Condition> > > > > Thanks. > > > ------------------------------------------------------------------------------ > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users