trying to reuse a shortcut hot key
i found several threads about refreshing certain parts of shortcuts (like the icon or the directory itself), but none of them fix this problem with the hotkey not being refreshed after re-use
i have an old installer the assigned ALT|CONTROL|I to a certain file
i now want to use a different .lnk name to point to a different .exe but use ALT|CONTROL|I
the hotkey assignment isn't "refreshed" or reset without a reboot
this example demonstrates my problem, compile with one version , run it, then re-compile with the other and run it
also, note that if you reuse the same .lnk name, "common.lnk" but just change the file it is pointing at, the hot key works each time you change the target
it just gets lost if you assign the same hot key set to a new .lnk name
Name "test"thank you
OutFile "C:\EXE\test.exe"
SilentInstall silent
Section "test"
SetShellVarContext all
Delete "$SMPROGRAMS\TEST\*.*"
RMDir /r "$SMPROGRAMS\TEST"
Sleep 100
CreateDirectory "$SMPROGRAMS\TEST"
; CreateShortCut "$SMPROGRAMS\TEST\License.lnk" "${NSISDIR}\license.txt" "" "" "" SW_SHOWNORMAL ALT|CONTROL|A "NSIS License"
CreateShortCut "$SMPROGRAMS\TEST\Help.lnk" "${NSISDIR}\NSIS.chm" "" "" "" SW_SHOWNORMAL ALT|CONTROL|A "NSIS Help"
SectionEnd