How do I create a shortcut to CMD.EXE that asks for elevation using INNO Setup?
- by Maltrap
Hi,
using INNO Setup I currently have the following entry under the [ICONS] section:
Name: "{group}\My App\My App - Command Prompt"; Filename: "cmd.exe"; WorkingDir: "{app}"
This shortcut launches a command prompt straight into my application's folder. Unfortunately it isn't launched as elevated which means the commands the user runs from there doesn't have appropriate rights.
Using INNO Setup, how can I create a shortcut to CMD.exe (in a specific folder) that requires elevation?
Doing this for other applications can be done via a manifest file. My question is, how do I use it using INNO, and if I can't, what are my alternatives?