从MSI安装程序中删除修复选项屏幕 [英] Remove repair option screen from MSI installer

查看:159
本文介绍了从MSI安装程序中删除修复选项屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为应用程序的P& D创建了一个标准的MSI安装程序,该安装程序使用以下组件:

I have created a standard MSI installer for P&D of my application which is using following components:

  • 作为Windows服务托管的WCF服务.
  • 与该服务通信的GUI应用程序.
  • Shell扩展Dll.

安装程序运行良好,没有任何问题.当用户尝试使用MSI安装程序通过现有应用程序再次安装应用程序时,会发生此问题.目前,它带有2个选项修复"和"消除".这两个选项均无效,并且损坏了已安装的应用程序.

Installer is working very good and without any issue. The issue occurs when user try to install application again over the existing application using MSI installer. Currently, it come up with screen with 2 options "Repair" & "Remove". Both of these options doesn't work and corrupts the intalled application.

我要跳过此屏幕,并显示类似MessageBox的内容,表明已安装应用程序.由于我不一定要向用户提供修复"选项. 而且至少我应该能够隐藏或以某种方式不提供修复"选项.

What I want is to skip this screen and Show something like a MessageBox saying Application is already installed. As it is not mandatory for me to provide Repair option to User. And at the minimum I should be able to hide or somehow not provide Repair option.

对我有什么帮助或建议吗?因此,到目前为止,我已经尝试了很多事情,例如使用ORCA添加NotRepair属性等.但是它们都不起作用.

Any help or suggestions for me? So, far I have tried so many things like using ORCA add NotRepair property etc. But none of them worked.

推荐答案

请参阅MSDN上的 Windows安装程序指南,以了解这两个属性:

Have a look at the Windows Installer Guide at MSDN for these two properties:

  • ARPNOMODIFY
  • ARPNOREPAIR

这篇关于从MSI安装程序中删除修复选项屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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