Microsoft安装程序项目不会在Windows Server 2016上安装时更新app.config文件 [英] Microsoft installer project does not update app.config files on install on Windows server 2016

查看:67
本文介绍了Microsoft安装程序项目不会在Windows Server 2016上安装时更新app.config文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个项目,我有一个Microsoft安装项目,生成MSI文件。

I have a project where I have a Microsoft Install Project that makes MSI files.

当我在本地PC上安装此MSI时,它会覆盖我的app.config文件很好。

When I install this MSI on my local PC it overwrites my app.config file just fine.

但是当我在Windows Server 2016上执行相同操作时,即使安装中的版本比现有版本更新,现有的app.config也不会被覆盖。

But when I do the same on a Windows Server 2016 the existing app.config does not get overwritten, even if version in the install is newer than the existing one.

有谁知道如何解决这个问题,或者有人知道可能出现什么问题吗?

Does anyone know how to fix this, or does anyone know what could be wrong?

推荐答案

你好NikosaxJCT,

Hi NikosaxJCT,

欢迎来到MSDN论坛。

Welcome to MSDN forum.

当文件在后台运行时,通常会出现问题。请尝试关闭正在使用它的应用程序,然后尝试再次覆盖它。

The issues typically occurs when the file is running in the background. Please try to close the application which is using it and then try to overwrite it again.

提示:请检查应用程序是否在任务管理器窗口中运行

Tip: please check if the application is running in the task manager window

如果此问题仍然存在,请在此处分享警告窗口的屏幕截图或错误信息,以便我可以根据此问题进行进一步分析。

If this issue persists, please share a screenshot for the warning window or the error information here, so that I can do further analysis based on this issue.

最好的问候,

Dylan


这篇关于Microsoft安装程序项目不会在Windows Server 2016上安装时更新app.config文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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