That would probably explain it as well. By default, I believe WiX will use a property called WIX_UPGRADE_DETECTED. Again, remember that WiX is just a way of creating MSI files, so that MajorUpgrade element creates entries in the Upgrade table in the install. One of the columns in this table defines the property to set if a matching upgrade code is found. You can examine the contents of that table using a tool called Orca (http://msdn.microsoft.com/en-gb/library/windows/desktop/aa370557(v=vs.85).aspx)
The other way to find out what property it's *actually* using is by examine the log for PROPERTY CHANGE events emitted by FindRelatedProducts. Hope that helps On 22 March 2013 16:52, Phil Wilson <phil.wil...@mvps.org> wrote: > Ah, the other explanation is that you installed that MSI in a per User > context, and now you're installing it a different user context (another user > or per System). > > Phil > > -----Original Message----- > From: Phil Wilson [mailto:phil.wil...@mvps.org] > Sent: Friday, March 22, 2013 9:51 AM > To: 'General discussion for Windows Installer XML toolset.' > Subject: RE: [WiX-users] Question about conditional statements in elements > > Yes, the Installed property means "this ProductCode is installed". If you > see that Welcome dialog again the most obvious thing to check is whether the > ProductCode has changed. The idea is that you only see the Welcome dialog on > fresh first time install. Later actions based on the same ProductCode are > maintenance options, feature add/remove etc. > > It's got to be the ProductCode changing. This stuff works all the time and > has done for years. This is a Windows Installer property used in every > MSI-based install, whether WiX or not. It's not likely that such a basic > thing doesn't work. > > http://msdn.microsoft.com/en-us/library/windows/desktop/aa369297(v=vs.85).as > px > > Phil > > -----Original Message----- > From: Ackerman, Buddy [mailto:backer...@tnsi.com] > Sent: Friday, March 22, 2013 9:32 AM > To: chr...@iswix.com; General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Question about conditional statements in elements > > So what property is it actually checking to see if it's installed? On my > product element there is a Version attribute and there is an UpgradeCode > attribute, are these what are being used? > > Again I have already installed the product and when I run the installer > again (with the Version attribute change to a higher minor version) this > dialog still shows. I actually want the dialog to show but I am just > curious as to why it is still showing given this criteria. > > Thanks. > > > -----Original Message----- > From: Christopher Painter [mailto:chr...@iswix.com] > Sent: Friday, March 22, 2013 11:50 AM > To: afor...@cmu.edu; General discussion for Windows Installer XML toolset.; > General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Question about conditional statements in elements > > > It means an MSI sharing this ProductCode ( either this PackageCode which > would indicate a maintenance transaction or another PackageCode which would > indicate a small or minor update ) is already installed. In the case of a > Major Upgrade the ProductCode has been changed and therefore from this new > MSI's perspective it is not yet installed. > > & is a special operator regarding features. See the links I sent in my > other email. > > Regards, > Chris > > ---------------------------------------- > From: "Alain Forget" <afor...@cmu.edu> > Sent: Friday, March 22, 2013 10:47 AM > To: "General discussion for Windows Installer XML toolset." > <wix-users@lists.sourceforge.net> > Subject: Re: [WiX-users] Question about conditional statements in elements > > As far as I understand it, "Installed" means, "Before this installer was > run, a version of this program was already installed on this machine". > Someone please correct me if that isn't quite true. > > As far as &ftDatabase=3, I have no idea, I haven't yet seen that syntax yet. > > Alain > > -----Original Message----- > From: Ackerman, Buddy [mailto:backer...@tnsi.com] > Sent: March 22, 2013 11:39 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Question about conditional statements in elements > > I'm very new to WiX and have inherited an existing project. I've been > deciphering it fine except for a few things. In this project I have the > following element: > > <Show Dialog="WelcomeDlg" Before="ProgressDlg">NOT Installed</Show> > > The question with this is the "NOT Installed" condition. What exactly does > "Installed" mean? When I run this to upgrade and already installed > application this dialog still shows up. SO, I'm not sure what Installed > really means (there is also an Upgrade element in the project with a > property assigned to it that is used in other controls throughout the > project). > > Next is the following syntax that I have in several control conditional > statements: > > &ftDatabase=3 > > The ftDatabase is the ID of one of the Features. However, I don't know what > value it would have. Is this an install level value or install type value? > > Thanks for some newbie help. > > ________________________________ > This e-mail message is for the sole use of the intended recipient(s)and may > contain confidential and privileged information of Transaction Network > Services. > Any unauthorised review, use, disclosure or distribution is prohibited. If > you are not the intended recipient, please contact the sender by reply > e-mail and destroy all copies of the original message. > > ---------------------------------------------------------------------------- > -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics Download AppDynamics Lite for > free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ---------------------------------------------------------------------------- > -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics Download AppDynamics Lite for > free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ---------------------------------------------------------------------------- > -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics Download AppDynamics Lite for > free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > This e-mail message is for the sole use of the intended recipient(s)and may > contain confidential and privileged information of Transaction Network > Services. > Any unauthorised review, use, disclosure or distribution is prohibited. If > you are not the intended recipient, please contact the sender by reply > e-mail and destroy all copies of the original message. > > > ---------------------------------------------------------------------------- > -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics Download AppDynamics Lite for > free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users