安装和部署问题 [英] Problem with Setup and Deployment

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

问题描述

Hello There

我创建了一个C#应用程序及其相应的安装项目。安装程序安装在客户端计算机上。

客户端需要对应用程序进行一些更改,以便我在代码中进行相应的更改。应用程序构建成功。现在客户端不想卸载以前的安装程序并安装新安装程序。我在bin文件夹中携带可执行文件并将其转储到客户端的目标文件夹中,但更改不会影响系统。



寻找解决方案。

需要建议

最好的问候

解决方案

创建设置时你必须执行以下步骤,



1.Set删除以前的安装为真

2.Set将新版本检测为True

3.您的C#程序版本必须增加每次部署

4.您应该将安装程序的版本更改为更高版本,它会要求您更改产品代码,选择是。

5.不要更改您的升级代码,让它相同。



如果您没有正确执行第3步,安装程序仍会安装并保留旧文件,即每个文件的文件版本如果你改变了你的内容,必须是新的。



http://aritrasaha.wordpress.com/2009/04/24/setup-and-deployment-project-uninstall-previous-version/ [ ^ ]

Hello There
I have created a C# application and its corresponding setup project. The setup was installed on a client machine.
The client want some changes in the application so as I did it accordingly into the code. The application build successfully. Now the client don't want to uninstall previous setup and install the new one. I carry executable file inside the bin folder and dump it into the client's destination folder but the changes doesn't affect the system.

Looking for a solution.
Need Suggestion
Best Regards

解决方案

you have to do following steps while creating setup,

1.Set Remove Previous Installation as True
2.Set Detect new version as True
3.Your C# program's version must increase with every deployment
4.You should change version of your installer to one higher version and it will ask you to change product code, select YES.
5.Do not change your upgrade code, let it be same.

If you do not do 3rd step correctly, installer will still install and keep the old file, your file version of every file must be new if you have changed your content.

http://aritrasaha.wordpress.com/2009/04/24/setup-and-deployment-project-uninstall-previous-version/[^]


这篇关于安装和部署问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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