diff --git a/optional/install-heidisql.cmd b/optional/install-heidisql.cmd index 1687fe5..dc2bb8e 100644 --- a/optional/install-heidisql.cmd +++ b/optional/install-heidisql.cmd @@ -21,6 +21,7 @@ move /Y %STARTMENU%\"HeidiSQL\HeidiSQL.lnk" %STARTMENU% echo moving HeidiSQL desktop shortcut ... move /Y "%USERPROFILE%\Desktop\HeidiSQL.lnk" "%PUBLIC%\Desktop" +icacls "%PUBLIC%\Desktop\HeidiSQL.lnk" /grant Users:R 2>nul echo cleanup ... rd /S /Q %STARTMENU%\"HeidiSQL"