Uninstall out-of-browser silverlight application programmatically

前端 未结 5 1648
别跟我提以往
别跟我提以往 2021-02-09 21:04

How to uninstall out-of-browser silverlight 4 application programmatically instead of using the contextmenu (e.g. if I want to replace the context menu)?

Edit

5条回答
  •  盖世英雄少女心
    2021-02-09 21:19

    Pretty certain this isn't possible without resorting to COM interop as Mike says, also I'd question if it's a good idea since:

    1) Removing the uninstall option will no doubt annoy many users and is bad practice. 2) You say you are looking to implement a new context menu? Unless this is a LOB application I'd be wary of this as many users won't be used to accessing context menus in a web app which to me is poor HCI. If it is a LOB application then Add/remove programs would be an OK solution?

提交回复
热议问题