You can stream the file from the Binary Table to the absolute path of your 
choice (that you have permissions to), and then read it at your leasure, but if 
the file is available at build time, it will be a lot cheaper and more reliable 
to read it then.

Depending on the type of file, you may even be able to use WiX binding 
variables to get what you want at link time.

Never do something at run time you can do at compile or link time.

It will save you  a lot of pain in the end.
--
John Merryweather Cooper
Build & Install Engineer -- ESA
Jack Henry & Associates, Inc.(r)
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com




-----Original Message-----
From: dileep s [mailto:dileep.sanamp...@gmail.com] 
Sent: Friday, August 30, 2013 10:07 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] [Wix]: Read a binary file data from MSI file using Wix 
custom action

Hi All,

How to read a binary file data from MSI file using Wix custom action?

I have version information in Binary File.

Could anyone help me on this..

Regards,
Dileep
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies and 
advance your career. Get an incredible 1,500+ hours of step-by-step tutorial 
videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to