not sure what is gonig on when trying to build using bundle4

Mar 18, 2013 at 7:14 PM
Hi Neil,

I am using your WixExtended BA dll and trying to put 4 checkboxes on a burn dialog as per your bundle4 example

I have attached the theme wxl/xml and the bundle.wxs files… it all compiles fine, but when I run it, I don’t get any UI but the burn log file reports it can’t find the theme xml file:

[112C:24F0][2013-03-18T14:40:38]i001: Burn v3.7.1224.0, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Dev\Core Technologies\Main\Setup\bin\TITUSEnterpriseSetup.exe, cmdline: ''
[112C:24F0][2013-03-18T14:40:38]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\STEVEN~1.OGI\AppData\Local\Temp\TITUS_Enterprise_20130318144038.log'
[112C:24F0][2013-03-18T14:40:38]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Dev\Core Technologies\Main\Setup\bin\TITUSEnterpriseSetup.exe'
[112C:24F0][2013-03-18T14:40:38]i000: Setting string variable 'WixBundleName' to value 'TITUS Enterprise'
[112C:2600][2013-03-18T14:40:38]e000: Error 0x8007006e: Failed to load theme from path: C:\Users\STEVEN~1.OGI\AppData\Local\Temp{45855800-c6d4-4f4a-af58-4ef7ec918b4d}.ba1\thm.xml
[112C:2600][2013-03-18T14:40:38]e000: Error 0x8007006e: Failed to initialize data in bootstrapper application.
[112C:24F0][2013-03-18T14:40:38]i500: Shutting down, exit code: 0x6e
[112C:24F0][2013-03-18T14:40:38]i410: Variable: WixBundleAction = 4
[112C:24F0][2013-03-18T14:40:38]i410: Variable: WixBundleElevated = 0
[112C:24F0][2013-03-18T14:40:38]i410: Variable: WixBundleInstalled = 0
[112C:24F0][2013-03-18T14:40:38]i410: Variable: WixBundleLog = C:\Users\STEVEN~1.OGI\AppData\Local\Temp\TITUS_Enterprise_20130318144038.log
[112C:24F0][2013-03-18T14:40:38]i410: Variable: WixBundleManufacturer = TITUS Inc.
[112C:24F0][2013-03-18T14:40:38]i410: Variable: WixBundleName = TITUS Enterprise
[112C:24F0][2013-03-18T14:40:38]i410: Variable: WixBundleOriginalSource = C:\Dev\Core Technologies\Main\Setup\bin\TITUSEnterpriseSetup.exe
[112C:24F0][2013-03-18T14:40:38]i410: Variable: WixBundleProviderKey = {45855800-c6d4-4f4a-af58-4ef7ec918b4d}
[112C:24F0][2013-03-18T14:40:38]i410: Variable: WixBundleTag =
[112C:24F0][2013-03-18T14:40:38]i410: Variable: WixBundleVersion = 4.9.9.9
[112C:24F0][2013-03-18T14:40:38]i007: Exit code: 0x6e, restarting: No

Any idea what I am doing wrong?

Thanks,

Steve

