://msiext.codeplex.com. We welcome
contributors.
dB. @ dblock.org
Moscow|Geneva|Seattle|New York
-Original Message-
From: Nick Ramirez [mailto:nickra...@hotmail.com]
Sent: Thursday, July 08, 2010 5:45 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Compiler extension - how
Message-
From: Nick Ramirez [mailto:nickra...@hotmail.com]
Sent: Thursday, July 08, 2010 5:45 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Compiler extension - how to include a custom
action?
Oookay. So, now it's one of those situations where it didn't work and
magically
Thanks Rob. I'd love to contribute. Where do you need more eyes?
As for the compiler extension, I'm back to where I was. I haven't been able
to get Candle to recognize the embedded wixlib in my compiler extension.
Experimenting with several ideas, I've added the Link element to my build
script,
I've got an update. I've gotten my wixlib to show up in my MSI! The trick,
for me, was to add a Property to the Fragment in the wixlib I was embedding
and then use a PropertyRef to pull it in in my installer project. Pulling
that in pulled in all the other stuff (including custom actions) from
on the Core property of your CompilerExtension's base object. Most of
us use the name of our CustomAction.
-Original Message-
From: Nick Ramirez [mailto:nickra...@hotmail.com]
Sent: Monday, July 12, 2010 2:47 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Compiler extension
to
appropriate things in the embedded library's Fragments.
-Original Message-
From: Nick Ramirez [mailto:nickra...@hotmail.com]
Sent: Monday, July 12, 2010 3:21 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Compiler extension - how to include a custom
action?
I've got
Ah, fantastic. That sounds like a much more elegant solution that using a
PropertyRef. Thanks Blair. So, it looks like this method is referencing a
table and row that would be created with the wixlib. Like this from the Util
extension.
core.CreateWixSimpleReferenceRow(sourceLineNumbers,
On 7/8/2010 5:00 PM, Nick Ramirez wrote:
At the risk of sounding completely clueless, how does one debug an extension
project? It seems that the GetLibrary function's parameters are populated by
Candle. Do I debug Candle somehow?
Sure. Set a breakpoint in your extension's methods and run
Hello all,
I've gotten pretty far (I think) in creating a compiler extension. So far,
my extension is a .dll that can be included in my WiX MSI project. After
including the extension, I can see my new element in Visual Studio and can
add attributes to it. When I use it, a new custom table is
Oops. Sorry. I posted the wrong part of the code. Here's the part that I use
to register the .wixlib:
public override Library GetLibrary(TableDefinitionCollection
tableDefinitions)
{
if (this.library == null)
{
this.library = LoadLibraryHelper(
] Compiler extension - how to include a custom
action?
Oops. Sorry. I posted the wrong part of the code. Here's the part that I
use
to register the .wixlib:
public override Library GetLibrary(TableDefinitionCollection
tableDefinitions)
{
if (this.library == null)
{
this.library
extension - how to include a custom
action?
Oops. Sorry. I posted the wrong part of the code. Here's the part that I use
to register the .wixlib:
public override Library GetLibrary(TableDefinitionCollection
tableDefinitions)
{
if (this.library == null)
{
this.library
Thanks Blair and Neil for the help. I looked at the extension you gave a link
to, Neil, but I'm not able to see anything that they have that I don't. I'm
sure there's a piece to the puzzle I'm missing.
At the risk of sounding completely clueless, how does one debug an extension
project? It seems
in the root of
your project.
Hope this helps.
Neil
-Original Message-
From: Nick Ramirez [mailto:nickra...@hotmail.com]
Sent: 08 July 2010 18:13
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Compiler extension - how to include a custom
action?
Oops. Sorry. I posted the wrong
Oookay. So, now it's one of those situations where it didn't work and
magically...it does! What did I do? I messed around with flags for lit.exe,
removed them, changed things back to what they were orginally...rebuilt
everything and it worked. So, same code, different result. I'm not sure. I
15 matches
Mail list logo