Hello,

I am working on a bootstrapper that installs Windows Installer 3.1, .Net
3.5 and my programs msi.  Detecting the .Net level is straight forward for
the msi package, however, I cannot seem to make it work in the burn wxs
file.

I am unable to specify PropertyRef except under a fragment node.  Is there
a way to do the following in the bundle node?

<PropertyRef Id="NETFRAMEWORK35"/>

I only want to install Windows Installer 3.1 and .Net 3.5 if it is not
currently installed.  That being said, burn is working fantastically for my
needs, and the bundle does install properly. I feel it needs to not run the
aforementioned installers unless they are not present to be polished.

Here are the contents of my bundle.wxs:

<?xml version="1.0" encoding="UTF-8"?>
<?include Variables.wxi?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
     xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension";>

  <Bundle
Name="$(var.ProductName)-$(var.ProjectName)-$(var.ProductVersion)"
Version="$(var.ProductVersion)" Manufacturer="$(var.ProductManufacturer)"
          UpgradeCode="$(var.ProductUpgradeCode)">
  <BootstrapperApplicationRef
Id="WixStandardBootstrapperApplication.RtfLicense" />
    <WixVariable Id="WixStdbaLicenseRtf"
Value="$(var.RootDir)\license.rtf"/>
    <WixVariable Id="WixStdbaLogo"
Value="$(var.RootDir)\Images\$(var.ProductName)_Bootstrap.png"/>
  <Chain>
      <ExePackage

SourceFile="$(var.RootDir)\RedistributablePackages\WindowsInstaller-KB893803-v2-x86.exe"
      Vital="no"
      InstallCommand="/quiet /norestart" />
      <ExePackage

SourceFile="$(var.RootDir)\RedistributablePackages\dotNetFx35setup.exe"
        Vital="no"
        InstallCommand="/quiet /norestart"/>
    <MsiPackage SourceFile="$(var.ProductMsi)" />
  </Chain>
 </Bundle>
</Wix>


-- 
Jacob Langston
<jacob.langs...@gmail.com>
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to