0

I have created a visual studio 2015 installer project. It creates two files after building. One is Msi file and other is setup.exe.

When I click setup.exe it gives a UAC prompt. If I click yes on that the installer works fine. But If I click No in that the installer gives an error. I am attaching images of error for reference. I have blackened client name for privacy.

Files Images

Error Image

Can anyone Please help me in resolving this issue. Thanks in advance.

Fildor
  • 14,510
  • 4
  • 35
  • 67
adarsh
  • 31
  • 6
  • Check out [this post](https://stackoverflow.com/questions/55378972/how-to-install-files-even-though-user-clicks-no-in-uac-prompt-for-msi). – SᴇM Jun 11 '19 at 10:41
  • What does it say in that log file? If you don't elevate and your setup.exe needs elevation it exits ugly? Sort of expected behavior. – Stein Åsmul Jun 11 '19 at 18:22

0 Answers0