I posted a thread last week that no one has replied to. I was using ExtractFiles on an MSI and it doesn't raise an error or extract any files.
http://n2.nabble.com/DTF-ExtractFiles-Problem-td3148972.html Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me --- On Mon, 6/29/09, Jason Ginchereau <jason...@microsoft.com> wrote: > From: Jason Ginchereau <jason...@microsoft.com> > Subject: Re: [WiX-users] ExtractFiles() Method Doesn't Work on Merge Modules > To: "wix-users@lists.sourceforge.net" <wix-users@lists.sourceforge.net> > Date: Monday, June 29, 2009, 6:02 PM > It's a bug (oversight) in the > implementation of ExtractFiles(). Can you create a bug > report on SourceForge? > > -----Original Message----- > From: jnewton [mailto:jonathan.new...@ni.com] > > Sent: Monday, June 29, 2009 2:46 PM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] ExtractFiles() Method Doesn't Work on > Merge Modules > > > It appears the ExtractFiles() methods don't work on merge > modules. The > methods work fine on an MSI but not merge modules. It > appears just by > browsing through the source of the > Microsoft.Deployment.WindowsInstaller.Package assembly that > we are trying to > count the number of rows in the Media table which doesn't > exist in merge > modules. I tried the latest build of WiX 3.0 and the > issue still appears > there. Maybe I'm doing something wrong. All I'm doing is > > using (InstallPackage pkg = new InstallPackage(msmFile, > DatabaseOpenMode.Transact)) > { > pkg.ExtractFiles(); > } > > With that code, you get a NullReferenceException object. > > Thoughts? > -- > View this message in context: > http://n2.nabble.com/ExtractFiles%28%29-Method-Doesn%27t-Work-on-Merge-Modules-tp3177440p3177440.html > Sent from the wix-users mailing list archive at > Nabble.com. > > > ------------------------------------------------------------------------------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users