Hi everyone,

We have a shared library for all our products we include during compilation.
Now I would like to stop and start IIS during installation because running
iis applications can get in the way of updates. This is very easily done
with the fragment below.

  <Fragment>
    <Component Id="CStartStop" Guid="{DDE4A64B-54B8-4679-A49A-4BCE95CFF793}"
Directory="FProduct">
      <CreateFolder/>
      <ServiceControl Id="W3SVC" Name="W3SVC" Start="both" Stop="both"/>
    </Component>
  </Fragment>

Now, if I reference this in several products, they all have the same Guid.
Will that cause the component to be reference counted? FProduct is different
for every product. It is important this starting and stopping is done every
time, not just for the first product.

Thanks, Thorsten


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to