Hello,
Please keep in mind that in order to run an application on startup, then you should proceed like this:
- Go to "Registry" page and under the HKEY_LOCAL_MACHINE\SOFTWARE key create the following keys Microsoft\Windows\CurrentVersion\Run.
- In the "Run" key create a new registry value like this:
- Name: YourApp
Date:<path_to_YourApp> (e.g. [#myapp.exe])
- Build and run the project.
HOW do I build this install so that the application will not display the UAC?
I'm afraid this cannot be controled through the installation package. If your application has embedded a manifest file which specify that the current application requires elevation or if your application try to write in a computer location that requires elevation (e.g. HKLM registry hive, Program Files folder), then the UAC prompt will always appear.
Also, you can take a look on
"Disable UAC Prompt for an Application" article which could be useful for you.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging