Re: [WiX-users] Extract Binary file from MSI to Temp folder using C#

2013-09-03 Thread Christopher Painter
your needs? From: "ak m" Sent: Tuesday, September 03, 2013 8:10 AM To: chr...@iswix.com, "General discussion for Windows Installer XML toolset." Subject: Re: [WiX-users] Extract Binary file from MSI to Temp folder using C# custom

Re: [WiX-users] Extract Binary file from MSI to Temp folder using C#

2013-09-03 Thread Gabriel Ivanes
You may want a complete example : ... Dim TempFolder : TempFolder = Session.Property("TempFolder") Dim SFolder : SFolder = Session.Property("SystemFolder") '** Début du main ** ExtractBina

Re: [WiX-users] Extract Binary file from MSI to Temp folder using C#

2013-09-03 Thread ak m
custom action during install... On Tue, Sep 3, 2013 at 5:46 PM, Christopher Painter wrote: > Is this for an application extracting a resource or for a custom action > during an install? > > > From: "ak m" > Sent: Monday, September 02, 2013 7:21 AM > To:

Re: [WiX-users] Extract Binary file from MSI to Temp folder using C#

2013-09-03 Thread Christopher Painter
Is this for an application extracting a resource or for a custom action during an install? From: "ak m" Sent: Monday, September 02, 2013 7:21 AM To: "General discussion for Windows Installer XML toolset." Subject: [WiX-users] Extract Binary file from M

Re: [WiX-users] Extract Binary file from MSI to Temp folder using C#

2013-09-03 Thread ak m
Thank you... On Mon, Sep 2, 2013 at 6:30 PM, Gabriel Ivanes wrote: > Hello, > > > > An example function in vbscript : > > > > Function ExtractBinary(BinaryName, OutputFile) > > Const msiReadStreamAnsi = 2 > > Dim oDatabase > > Set oDatabase = Session.Database > > Dim View > >

Re: [WiX-users] Extract Binary file from MSI to Temp folder using C#

2013-09-02 Thread Gabriel Ivanes
Hello, An example function in vbscript : Function ExtractBinary(BinaryName, OutputFile) Const msiReadStreamAnsi = 2 Dim oDatabase Set oDatabase = Session.Database Dim View Set View = oDatabase.OpenView("SELECT * FROM Binary WHERE Name = '" & BinaryName & "'") Vie