Bingo. I had no idea I could pass the path to a DLL as an extension to candle & 
light, like this:

candle.exe -ext ./lib/WixBalExtensionExt.dll -ext WixUIExtension -ext 
WixUtilExtension MyBundle.wxs

Somehow, I had thought only pre-packaged extensions could be referenced with 
-ext...although typing that out now, I realise how ridiculous that idea was. 
What good would extension functionality be if it couldn't reference external 
stuff? :-P

Thanks!
Alain

-----Original Message-----
From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] 
Sent: May 31, 2013 12:54
To: afor...@cmu.edu; General discussion for Windows Installer XML toolset.
Subject: RE: [WiX-users] Using WiX Extended Bootstrapper Application without 
Visual Studio

If you are doing this via the command line, I assume it's light complaining 
about the extension.  You need to use -ext WixBalExtension (subst whatever 
Neil's is here , probably need a full path) Also, in your wxs you want  to 
include references to any custom extensions (Ex: 
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";) on the Wix element.

Ref: http://wix.sourceforge.net/manual-wix3/extension_usage_introduction.htm

-----Original Message-----
From: Alain Forget [mailto:afor...@cmu.edu]
Sent: Friday, May 31, 2013 11:21 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Using WiX Extended Bootstrapper Application without Visual 
Studio

My bootstrapper UI has some weird artifacts I want to fix, and Neil 
Sleightholm's WiX Extended Bootstrapper Application (ExtBA, 
http://wixextba.codeplex.com/) seems to provide a more easily customisable UI 
than the native WiX bootstrapper application UI (from what I can gather...if 
there is documentation somewhere about customising the UI without having to 
completely roll my own, I'd love to see it).

To use the ExtBA, Neil says, "Add a reference to WixBalExtensionExt.dll in your 
Visual Studio project..." However, I am not using VS, and so it is unclear how 
I can reference the ExtBA. For example, the example Bundle5.wxs shows this: 

<BootstrapperApplicationRef Id="WixExtendedBootstrapperApplication.RtfLicense" 
/>

But WiX complains about the unresolved reference, and I can't figure out how to 
tell WiX that this refers to something in the WixBalExtensionExt.dll . So then 
I tried this instead:

<BootstrapperApplication Id="WixBalExtensionExt.dll" />

WiX then complains that there needs to be at least one Payload specified for a 
BootstrapperApplication, but I'm not sure what to specify as a Payload.

There also doesn't seem to be a way to point to a DLL from the command line. I 
tried the candle.exe -IWixBalExtensionExt.dll to no avail.

I've also tried this, which compiles, but when executing the bundled installer, 
does nothing:

<BootstrapperApplication Id="WixExtendedBootstrapperApplication">
        <Payload Name="WixBalExtensionExt.dll" Compressed="yes" 
SourceFile=".\lib\WixBalExtensionExt.dll"/>
</BootstrapperApplication>

I then added <BootstrapperApplicationRef 
Id="WixExtendedBootstrapperApplication.RtfLicense" /> , but it still can't find 
the reference.

Anyway, I've tried more stabbing in the dark, and not many results. Does anyone 
have experience with either using ExtBA outside of VS or referencing DLLs for 
WiX bootstrapper applications?

Alain

***************************************
Alain Forget, Ph.D.
Postdoctoral Researcher
CyLab, Carnegie Mellon University
afor...@cmu.edu
http://cups.cs.cmu.edu/~aforget/
***************************************




------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free 
troubleshooting tool designed for production Get down to code-level detail for 
bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to