windows-shortcut

Inno Setup - How to change the icon of the shortcut of uninstaller without separate icon file?

这一生的挚爱 提交于 2021-02-07 10:30:13
问题 Is it possible to change the icon of the uninstaller shortcut in the Start menu without storing a separate icon file (to the app folder)? I see this: Using Resource Hacker for changing the icon after the build, but I cannot implement it. My code: [Icons] Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe} 回答1: An icon of a Windows shell shortcut can be set by an external icon file (what you do not want) or by the file the shortcut points to. So you have to modify the

Inno Setup - How to change the icon of the shortcut of uninstaller without separate icon file?

℡╲_俬逩灬. 提交于 2021-02-07 10:29:59
问题 Is it possible to change the icon of the uninstaller shortcut in the Start menu without storing a separate icon file (to the app folder)? I see this: Using Resource Hacker for changing the icon after the build, but I cannot implement it. My code: [Icons] Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe} 回答1: An icon of a Windows shell shortcut can be set by an external icon file (what you do not want) or by the file the shortcut points to. So you have to modify the

Inno Setup Create individual shortcuts on all desktops of all users

匆匆过客 提交于 2019-12-18 06:14:16
问题 I'm creating a shortcut on users Desktop with Inno Setup: Name: "{commondesktop}\Setup"; Filename: "{app}\Setup.exe"; WorkingDir: "{pf}\Program"; IconFilename: "{app}\Setup.ico" But users, with no admin rights, cannot delete this Shortcut, how to grant permissions to regular users, to delete this icon? Icon should be created on every user's desktop, but user should have permission to delete it. 回答1: The {commondesktop} shortcut is shared on a common desktop . So there's only one copy of the

Inno Setup Create individual shortcuts on all desktops of all users

孤街醉人 提交于 2019-11-29 11:22:30
I'm creating a shortcut on users Desktop with Inno Setup: Name: "{commondesktop}\Setup"; Filename: "{app}\Setup.exe"; WorkingDir: "{pf}\Program"; IconFilename: "{app}\Setup.ico" But users, with no admin rights, cannot delete this Shortcut, how to grant permissions to regular users, to delete this icon? Icon should be created on every user's desktop, but user should have permission to delete it. The {commondesktop} shortcut is shared on a common desktop . So there's only one copy of the shortcut. If you allow the users to delete, when one user deletes the icon, it's deleted for every other user

Inno Setup desktop shortcut (link) which has “Run as administrator” advanced property set

狂风中的少年 提交于 2019-11-29 08:56:20
I am struggling to get Inno setup (5.5.9u) to created a desktop shortcut that has an icon and has the advanced property of "Run as administrator" set. Issue This question, is a little different than: How to set 'Run as administrator' on a file using Inno Setup Since what I am trying to do is not run a program at setup time with admin rights, (setup is already running at Admin), but rather leave a link on the desktop that has has the advanced property of "Run as Administrator" . Code Sample [Icons] Name: "{group}\EGPL Watson Uninstall"; Filename: "{uninstallexe}"; WorkingDir: "{app}" Name: "

Inno Setup desktop shortcut (link) which has “Run as administrator” advanced property set

谁都会走 提交于 2019-11-28 02:16:15
问题 I am struggling to get Inno setup (5.5.9u) to created a desktop shortcut that has an icon and has the advanced property of "Run as administrator" set. Issue This question, is a little different than: How to set 'Run as administrator' on a file using Inno Setup Since what I am trying to do is not run a program at setup time with admin rights, (setup is already running at Admin), but rather leave a link on the desktop that has has the advanced property of "Run as Administrator" . Code Sample