Wix Toolset Upgrade


Please Share

Wix small

Wix Toolset Upgrade


I am mostly putting this hear from myself and possibly anyone else who tries to do this. Wix Toolset allows you to make windows installers. What I have been trying to do all day was to enable upgrade of my application.

If a user installs my application and then later i release a new version they should be able to install this new version without having to go to the control panel and remove the old version manually themselves. This turned out to be harder then I thought to figure out.

Code

The trick here was setting the product id equal to *. Then checking the versions to see if its an upgrade or not. If they try and downgrade well I am going to force them to go and remove the old version. Ideally they should not be downgrading after all my applications are awesome right!

Conclusion

Wix can be a pain but when you get it to work its wonderful.

Please Share


Linda Lawton

About Linda Lawton

My name is Linda Lawton I have more than 20 years experience working as an application developer and a database expert. I have also been working with Google APIs since 2012 and I have been contributing to the Google .Net client library since 2013. In 2013 I became a a Google Developer Experts for Google Analytics.

Leave a comment

Your email address will not be published. Required fields are marked *