Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing documentation on how to get the Wix Standard Bootstrapper application WixStandardBootstrapperApplication.Foundation to work #4903

Closed
wixbot opened this issue Sep 22, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@wixbot
Copy link

wixbot commented Sep 22, 2015

When a bootstrapper application is built using WixStandardBootstrapperApplication.Foundation, the resulting ba fails to start unless some extra steps are taken. It would be nice if these were properly documented.

I needed to do the following steps in order to make it start:

First, add an extra .wxs file with the following contents:

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
    <Fragment>
    <!-- the theme file and localization file need to be added manually -->
    <PayloadGroup Id='CustomTheme'>
      <Payload Name='thm.xml' Compressed='yes' SourceFile='res\theme.xml' />
      <Payload Name='thm.wxl' Compressed='yes' SourceFile='res\1033.wxl' />
    </PayloadGroup>
    <!-- This information appears to be placed in the generated BootstrapperApplicationData.xml file and
    the ba fails if it is not present. -->
    <CustomTable Id='WixStdbaInformation'>
      <Row>
        <Data Column='LicenseUrl'>!(wix.WixStdbaLicenseUrl)</Data>
      </Row>
    </CustomTable>
  </Fragment>
</Wix>

Next, add a reference to the payloadgroup in the main bundle file:

<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.Foundation">
  <bal:WixStandardBootstrapperApplication
              LicenseUrl=""
              ShowVersion="yes"
              ThemeFile="res\theme.xml"
              LocalizationFile="res\1033.wxl"
              LogoFile="..\Bitmaps\dlgbmp.bmp"
        />
  <PayloadGroupRef Id="CustomTheme" />
</BootstrapperApplicationRef>

It would be desirable to place information about this somewhere in the http://wixtoolset.org/documentation/manual/v3/bundle/wixstdba/ area.

Originally opened by villintehaspam

@wixbot
Copy link
Author

wixbot commented Sep 22, 2015

*Foundation is internal and used by the other types. It's not necessary to use it when you have a custom theme. We'll update the doc and make sure custom themes are covered.

Release changed from v3.10 to v3.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants