I am just starting with WiX 3.0. As an exercise I converted one of our
simple VS 2008 setup projects to WiX 3.0 and have two questions so far:

1. How do I make the new installer uninstall the previous version of the
product? Is it just a matter of setting UpgradeCode?
2. How can I use Product element's Version attribute in the script?
Something like this:

<Product Id="..."
         Name="..."
         Language="1033"
         Version="1.0.0.0">
...
  <RegistryKey Key="Version" />
</Product>

I guess I can define a property, but is there a better way?

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to