Bundle.wxs:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
     xmlns:bal="http://schemas.microsoft.com/wix/BalExtension"
     xmlns:net="http://schemas.microsoft.com/wix/NetFxExtension"
     xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
  <?include $(var.SolutionDir)Include\Variables.wxi ?>
  <Bundle Name="$(var.ProductName)"
          Version="$(var.ProductVersion)"
          Manufacturer="$(var.ProductCompany)"
          UpgradeCode="$(var.UpgradeCode)"
          DisableModify="yes"
          DisableRemove="yes"
          HelpTelephone="613-820-5111"
          HelpUrl="http://www.titus.com/support/index.php"
          Copyright="Copyright © 2003 - 2013 TITUS, Inc. All Rights Reserved."
          IconSourceFile="$(var.resourcePath)\MessageClassification.ico"
          SplashScreenSourceFile="$(var.resourcePath)\Splash.bmp">
    <BootstrapperApplicationRef Id="WixExtendedBootstrapperApplication.HyperlinkLicense">
      <bal:WixExtendedBootstrapperApplication
        SuppressRepair="yes"
        SuppressOptionsUI="yes"
        LicenseUrl="">
      </bal:WixExtendedBootstrapperApplication>
    </BootstrapperApplicationRef>
    <!--<WixVariable Id="WixExtbaLicenseUrl" Value=""/>-->
    <WixVariable Id="WixExtbaLogo" Value="$(var.resourcePath)\logo.png" />
    <WixVariable Id="WixExtbaThemeXml" Value="$(var.resourcePath)\Bundle_Enterprise_Theme.xml"/>
    <WixVariable Id="WixExtbaThemeWxl" Value="$(var.resourcePath)\HyperlinkTheme_Enterprise.wxl" />

    <Chain>
      <PackageGroupRef Id="NetFx40Redist"/>

      <ExePackage Id="TITUS_Server"
                      DisplayName="TITUS Server"
                      SourceFile="..\bin\TITUSServerSetup.exe"
                      Name="RedistEnt\TITUSServerSetup.exe"
                      InstallCondition="Checkbox1 = 1"
                      PerMachine="yes"
                      Cache="no"
                      Compressed="no"
                      Permanent="yes"/>

      <ExePackage Id="TITUS_Server_SA"
                      DisplayName="TITUS Server Standalone"
                      SourceFile="..\bin\TITUSServerStandaloneSetup.exe"
                      Name="RedistEnt\TITUSServerStandaloneSetup.exe"
                      InstallCondition="Checkbox2 = 1"
                      InstallCommand="/quiet /norestart"
                      PerMachine="yes"
                      Cache="no"
                      Compressed="no"
                      Permanent="yes"/>

      <ExePackage Id="TITUS_TMC"
                      DisplayName="TITUS Message Classification"
                      SourceFile="..\bin\TITUSMessageClassificationSetup.exe"
                      Name="RedistEnt\TITUSMessageClassificationSetup.exe"
                      InstallCondition="Checkbox3 = 1"
                      PerMachine="yes"
                      Cache="no"
                      Compressed="no"
                      Permanent="no"/>

      <ExePackage Id="SQLExpressx64"
                  DisplayName="Microsoft® SQL Server® 2012 - Express Edition x64"
                  SourceFile="..\PreReqs\SQLEXPR_x64_ENU.exe"
                  Name="RedistEnt\SQLEXPR_x64_ENU.exe"
                  InstallCommand="/ACTION=Install /INSTANCENAME=SQLEXPRESS /FEATURES=SQLENGINE /Q /HIDECONSOLE /SkipRules=RebootRequiredCheck /IAcceptSQLServerLicenseTerms /SQLSVCSTARTUPTYPE=Automatic /SQLSVCACCOUNT=&quot;NT AUTHORITY\NETWORK SERVICE&quot; /AGTSVCACCOUNT=&quot;NT AUTHORITY\NETWORK SERVICE&quot; /ASSYSADMINACCOUNTS=BUILTIN\Administrators /SQLSYSADMINACCOUNTS=BUILTIN\Administrators /BROWSERSVCSTARTUPTYPE=Disabled /ADDCURRENTUSERASSQLADMIN=true /TCPENABLED=1"
                  InstallCondition="Checkbox 4 = 1 AND Not SqlInstanceFoundx64 AND Not SqlInstanceFoundx64Express AND Not SqlInstanceFound AND Not SqlInstanceFoundExpress AND VersionNT64"
                  DetectCondition="SqlInstanceFoundx64"
                  Cache="no"
                  Compressed="no"
                  PerMachine="yes"
                  Permanent="yes"/>

      <ExePackage Id="SQLExpressx86"
                  DisplayName="Microsoft® SQL Server® 2012 - Express Edition x86"
                  SourceFile="..\PreReqs\SQLEXPR_x86_ENU.exe"
                  Name="RedistEnt\SQLEXPR_x86_ENU.exe"
                  InstallCommand="/ACTION=Install /INSTANCENAME=SQLEXPRESS /FEATURES=SQLENGINE /Q /HIDECONSOLE /SkipRules=RebootRequiredCheck /IAcceptSQLServerLicenseTerms /SQLSVCSTARTUPTYPE=Automatic /SQLSVCACCOUNT=&quot;NT AUTHORITY\NETWORK SERVICE&quot; /AGTSVCACCOUNT=&quot;NT AUTHORITY\NETWORK SERVICE&quot; /ASSYSADMINACCOUNTS=BUILTIN\Administrators /SQLSYSADMINACCOUNTS=BUILTIN\Administrators /BROWSERSVCSTARTUPTYPE=Disabled /ADDCURRENTUSERASSQLADMIN=true /TCPENABLED=1"
                  InstallCondition="Checkbox4 = 1 AND Not SqlInstanceFound AND Not SqlInstanceFoundExpress AND Not VersionNT64"
                  DetectCondition="SqlInstanceFound"
                  Cache="no"
                  Compressed="no"
                  PerMachine="yes"
                  Permanent="yes"/>
        </Chain>
    </Bundle>

  <Fragment Id="InstallConditionChecks">
    <!-- Check for SQL Server Express -->
    <?define InstanceName = "MSSQLSERVER" ?>
    <?define InstanceNameExpress = "SQLEXPRESS" ?>
    <!-- Read SQL Server keys to find current instance and version -->
    <!-- 32 bit OS search -->
    <util:RegistrySearch
      Id="SqlInstanceFound"
      Root="HKLM" Key="SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL" Value="$(var.InstanceName)"
      Result="exists" Variable="SqlInstanceFound" />

    <util:RegistrySearch
      Id="SqlInstanceFoundExpress"
      Root="HKLM" Key="SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL" Value="$(var.InstanceNameExpress)"
      Result="exists" Variable="SqlInstanceFoundExpress" />

    <!-- 64 bit OS search -->
    <util:RegistrySearch
      Id="SqlInstanceFoundx64"
      Root="HKLM" Key="SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL" Value="$(var.InstanceName)" Win64="yes"
      Result="exists" Variable="SqlInstanceFoundx64" />

    <util:RegistrySearch
      Id="SqlInstanceFoundx64Express"
      Root="HKLM" Key="SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL" Value="$(var.InstanceNameExpress)" Win64="yes"
      Result="exists" Variable="SqlInstanceFoundx64Express" />

  </Fragment>
 </Wix>
