I want my installer to close all IExplorer instances and then perform an install. To close IE I need to add a registry key so all tabs will be closed without a dialog and then I use <util:CloseApplication... />
to close the IE instances.
Both CloseApplication
and the Component
that registers the key works well. My problem is how to schedule them so the CloseApplication
will be executed only after the registry key is added.
The only place I could put the <util:CloseApplication... />
without errors was under <Product...>
. The order of Component executions is determined by:
<Feature..><ComponentRef../></Feature..>
I can't figure out how I can control the execution order of the <util:CloseApplication... />
element and delay it until the registry key is set.