[wix-users] My fist custom bootstrapper application

Helge Kruse Helge.Kruse at gmx.net
Sat Jul 1 06:50:00 PDT 2017


I hope this is a too stupid question. Many other users manged obviously
solved it...

I want to author a bundle that provides a (kind of) feature list. The
user shall select what she needs to install and the bootstrapper passes
the list of features to the MSIs in the bundle.

I did not found a way to provide a feature list to the user with the
WixStandardBootstrapperApplication. So I am looking for a starting point
for a CustomBA. Is there any template that I can use as a starting point?

I also noticed the WiX Extended Bootstrapper Application
(http://wixextba.codeplex.com/). This looks like a way to circumvent to
write a CustomBA. But there are problems with adding the reference to
the Bundle project using Votive. It complains:

A reference to C:\tmp\WixBalExtensionExt.dll could not be added. Please
make sure that the file is accissible, and that it is a valid WiX reference.

I checked the last with a simple application:
static void Main(string[] args)
{
 Assembly a = Assembly.LoadFrom(@"C:\tmp\WixBalExtensionExt.dll");
}
That works without any problem.

I also tried to add the extension as additional parameter to candle like
  -ext C:\tmp\WixBalExtensionExt.dll
but this causes this error message:
  candle.exe(0,0): error CNDL0144:
  The extension 'C:\tmp\WixBalExtensionExt.dll' could not be loaded
  because of the following reason: Could not load file or assembly
  'file:///C:\tmp\WixBalExtensionExt.dll' or one of its dependencies.
  Operation is not supported. (Exception from HRESULT: 0x80131515)

So I fear I must have overlooked something very simple. But I failed to
find what it is.

Can you give a some hints to either use WiX Extended Bootstrapper
Application or to start with a CustomBA?

Best regards
Helge


More information about the wix-users mailing list