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
