Sure, take a look at the concept of a "change" operation in Add/Remove Programs 
and the properties  ADDLOCAL and REMOVE.   An uninstall is REMOVE=ALL but it 
can also be REMOVE=SOMEFEATURE.

Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me


--- On Mon, 8/24/09, Greg Silin <greg.si...@microsoft.com> wrote:

> From: Greg Silin <greg.si...@microsoft.com>
> Subject: [WiX-users] Partial uninstall
> To: "wix-users@lists.sourceforge.net" <wix-users@lists.sourceforge.net>
> Date: Monday, August 24, 2009, 6:08 PM
> Hi,
> 
> We have several Feature elements (flat feature tree) that
> comprise one Product element, which build into one
> MSI.  See the rough idea below
> 
> If the product is installed, is it possible to uninstall
> some, but not all features?  Any pointers on how/if
> this can be achieved would be great.
> 
> If the product is partially installed (some but not all
> features) is it possible to "add" the remaining features
> without reinstalling the features that are already
> installed?  Same here, pointers or suggestions would be
> appreciated.
> 
> Thank you!
> -greg
> 
> Very rough example of wix source (modified from alexshev's
> MSDN blog :)):
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi";>
>   <Product
> Id="{73116928-CD06-4E5C-A78F-7854AADE0E4B}"
>            Name="My
> Product"
>        
>    Language="1033"
>        
>    Version="1.0.0.0"
>        
>    Manufacturer="Your Company">
>     <Package
> Id="{A38753E1-46CA-49E5-B5A5-7B4740FFCC8A}"
>          
>    Description="Description of your product"
>          
>    Comments="This will appear in the file
> summary stream."
>          
>    InstallerVersion="200"
>          
>    Compressed="yes" />
> 
>     <Media Id="1" Cabinet="Product.cab"
> EmbedCab="yes" />
> 
>     <Feature Id="Feature1" Title="My Feature
> 1" Level="1">
>     </Feature>
> 
>     <Feature Id="Feature2" Title=" My Feature
> 2" Level="1">
>     </Feature>
> 
>     <Feature Id="Feature3" Title=" My Feature
> 3" Level="1">
>     </Feature>
> ... <more features here>...
> 
>     <UIRef Id="WixUI_Mondo" />
> 
>   </Product>
> </Wix>
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal
> Reports 2008 30-Day 
> trial. Simplify your report design, integration and
> deployment - and focus on 
> what you do best, core application coding. Discover what's
> new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 


      

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to