[wix-users] My fist custom bootstrapper application

Bob Arnson bob at firegiant.com
Sun Jul 2 07:54:15 PDT 2017


Unblock the file from Explorer. .NET won't load assemblies with the "downloaded from Internet" stream. 

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Helge Kruse
Sent: Saturday, 1 July, 2017 09:50
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] My fist custom bootstrapper application

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

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list