Thanks that did it.

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


-----Original Message-----
From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] 
Sent: Wednesday, September 26, 2012 10:52
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn to check Silverlight 4.0 installed

Uhh, would it not be:

        <util:RegistrySearch Id="SILVERLIGHTVERSION" 
                             Variable="SILVERLIGHTVERSION" 
                             Root="HKCR" 
                             Key="AgControl.AgControl\ CurVer " 
                             Result="value"/>

Though looking at the documentation, I don't see the registry search
documented for the bundle.  If that hasn't been fixed in 3.7 then
someone should log a documentation bug.

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

This is what I tried, and even if Silverlight is installed it is not
working, it keeps telling me that Silverlight needs to be installed.

<?xml version="1.0" encoding="utf-8"?>
<?ifndef Version?>
<?define Version = "1.0.0.0" ?>
<?endif ?>
<Wix RequiredVersion="3.6.2830.0" 
     xmlns="http://schemas.microsoft.com/wix/2006/wi"; 
     xmlns:bal="http://schemas.microsoft.com/wix/BalExtension"; 
     xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";>
    <Bundle Name="Sample" 
            Version="$(var.Version)" 
            Manufacturer="Sample" 
            UpgradeCode="528186C9-C729-4B83-9242-2019D00E498C" 
            HelpUrl="http://www.nowhere.com"; 
            Copyright="Copyright(c) 2012, GEIP" 
            IconSourceFile="Resource\SampleLogo.ico"
            AboutUrl="http://www.nowhere.com"; 
            Condition="((VersionNT &gt;= v5.1) AND (ServicePackLevel
&gt;= 3)) OR ((VersionNT &gt;= v5.2) AND (ServicePackLevel &gt;= 2)) OR
(VersionNT &gt;= v6.0)">

        <BootstrapperApplicationRef
Id="WixStandardBootstrapperApplication.RtfLicense"/>
        <util:RegistrySearch Id="SILVERLIGHTVERSION" 
                             Variable="SILVERLIGHTVERSION" 
                             Root="HKCR" 
                             Key="AgControl.AgControl" 
                             Value="CurVer" 
                             Result="value"/>

        <bal:Condition Message="Please install Silverlight 4.0 or
higher.">
              <![CDATA[ SILVERLIGHTVERSION >=
"AgControl.AgControl.4.0"]]>
        </bal:Condition>

        <WixVariable Id="WixStdbaLicenseRtf" Value="Resource\EULA.RTF"/>
        <WixVariable Id="WixStdbaLogo" Value="Resource\SampleLogo.ico"/>
        <WixVariable Id="WixStdbaThemeXml"
Value="Resource\SampleTheme.xml"/>
        <WixVariable Id="WixStdbaThemeWxl"
Value="Resource\SampleTheme.wxl"/>
        <Chain>
            <PackageGroupRef Id="Netfx4Full"/>
            <MsiPackage Id="OFC" Compressed="yes"
SourceFile=".\Source\OFC\Install.msi" Vital="yes"
DisplayInternalUI="yes">
            </MsiPackage>
        </Chain>
    </Bundle>
</Wix>

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:52
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn to check Silverlight 4.0 installed

Just to clarify this is not Bundle/@Condition it is a condition inside
your <Bundle> element.

Neil


>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


------------------------------------------------------------------------
------
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

Reply via email to