This is very promising, here’s some
feedback which may or may not be correct (since I’ve never had to create
a component catalog): -
Why
would the MutatorExtension come last? Wouldn’t you want it to set the
guids and identifiers of Component and File elements prior to the UtilMutator (which
will also set those values if they aren’t present)? Then the UtilMutator
and other mutators can do what they do best for any unknown components/files. -
Nothing
should ever be removed from the database. New components and files should only
be added as they are shipped. The database needs to remember anything which
you’ve shipped to ensure there are no collisions. -
Components
and files should be added to the database from the msi files just prior to
being shipped. This ensures that the guids and identifiers which you care
about in terms of the component rules are the ones you are tracking. -
Just to
be safe, there should also be a process which runs on msi files about to be
shipped to verify that all the guids and identifiers match the expectations
from the database (in case someone manually authors in a new component). I’m planning for a new class in wix
which can take an msi file and turn it into an output – this would probably
help for the 3rd and 4th items above because then you can
just work with the Output object instead of making queries directly against the
database (which is slower). You may seek additional advice from Rob on
this one since I believe he has worked on this type of a problem before. Derek From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of James Carter Okay, I follow you. |
- [WiX-devs] Extending Heat James Carter
- [WiX-devs] RE: [WiX-users] Extending Heat Derek Cicerone
- RE: [WiX-devs] RE: [WiX-users] Extending Heat Rob Mensching
- Re: [WiX-devs] RE: [WiX-users] Extending Heat James Carter
- [WiX-devs] Re: [WiX-users] Extending Heat James Carter
- RE: [WiX-devs] Re: [WiX-users] Extending Heat Derek Cicerone
- RE: [WiX-devs] Re: [WiX-users] Extending ... Mark Hammond
- RE: [WiX-devs] Re: [WiX-users] Exten... Derek Cicerone
- Re: [WiX-devs] Re: [WiX-users] E... James Carter
- RE: [WiX-devs] Re: [WiX-user... Derek Cicerone
- RES: [WiX-devs] Re: [WiX-use... Sidnei da Silva
- RE: [WiX-devs] Re: [WiX-user... Rob Mensching
- Re: [WiX-devs] Re: [WiX-user... Sidnei da Silva
- RE: [WiX-devs] Re: [WiX-user... Derek Cicerone