使用InstallShield部署C#程序 [英] Deploying C# Programs with InstallShield

查看:206
本文介绍了使用InstallShield部署C#程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我正在使用InstallShield部署C#项目.我尚不清楚如何部署允许您在现有升级之上安装的升级.我所有的更新都必须要求最终用户在安装新版本之前先卸载以前的版本.

到目前为止,我在AssemblyInfo.cs中找到的是AssemblyVersion和AssemblyFileVersion.那些需要每次增加吗?如果是这样,这些数字有什么要求?另外,在InstallShield中,Project Assistant的应用程序信息"中的应用程序版本"是否也需要匹配这些数字?

Hi everyone!

I am deploying C# projects using InstallShield. I''m unclear as to how to deploy upgrades that allow you to install over the top of an existing upgrade. All of my updates have had to require the end user to uninstall the previous version before installing the new one.

What I''ve found so far in AssemblyInfo.cs is AssemblyVersion and AssemblyFileVersion. Do those need to be incremented each time? If so, what are the requirements of those numbers? Also, in InstallShield does the Application Version in the Application Information of the Project Assistant need to match those numbers, too?

推荐答案

我自己找到了它.更改产品代码/升级代码可以解决问题.
I found it myself. Changing the Product Code/Upgrade Code does the trick.


这篇关于使用InstallShield部署C#程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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