I'm working on the bootstrap application of a new installer for some of our products. So far, I've been relying on two things that I read about somewhere:
- Applications whose name contains "setup" or "install" will run elevated by default.
- Applications that run elevated will launch other applications in elevated mode.
Recent testing has found that one or both of these statements is false, because one of the applications that I'm launching is a third party installer that requires elevation, and it's failing because of the elevation requirement.
How do I set my application to require elevation? I know it has something to do with the manifest file. As I'm working in Visual Studio 2008, and the manifest file is generated, I'd like to know what to enter into the project's properties and where to make it require elevation.
See Question&Answers more detail:os