[wix-users] My fist custom bootstrapper application

Helge Kruse Helge.Kruse at gmx.net
Sun Jul 2 10:26:53 PDT 2017


Am 02.07.2017 um 16:54 schrieb Bob Arnson:
> Unblock the file from Explorer. .NET won't load assemblies with the "downloaded from Internet" stream. 

Bob, thanks for that hint. The properties dialog indeed showed this
unblock option. I unblocked the file with the explorer (the option to
unblock isn't visible anymore).

... and candle unfortunately reports the same error as before:
'WixBalExtensionExt.dll' could not be loaded

I am using WiX 3.11.0.1701 instead of 3.10.2 now, but this update didn't
help.

Best regards
Helge

> 
> -----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/
> 
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
> 


-- 
PGP Fingerprint: EDCE F8C8 B727 6CC5 7006 05C1 BD3F EADC 8922 1F61



More information about the wix-users mailing list