For the first part, I can say yes. I have not tested yet the second assumption, 
but I hope it works as you (and I) expect it.

Regards,
Nicolas Penin


-----Message d'origine-----
De : Aled Hughes [mailto:trestlemon...@gmail.com] 
Envoyé : mardi 8 novembre 2011 16:56
À : General discussion for Windows Installer XML toolset.
Objet : Re: [WiX-users] Burn - what's the difference between 
InstallConditionand DetectCondition?

Am I right in deducing that InstallCondition, if specified, will override 
DetectCondition? So if InstallCondition=False, the package will not get 
installed regardless of DetectCondition. Likewise, if InstallCondition=True, 
the package is always installed regardless of DetectCondition.

....or is is that if InstallCondition=True then package is installed only if 
DetectCondtion=False?


On 8 November 2011 15:30, Nicolas Penin <n.pe...@happly.fr> wrote:

> The DetectCondition helps you know whether the package is installed or not.
> The InstallCondition allows you to choose to install a package even if 
> the DetectCondition is true, or to choose not to install a package if 
> the DetectCondition is False.
>
> I use it because I have to install SqlExpress in a specific case 
> (depending on my UI), the detect condition helps me to know whether it 
> is already installed, and the install condition has to be true (my 
> specific
> case) to allow the installation of SQLExpress.
>
> Does it make sense ?
>
> Regards,
> Nicolas Penin
>
>
> -----Message d'origine-----
> De : Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Envoyé : mardi 8 
> novembre 2011 16:26 À : General discussion for Windows Installer XML 
> toolset.
> Objet : Re: [WiX-users] Burn - what's the difference between 
> InstallConditionand DetectCondition?
>
> I've not looked at Burn but I would guess you could install something 
> under a wider variety of conditions that it just being already present 
> or not. For instance you might want to install a package based on OS 
> or language or on the presence of other products.
>
> -----Original Message-----
> From: Aled Hughes [mailto:trestlemon...@gmail.com]
> Sent: 08 November 2011 15:22
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] Burn - what's the difference between 
> InstallConditionand DetectCondition?
>
> With burn, what is the difference between the DetectCondition and 
> InstallCondition on the <ExePackage> element? I noticed that the 
> NetFx4.wxs file in the WiX sources uses DetectCondition to seemingly 
> prevent installation of .Net4 if it is already installed - but isn't 
> InstallCondition the same?
>
> ----------------------------------------------------------------------
> -------
> -
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> SDL PLC confidential, all rights reserved.
> If you are not the intended recipient of this mail SDL requests and 
> requires that you delete it without acting upon or copying any of its 
> contents, and we further request that you advise us.
> SDL PLC is a public limited company registered in England and Wales.
>  Registered number: 02675207.
> Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire 
> SL6 7DY, UK.
>
>
>
> ----------------------------------------------------------------------
> --------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> ----------------------------------------------------------------------
> --------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to