You will need to read from the binary table in an immediate custom action.
Then schedule a deferred custom action and pass the stream over. The
deferred custom action can write the file to disk but it can't read from the
MSI tables. The immediate custom action and read from the MSI tables but
can't write to disk.

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Tue, Feb 10, 2009 at 10:20 AM, <gree...@cox.net> wrote:

> One thing I can think of, make sure the custom action is run in immediate
> mode, not deferred.
>
>
> ajgreen
>  ---- "Romeo Salayo Jr." <dfox.mxyzp...@gmail.com> wrote:
> >
> > Hi,
> >
> > I'm trying to extract binaries at install time in able to use it during
> > installation only. I'm using C# DTF, the problem is I can't get
> > Record.GetStream() to work. It always write to a file with "[Binary
> data]"
> > and not the stream itself.
> >
> > Can anyone give an example on how to use GetStream() successfully? I just
> > need to extract binaries into a temporary file.
> >
> > We have VBS that works, but we are converting VBS CustomActions into C#
> DLL.
> >
> > Thank you!
> >
> > Best Regards,
> > Romeo
> > --
> > View this message in context:
> http://n2.nabble.com/Extract-Binaries-at-Install-Time-tp2301189p2301189.html
> > Sent from the wix-users mailing list archive at Nabble.com.
> >
> >
> >
> ------------------------------------------------------------------------------
> > Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> > software. With Adobe AIR, Ajax developers can use existing skills and
> code to
> > build responsive, highly engaging applications that combine the power of
> local
> > resources and data with the reach of the web. Download the Adobe AIR SDK
> and
> > Ajax docs to start building applications today-
> http://p.sf.net/sfu/adobe-com
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code
> to
> build responsive, highly engaging applications that combine the power of
> local
> resources and data with the reach of the web. Download the Adobe AIR SDK
> and
> Ajax docs to start building applications today-
> http://p.sf.net/sfu/adobe-com
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to