I've tried using Upgrade/[EMAIL PROTECTED]"MyFeature"] but it also does not 
remove the feature files;
I've even tried call msiexec /f myapp.msi REMOVE=MyFeature ... nothing helps!!!
Documentation says RemoveExistingProducts is NOT run in maintenance 
installation;
And maintenance installation is when you add/remove features in the current 
installation;

So the questions are even simpler:
 - how to command MSIEXEC to remove features (and files from the product 
directory);
 - how to use WiX to build msi package that automatically removes features in 
minor upgrades;


Regards, 
  George S.


Hi,

Can anybody tell me what is the preferred way to remove files during minor
upgrades?

For example:

I have installed MyApp.msi (contains MyApp v1.0) wich has MyData component;
I try to update (msiexec /fvdo myapp.msi) with new MyApp.msi (contains MyApp
v1.1) which has MyData component removed;

The problem is that during the second (update) installation the MyData
component file is not removed but is installer updates its cache that this
file is not part of the installation and does not remove the file during the
uninstallation of the product;

So far I have succeeded with replacing the File element with RemoveFile element 
into the component element but it seems ugly to have empty component just for 
the sake of removing files;
Of course custom actions are always the final resort but I don't want to go 
there if I don't need to;

So, what is the recommended way of removing components in minor upgrades
(service packs)?

Thanks,
George S. 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to