Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove repair option screen from MSI installer

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

  • A WCF Service hosted as Windows service.
  • A GUI application that communicates with that service.
  • A Shell extension Dll.

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.

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.

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.

like image 650
Sumeet Avatar asked May 04 '09 11:05

Sumeet


1 Answers

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

  • ARPNOMODIFY
  • ARPNOREPAIR
like image 96
CheGueVerra Avatar answered Oct 07 '22 15:10

CheGueVerra