5

When I was trying to create a custom setup application in C# I needed the requireAdministrator privilege.

I need the requireAministrator privilege to prevend the "This program might not have installed correctly" message.

Normally this is done by adding the following line to your application manifest as described here.

But the problem was not solved.

Community
  • 1
  • 1
Gerben Limburg
  • 581
  • 5
  • 16

1 Answers1

6

After hours of searching I found this.

In short: Application Manifest may be ignored in Windows 7 x64 when building a x86 application.

When I changed my Platform target to x64 the Manifest was not longer ignored. And my problem was solved.

Gerben Limburg
  • 581
  • 5
  • 16