Awesome. I've already started as well.
I'm selecting all groups and components for groups. I'm in the middle of getting resources for group.
Here's the xml structure.
When an item is selected, it would be nice to have the app check if there are any other components that depend on it still on the system and provide a warning. That's why I included the Dependent element.Code:<Groups> <Group guid="12345" name="group name"> <Component guid="12345" name="component name"> <Resource type="file" value="C:\windows\thefile.ext"> <Resource type="regKey" value="HKEYLocalMachine\Stuff"> <Dependent guid="54321"> <Dependent guid="11111"> </Component> ...more components </Group> <Group guid="54321" name="the next group"> ... more components </Group> </Groups>
I'm still looking into the resources. I'm trying to decipher the resultset from the "GetResourceProps" stored procedure.
Once I get that figured I'll get you a file without the dependants. Then I'll move on the research dependants.