安装VS2010的InstallShield受限版,以便它自动卸载我的应用程序的先前版本 [英] Setup InstallShield Limited Edition for VS2010 so it automatically uninstalls previous versions of my application

查看:138
本文介绍了安装VS2010的InstallShield受限版,以便它自动卸载我的应用程序的先前版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用WPF桌面应用程序,并且正在通过InstallShield Limited Edition生成的安装文件进行部署. 我希望安装程序在安装新版本之前提示用户并删除该应用程序的所有先前版本. 我怀疑这是通过InstallShield中的升级路径"选项完成的,但我无法弄清楚.

I am working on a WPF desktop application and I am deploying through an install file generated by InstallShield Limited Edition. I would like the installer to prompt the user and remove any previous versions of the application before installing the new version. I suspect this is done via the Upgrade Paths option in InstallShield, but I can't get it figured out.

答案是一个解释或指向一个不错的方法,教程或手册页的链接,可以回答我的问题.

Answer goes to an explanation or a link to a decent how-to, tutorial or manual page that answers my question.

目前,在运行安装程序时,我得到: 已经安装了该产品的另一个版本.该版本的安装无法继续.要配置或删除该产品的现有版本,请使用控制面板"上的添加/删除程序"."

At the moment, when running the installer, I get: "Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel."

谢谢

推荐答案

尝试一下:

  • 在解决方案资源管理器中转到常规信息"页面
  • 增加产品版本
  • 生成新的产品代码
  • 确保ALLUSERS属性的值与旧程序包中的值相同
  • 转到升级路径"页面并添加旧的MSI
  • 构建并安装新版本

运行此新软件包时,它应自动检测并删除旧版本.

When running this new package it should automatically detect and remove older versions.

您可以在此处阅读有关Windows Installer升级的信息: http://msdn.microsoft.com/en-us/library/aa370579(VS .85).aspx

You can read about Windows Installer upgrades here: http://msdn.microsoft.com/en-us/library/aa370579(VS.85).aspx

这篇关于安装VS2010的InstallShield受限版,以便它自动卸载我的应用程序的先前版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