Uninstall out-of-browser silverlight application programmatically

前端 未结 5 1632
别跟我提以往
别跟我提以往 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:40

    The solution you mentioned is still the only way I know to do it. It's a nice touch put a Application.Current.MainWindow.Close(); after it though as the application will still be running after you do the uninstall.

    Marc

提交回复
热议问题