View Single Post
Old 23rd July 2019, 10:06   #9
bovirus
Junior Member
 
Join Date: Jul 2019
Posts: 8
@Anders

Thanks a lot for your professional explanation

Can I use also a syntax like

LangString LnkName ${LANG_ENGLISH} "MyApp"
LangString LnkName ${LANG_SWEDISH} "BorkApp"

Section
CreateShortcut "$SMPrograms\$(LnkName).lnk" "$InstDir\MyApp.exe"
SectionEnd

Section Uninstall
Delete "$SMPrograms\$(LnkName).lnk"
SectionEnd

Of course you version is more complete because delete all links in any languages.

In my example uninstall only a link in the same single language.
bovirus is offline   Reply With Quote