Good ideas.

In our WiX app installation I already detect Excel-version like this:

<Property Id="EXCELVERS">
  <!-- value is Excel.Application.X where X is either 10, 11 or 12 for
2002, 2003 and 2007 respectively -->
  <RegistrySearch Id="ExcelRegistry" Type="raw" Root="HKCR"
Key="Excel.Application\CurVer" />
</Property>

...and then install the corresponding Excel-interop assemblies using
conditional hidden feature elements:

<Feature Id="ExcelIntegration2002" Level="0" Title="Excel integration"
Description="ExcelRTD2002 integration" Display="hidden">
  <ComponentRef Id="ExcelRTD2002" />
  <?if $(var.Configuration) = Release?>
  <ComponentRef Id="ExcelRTDShim2002"/>
  <?endif?>
  <Condition Level="1">EXCELVERS = "Excel.Application.10"</Condition>
</Feature>

...etc

So you are saying just re-launching our MSI in repair mode would pick up
the change and install on only that feature? In that case my question
about uninstall would be a non issue.

I'll look into repair mode more, we have not found a reason to
use/support that yet. Maybe now we do, thanks.

I love the internet ;)

/Mathias

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to