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

Reply via email to