VS2008 Setup Project: Uninstalling the previous MSI

前端 未结 6 1479
野趣味
野趣味 2021-02-05 16:42

I have a VS2008 setup project, which creates a setup.msi which installs a WinForms application (C#).

Every time I update the version number, the users first have to unin

6条回答
  •  孤独总比滥情好
    2021-02-05 16:47

    I am not 100% familiar with VS 2008 setup projects (I use Advanced Installer myself- HIGHLY recommend it BTW; they even have a freeware version!), but I have run into this before and it's not documented very clearly.

    There are 4 parts to the version number- as you are well aware I'm sure: Major.Minor.Build.Revision. The REVISION is NOT checked by windows installer. If all you're doing is incrementing the revision, it won't work. You have to increment at least the build of the ProductVersion value.

    Hope that helps!

提交回复
热议问题