Bundle_Enterprise_Theme.xml (same as your Bundle4 example, except I have 4 checkboxes
<Checkbox Name="Checkbox1" X="185" Y="191" Width="-11" Height="17" TabStop="yes" FontId="3" HideWhenDisabled="yes">#(loc.InstallCheckbox1)</Checkbox>
    <Checkbox Name="Checkbox2" X="185" Y="211" Width="-11" Height="17" TabStop="yes" FontId="3" HideWhenDisabled="yes">#(loc.InstallCheckbox2)</Checkbox>
    <Checkbox Name="Checkbox3" X="185" Y="231" Width="-11" Height="17" TabStop="yes" FontId="3" HideWhenDisabled="yes">#(loc.InstallCheckbox3)</Checkbox>
    <Checkbox Name="Checkbox4" X="185" Y="251" Width="-11" Height="17" TabStop="yes" FontId="3" HideWhenDisabled="yes">#(loc.InstallCheckbox4)</Checkbox>
Mar 18, 2013 at 7:28 PM
Okay it seems I had registered/copyright symbols in my text in the hyperlinktheme.wxl file so it is further now :)

Now I get this error:

[1D54:10A0][2013-03-18T15:22:38]e000: Error 0x8007000d: Failed to load theme controls.
[1D54:10A0][2013-03-18T15:22:38]e000: Error 0x80004005: Failed to create main window.
[1D54:167C][2013-03-18T15:22:38]i500: Shutting down, exit code: 0x4005

The controls it is talking about are in the bundletheme.xml file:

<Checkbox Name="Checkbox1" X="185" Y="191" Width="-11" Height="17" TabStop="yes" FontId="3" HideWhenDisabled="yes">#(loc.InstallCheckbox1)</Checkbox>
<Checkbox Name="Checkbox2" X="185" Y="211" Width="-11" Height="17" TabStop="yes" FontId="3" HideWhenDisabled="yes">#(loc.InstallCheckbox2)</Checkbox>
<Checkbox Name="Checkbox3" X="185" Y="231" Width="-11" Height="17" TabStop="yes" FontId="3" HideWhenDisabled="yes">#(loc.InstallCheckbox3)</Checkbox>
<Checkbox Name="Checkbox4" X="185" Y="251" Width="-11" Height="17" TabStop="yes" FontId="3" HideWhenDisabled="yes">#(loc.InstallCheckbox4)</Checkbox>

Steve
Mar 18, 2013 at 10:00 PM
fixed it and it is working now to test installing the 4 different apps
Coordinator
Mar 18, 2013 at 10:03 PM
Out of interest what was the issue? I think the theme code needs a bit more code to assist debugging, the theme viewer should help but at the moment doesn't add detail.
Mar 19, 2013 at 12:43 PM

Classification: Public

Sigh, I was 1. Using a bmp as the side log, 2. Then used a png but wasn’t named sidelogo

It was user error J

This is what I have so far, I haven’t tested it yet

Latest TITUS News!

This message has been marked as Public by Steven Ogilvie.

The above classification labels were added to the message by TITUS Message Classification.
Visit
www.titus.com for more information.

From: nsleightholm [email removed]
Sent: March-18-13 6:04 PM
To: Steven Ogilvie
Subject: Re: not sure what is gonig on when trying to build using bundle4 [wixextba:437096]

From: nsleightholm

Out of interest what was the issue? I think the theme code needs a bit more code to assist debugging, the theme viewer should help but at the moment doesn't add detail.