Thanks Bob, you've given me some more places to look. Could you please give
me  a quick rundown or reference to explain 'unreal tables' (theres nothing
in wixwiki)?

 

Best Regards,

 

Adam Langley

 

Secon NZ Ltd.
A1/400 Rosedale Road
Albany
North Shore 0632
New Zealand

Tel.  +64 (0)9 414 4071
Fax. +64 (0)9 414 4072

www.seconag.com

 

From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Sunday, 9 December 2007 9:57 a.m.
To: Adam Langley
Cc: [email protected]
Subject: Re: [WiX-devs] wix extension and embedded binary files: best
approach

 

Adam Langley wrote: 

I have written my wix extension which uploads SQL Server reports to a
reporting service via the SSRS Web Service. I am currently embedding the
reports into the MSI with the Binary tag, and then referencing the binaries
from my <ssrs:Report binary='binary1'> tag. What I would PREFER, is to have
my Report tag directly reference a file on disk, just like the <File> tag
does (ie, <ssrs:Report source='c:\report.rdl'/>).

What would the best way to implement this?


The approach most existing extensions take is to let you point to a row in
the Binary table. See how the certificate custom actions in scacert.cpp and
IIsExtension handle that.

That's the easiest. You can also have an attribute that lets the author
specify a file but loading it and persisting it in the .msi database is a
job for the binder, not the compiler. Where WiX itself does that, like in
the File element, it writes the path to a column in a custom unreal table
and the binder handles loading it. I don't know that there's any kind of
"free" built-in support for that.



-- 
sig://boB
http://joyofsetup.com/
-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to