Remove repair option screen from MSI installer

后端 未结 6 828
借酒劲吻你
借酒劲吻你 2021-01-01 00:31

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
6条回答
  •  不思量自难忘°
    2021-01-01 00:55

    The answer accepted leaves a few things out for someone without a lot of install experience.

    In order to do this you have to edit the .MSI after it's created by the .NET install build. The easy Microsoft supported way to do this is Orca. You can install Orca from the .NET Framework SDK. If you think you already have the SDK, but do not have Orca in your start Menu, then search your machine for "Orca.exe" or "Orca.msi".

    Once Orca is installed, just run it. Open your MSI file using the Orca UI. On the left you will see a list of "Tables". Choose the table Property. On the righthand pane, right click and add. Add a node named ARPNOREPAIR. Make sure you set the value to the empty string "". Also add a node for ARPNOMODIFY if you do not want the change option to show up in windows for your program.

提交回复
热议问题