0

I want to publish my WPF application with the "requestedExecutionLevel" requireAdministrator because the application is doing registry entries.

As i saw in questions like this one: "ClickOnce does not support the request execution level 'requireAdministrator.'", it isn't supported if you use the click-once publish method.

My Question now is: How can I still publish my project, if I use 'requireAdministrator' as request execution level? Is there any alternative to click-once?

eDonkey
  • 606
  • 2
  • 7
  • 25
  • 1
    You can try to use WiX and create an MSI installer for your application – Pavel Anikhouski Mar 27 '19 at 08:43
  • 1
    Top (unaccepted) [answer](https://stackoverflow.com/a/46080075/9363973) on the question you linked seems to fix your issue – MindSwipe Mar 27 '19 at 08:43
  • Sadly it didnt solve my issue. I now created an _inno_ _setup_ _script_ to publish it with the 'requireAdministrator' execution level. I can post it if requested. – eDonkey Apr 10 '19 at 08:36

0 Answers0