powershell - From Msi , how to get the list of files packed in each feature? -
We have used wix to create MSI. Each MSI will have 1 or 2 or 3 features such as the Ensure feature, the webserver feature and the DB server.
Now I was asked to get the list of config files submitted in each feature.
The web associated with each feature via the wxs file. The list of config files is hard to find.
Is it possible that the files of the feature related to a particular search method are listed?
Is there any way easier (queries or some other automated scripts like Parscheld) P>
Wix comes with a net SDK referred to as DTF ("Deployment Tool Foundation"). It wraps windows As shown in the document, you can use this SDK to write code which queries the MSI database with SQL, and you will be interested in the tables. If you have not already detected the interns of MSI, then you can open it to feel for it. msi.dll between other things. You can get these .net
Microsoft.Department. The assembly can be found in the SDK subdirectory of the * .dll WIND Toolset installation directory. The documentation is in Doc subdirectory in
dtf.chm and
dtfapi.chm .
Comments
Post a Comment