我怎样才能使微星覆盖旧的文件? [英] How can I make the msi overwrite old files?

查看:155
本文介绍了我怎样才能使微星覆盖旧的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个标准的Visual Studio(2008)应用程序的安装项目,生成包含几个文件的MSI。然而,我注意到: 1)当微星安装和一些文件已经存在,它只是静静地忽略这些文件。这是因为显而易见的原因,我的的想要的行为。 2)当我卸载了微星,它不会删除我的主要DLL文件。

I have a standard Visual Studio (2008) application setup project, which generates an msi containing a few files. I noticed however that: 1) When the msi installs and some of the files already exist, it simply silently ignores these files. This is the behaviour that I don't want, because of obvious reasons. 2) When I uninstall the msi, it doesn't delete my main dll file.

我该如何解决这两个东西?他们一起使之无法自动升级我的软件。

How can I fix these two things? Together they make it impossible to automatically upgrade my software.

推荐答案

我有完全相同的问题,最终放弃了。得到它的工作是一个涉及大量的GUID的一个可怕的,复杂的过程。你会觉得​​很肮脏后(假设你有没有得到它的工作)。

I had the exact same problem and eventually gave up. Getting it to work is a horrible, complicated process involving lots of GUIDs. You'll feel very dirty afterward (assuming you ever get it to work).

我的建议是切换到Inno Setup的是更适合的人喜欢你和我。

My advice is to switch to Inno Setup which is much more suited to people like you and me.

发表的.msi的人谁做企业的推出,而不是装。

Leave .msi to people who do "corporate rollouts" instead of "installs".

这篇关于我怎样才能使微星覆盖旧的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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