title: INNO Setup: How to get the primary monitor's resolution?
body: <p>I'm trying to script an installer with INNO and I am stuck at a point where I need to get the screen resolution of the machine in which the setup is running and use that value to create a shortcut in the desktop with that resolution as one of the arguments. I know how to create a shortcut, however I do not know how to extract the screen resolution and how to pass that information (probably stored in a custom variable) to use it in the desktop shortcut.</p>
  
  <p>Thanks for your time :)</p>
  
  <p><strong>EDIT:</strong> I cannot change the application because I'm not authorized to do that. So please do not suggest to do that.</p>