This is for detecting net 3.5 in windows server 2008 R2.

<!-- Just detect .net3.5 sp1 as it is installed by default on windows server
2008 r2 and we can warn if they have removed it.-->

<util:RegistrySearch Id="netfx35"
            Variable="NETFX35SP"
            Root="HKLM"
            Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5"
            Value="SP"
            Result="value" />

<bal:Condition Message="This product requires Microsoft .Net Framework 3.5,
with Service Pack 1 or higher.">
        <![CDATA[ NETFX35SP >= 1 ]]>
</bal:Condition>

-----Original Message-----
From: Morrison, Robert (GE Tech Infra, consultant)
[mailto:robert.morri...@ge.com] 
Sent: 26 September 2012 14:29
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn to check Silverlight 4.0 installed

That is what I have been trying but have not had any luck getting it to work.
It seems to me that the Bal:Condition only seems to work on Built in
Variables.... Does anyone have an example where it works with a Registry
Search defined variable...

Thanks,

Bob Morrison
robert.morri...@ge.com
Phone: (508) 698-7816


-----Original Message-----
From: Neil Sleightholm [mailto:n...@x2systems.com]
Sent: Wednesday, September 26, 2012 09:22
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn to check Silverlight 4.0 installed

To just display a message try adding a <bal:Condition> e.g.

<bal:Condition Message="Silverlight not installed">silverlight test
here</bal:Condition>

Neil


>Problem is that Silverlight by license is not distributable... So we 
>want to check to see if it is installed and if not put up a message 
>saying it is required before installation. I have not found a way in
the
>Bootstrapper to get this to work.
>
>Thanks,
>
>Bob Morrison
>robert.morri...@ge.com
>Phone: (508) 698-7816
>
>
>-----Original Message-----
>From: StevenOgilvie [mailto:sogil...@msn.com]
>Sent: Tuesday, September 25, 2012 16:43
>To: wix-users@lists.sourceforge.net
>Subject: Re: [WiX-users] Burn to check Silverlight 4.0 installed
>
>Find the GUID for SilverLight 4.0 (easy enough, if it is a MSI user
Orca
>to
>locate the ProductCode Property of the msi...
>I am checking for MS Sync Framework 2.1 Synchronization, my check is 
>this(replace to suit SilverLight):
>
>    
>    <util:ProductSearch
>      Guid ="A4E269C1-168D-40D3-9ABD-57FE4D4DB537"
>      Id ="SQLSyncx86Search"
>      Variable ="SQLSyncx86Installed"
>      Condition="$(var.Platform)=x86" />
>
>    
>    <util:ProductSearch
>      Guid ="7AC8EF88-D996-4D47-B40C-4DD93E307481"
>      Id ="SQLSyncx64Search"
>      Variable ="SQLSyncx64Installed"
>      Condition="$(var.Platform)=x64" />
>
>then my pre req check and install if not installed:
>
>      <MsiPackage Id="Synchronizationx86"
>                  DisplayName="Microsoft Sync Framework 2.1 
>Redistributable Package (Synchronization) x86"
>                  DisplayInternalUI="no"
>                  Visible="yes"
>                 
>SourceFile="..\..\PreReqs\Synchronization-v2.1-x86-ENU.msi"
>                  InstallCondition="NOT SQLSyncx86Installed AND 
>$(var.Platform)=x86"
>                  Permanent="yes"/>
>
>      <MsiPackage Id="Synchronizationx64"
>                  DisplayName="Microsoft Sync Framework 2.1 
>Redistributable Package (Synchronization) x64"
>                  DisplayInternalUI="no"
>                  Visible="yes"
>                 
>SourceFile="..\..\PreReqs\Synchronization-v2.1-x64-ENU.msi"
>                  InstallCondition="NOT SQLSyncx64Installed AND 
>$(var.Platform)=x64"
>                  Permanent="yes"/>
>
>Hope this helped...
>
>Steve
>
>
>
>
>
>--
>View this message in context:
>http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-to-c
h
>eck-Silverlight-4-0-installed-tp7580817p7580826.html
>Sent from the wix-users mailing list archive at Nabble.com.
>
>-----------------------------------------------------------------------
-
>------
>Live Security Virtual Conference
>Exclusive live event will cover all the ways today's security and 
>threat landscape has changed and how IT managers can respond.
>Discussions
>will include endpoint security, mobile security and the latest in 
>malware threats. 
>http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>_______________________________________________
>WiX-users mailing list
>WiX-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wix-users
>
>-----------------------------------------------------------------------
---
>----
>Live Security Virtual Conference
>Exclusive live event will cover all the ways today's security and 
>threat landscape has changed and how IT managers can respond.
Discussions
>will include endpoint security, mobile security and the latest in
malware
>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>_______________________________________________
>WiX-users mailing list
>WiX-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat
landscape has changed and how IT managers can respond.
Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-----------------------------------------------------------------------------
-
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat
landscape has changed and how IT managers can respond. Discussions will
include endpoint security, mobile security and the latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to