Please refer to the immediately previous post:
https://sourceforge.net/mailarchive/message.php?msg_id=30340537

Sorry folks - I neglected to include the Bundle.WXS file:
~ Shaun


<?xml version="1.0" encoding="UTF-8"?>
<?ifndef Version?>
<?define Version = "1.13.14" ?>
<?endif ?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
     xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";
     xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension";
     RequiredVersion="3.6.2830.0" >
  <Bundle
    Name="Small Business Lighting Installer"
    Compressed="yes"
    Version="$(var.Version)"
    Copyright="©2013 by Puget Sound Energy.  For internal PSE use only."
    Manufacturer="Puget Sound Energy"
    IconSourceFile="Resource\LIGHTON.ico"
    UpgradeCode="58DED806-0567-4B7F-9191-DF9FA98AD64E">
    <BootstrapperApplicationRef
      Id="WixStandardBootstrapperApplication.HyperlinkLicense" />
    <WixVariable Id="WixStdbaLicenseUrl"
                 Value="" />
    <WixVariable Id="WixStdbaLogo"
                 Value="Resource\SBL.png" />
    <Variable Name="InstallFolder"
              Type="string"
              Value="[ProgramFilesFolder]Small Business Lighting" />

    <!-- The list of packages which this installer chains together -->
    <Chain>
      <PackageGroupRef Id="Netfx4Full" />
      <PackageGroupRef Id="CrystalRuntime" After="Netfx4Full" />
      <PackageGroupRef Id="SBL" After="CrystalRuntime"/>
    </Chain>
  </Bundle>

  <!-- Logic to look up whether .NET 4.0 is installed using a registry
search. -->
  <Fragment>
    <WixVariable
        Id="WixMbaPrereqPackageId"
        Value="Netfx4Full" />
    <WixVariable
        Id="WixMbaPrereqLicenseUrl"
        Value="NetfxLicense.rtf" />
    <util:RegistrySearch
        Root="HKLM"
        Key="SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full"
        Value="Version"
        Variable="Netfx4FullVersion" />
    <util:RegistrySearch
        Root="HKLM"
        Key="SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full"
        Value="Version"
        Variable="Netfx4x64FullVersion"
        Win64="yes" />

    <!-- Install .NET Framework 4.0 on WinXP if it is not already
installed.-->
    <PackageGroup
        Id="Netfx4Full">
      <ExePackage
          Id="Netfx4Full"
          Cache="no" Compressed="no" Permanent="yes" Vital="yes"
PerMachine="yes"
          SourceFile="C:\Program Files\Microsoft
SDKs\Windows\v7.0A\Bootstrapper\Packages\DotNetFX40\dotNetFx40_Full_x86_x64.exe"
          DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=164193";
          InstallCommand="/q /ACTION=Install"
          RepairCommand="/q ACTION=Repair /hideconsole"
          UninstallCommand="/q ACTION=Uninstall /hideconsole"
          DetectCondition="Netfx4FullVersion AND (NOT VersionNT64 OR
Netfx4x64FullVersion)" />
    </PackageGroup>
  </Fragment>

  <!-- Crystal Reports Installer -->
  <Fragment>
    <PackageGroup
      Id="CrystalRuntime">
       <MsiPackage
          Id="CrystalRuntime"
          Cache="no" Compressed="no" Permanent="yes" Vital="yes"
ForcePerMachine="yes"
          SourceFile="C:\Depot\SBL\SBL WiX
Bootstrapper\CRRuntime_32bit_13_0_4.msi" />
    </PackageGroup>
  </Fragment>

  <!-- SBL Installer -->
  <Fragment>
    <PackageGroup Id="SBL">
      <MsiPackage      Id="SmallBusinessLighting"
        After="CrystalRuntime"
        Description="Small Business Lighting"
        DisplayName="Small Business Lighting"
        Name="SmallBusinessLightingInstaller"
        Vital="yes"
        SourceFile="$(var.SBL_WiX_Setup.TargetPath)" />
    </PackageGroup>
  </Fragment>
</Wix>
-- 
~ Shaun
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to