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

Reply via email to