Configuring InstallShield LE to remove previous versions built using Visual Studio Setup Projects

前端 未结 4 418
Happy的楠姐
Happy的楠姐 2020-12-03 04:07

Using Visual Studio 2010, I would like to switch over to using InstallShield LE instead of the Visual Studio Setup Project.

In the Setup Project, an option Rem

4条回答
  •  旧巷少年郎
    2020-12-03 04:21

    If I can throw one more answer in the hat, I was able to make an upgrade path that does not require setting/updating a specific Upgrade Code, Min or Max Version based on the generic ISPreventDowngrade upgrade path. According to the cautionary note in the Max Version description, You must specify a value for at least one of the version settings: Min Version, Max Version, or both. So I set the Max version to a generic placeholder. This done, I am not required to set a Max Version. So my configuration is as follows:

    • Upgrade Code: {00000000-0000-0000-0000-000000000000} (generic placeholder that will be replaced with current installer's upgrade code)
    • Min Version: blank
    • Include Min Version: No
    • Max Version: ***ALL_VERSIONS*** (version placeholder)
    • Include Max Version: Yes

    All other fields I left unchanged. See http://helpnet.flexerasoftware.com/installshield23helplib/helplibrary/PreventingDowngrades.htm for more information, but beware the typos. Both the placeholders above are mistyped; I obtained them from the data used in the ISPreventDowngrade upgrade path.

提交回复
热议问题