Reputation: 165
Is it possible to programmatically set the "Run As Administrator" flag on exe file or shortcut file?
Does Installshield support this functionality if i'll do it as part of the installation process?
I'm trying to find the relevant command line / API / installshield command for this.
Upvotes: 4
Views: 3367
Reputation: 55571
The upstream build process should be manifesting your EXE with the require administrator attribute. This doesn't have anything to do with InstallShield or the shortcut. Done correctly when the user clicks the shortcut, Windows will see the manifest and UAC will prompt for elevation.
Upvotes: 6