Error creating shortcut
Hi All
NSIS 2.10 Script:
SetCompressor lzma
OutFile "test1.exe"
LoadLanguageFile "${NSISDIR}\Contrib\Language files\English.nlf"
LangString MAINSHORTCUT ${LANG_ENGLISH} "Management console"
!ifndef SILENT
!define ADDTYPE " Personal"
!else
!define ADDTYPE "Client"
!endif
!define PRODUCTFAMILYNAME "Safe'n'Sec"
!define APPNAME "${PRODUCTFAMILYNAME}${ADDTYPE}"
!define APPPUBLISHER "StarForce"
!define APPVERSION "2.0"
Name "${APPNAME} ${APPVERSION}"
InstallDir "$PROGRAMFILES\${APPPUBLISHER}\${PRODUCTFAMILYNAME}"
Section
SetShellVarContext all
CreateShortCut $DESKTOP\${APPNAME}.lnk $INSTDIR\snsmcon.exe
SectionEnd
CreateShortCut couldn't create link if I try create link with name "Safe'n'Sec Personal". When I delete _spaces_ "Safe'n'SecPersonal" - everything Ok.
Any idea?