Quantcast
Channel: wixsharp Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1354

New Post: Adding the possibility to migrate Features at upgrade

$
0
0
Sure.

But keep in mind that modifying XML the way you did is not a "dirty trick". It is a legitimate approach handling the situations when you need to access optional WiX attributes not covered by Wix#. And it does not have to be heavy :) Thus your example can be as expressed light as follows:
Compiler.WixSourceGenerated += 
            document => document.Root
                                .Select("Product/Upgrade/UpgradeVersion")
                                .AddAttributes("MigrateFeatures=yes");
Nevertheless I consider MigrateFeatures to be a useful one and will add it to the next release.

Txs for feedback.

Viewing all articles
Browse latest Browse all 1354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>