VS2008 Setup Project: Uninstalling the previous MSI

前端 未结 6 1491
野趣味
野趣味 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 17:09

    The Installer service is making decisions based on the contents of the Upgrade Table, so that's where I would look. Does the table have an entry for your upgrade code, does the product version of the currently installed version fall within the range of versions specified for upgrades, do the attributes look ok (for instance, is the msidbUpgradeAttributesOnlyDetect attribute not set), and so on.

    MSDN describes it all here - http://msdn.microsoft.com/en-us/library/aa372379%28VS.85%29.aspx

提交回复
热议问题